◆SkillCodingFree
GPTScript
Scripting language that lets LLMs interact with any system via natural language — run shell commands, call APIs, and chain tools.
Installs145k
Rating★ 4.6
Reviews48
GPTScript
GPTScript is a scripting framework that allows LLMs to seamlessly interact with your operating system, local tools, and remote APIs using a minimal natural-language-like syntax. Scripts are plain text files; the LLM decides which tools to call and in what order.
Key Features
- Natural-language scripts: write intent in plain English; GPTScript figures out the tool calls
- Built-in tools: file I/O, HTTP requests, code execution, and system shell — all available by default
- Context sharing: pass files, URLs, and previous outputs as context between script steps
- OpenAI + local models: works with any OpenAI-compatible API including local Ollama models
- Daemon & workspace mode: long-running assistants with persistent workspace for multi-turn interactions
- Composable: import and call other GPTScript files as sub-routines
Quick Start
# macOS / Linux
brew install gptscript-ai/tap/gptscript
# or
curl https://get.gptscript.ai/install.sh | sh
export OPENAI_API_KEY=your_key
# hello.gpt
cat > hello.gpt <<'EOF'
tools: sys.exec
List the 5 largest files in the current directory and explain what they might contain.
EOF
gptscript hello.gpt
npx ai-supply add gptscript-natural-language-automation
Curated mirror of the open-source GPTScript (Apache-2.0). Get it from the source.