Single-binary Go terminal for LLM chats, built-in tools, no system execution calls, ultra portable.
Terminal interface for streaming chat with OpenAI-compatible APIs. Written in Go. No exec. No deps. Just a single binary that works over SSH.
Get started → build, run, configure and hack in minutes.
Latest releases on dyne/promptline - direct links:
Linux macOS WindowsHave Go installed to build on your machine
make build
Or just download the latest release and run
./promptline
Batch mode:
echo "write hello world in hello.txt" | ./promptline -
config.json or environment variables.
{
"api_key": "sk-...",
"api_url": "https://api.openai.com/v1",
"model": "gpt-4o-mini",
"tools": {
"allow": ["read_file", "ls"],
"ask": ["write_file"]
},
"tool_limits": {
"max_file_size_bytes": 10485760,
"max_directory_depth": 8,
"max_directory_entries": 2000
},
"tool_rate_limits": {
"default_per_minute": 60,
"per_tool": {},
"cooldown_seconds": {}
},
"tool_timeouts": {
"default_seconds": 0,
"per_tool_seconds": {}
}
}
GNU AGPLv3+ — free as in freedom.
Promptline is 100% free and open source software running as a single binary, written in Go language. Our source-code is available on dyne/promptline.
🧙 May the source be always with you!
🧑🏫 for professional support contact: The Forkbomb Company