knot3bot
v0.1.4
Published
High-performance AI coding agent in Zig — single binary, zero runtime dependencies
Maintainers
Readme
knot3bot
High-performance AI coding agent in Zig. Single binary, zero runtime dependencies.
Quick Start
npm install -g knot3bot
knot3bot --helpOr run without installing:
npx knot3bot --helpRequirements
- Node.js >= 16
- An API key from a supported provider (OpenAI, Anthropic, Bailian, Kimi, etc.)
Setup
# Interactive configuration wizard
knot3bot --config
# Or set an API key directly
export OPENAI_API_KEY="sk-..."
knot3bot --provider openai --model gpt-4oCLI Commands
| Command | Description |
|---------|-------------|
| /help | Show all commands |
| /model [name] | Switch or show models |
| /config | Show current configuration |
| /tools | Show tool state |
| /skills | Show installed skills |
| /new | Start new conversation |
| /quit | Exit |
Server Mode
knot3bot --server --port 8080Then use any OpenAI-compatible client:
curl http://localhost:8080/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-..." \
-d '{"model":"gpt-4o","messages":[{"role":"user","content":"Hello"}]}'Supported Platforms
| Platform | Architecture | Status | |----------|-------------|--------| | macOS | x64, arm64 | ✓ | | Linux | x64, arm64 (musl) | ✓ |
