Documentation
Everything you need to install, configure, and use Clank.
Install Guide
Install Clank, set up local models, configure cloud providers, connect Telegram and Discord.
User Guide
Day-to-day usage — agents, sub-agents, background tasks, Telegram commands, configuration reference.
Changelog
Complete release history with every feature, fix, and improvement.
Security Policy
Security model, reporting vulnerabilities, and what to expect from Clank's access model.
Quick Start
npm install -g @clanklabs/clank
clank setup
clankSetup auto-detects your local models, configures the gateway, and gets you chatting in under 2 minutes.
Security Notice: Clank gives AI agents full access to your file system, shell, and connected services. We strongly recommend running it on dedicated hardware (dev machine, VM, or container) rather than on systems with sensitive personal data.
Providers
Clank supports 8 providers. Mix and match for different agents.
| Provider | Example Model | Auth |
|---|---|---|
| Ollama | ollama/qwen3.5 | Local |
| Anthropic | anthropic/claude-sonnet-4-6 | API Key |
| OpenAI | openai/gpt-4o | API Key |
google/gemini-2.0-flash | API Key | |
| OpenRouter | openrouter/meta-llama/llama-3.1-70b | API Key |
| OpenCode | opencode/claude-sonnet-4-6 | API Key |
| Codex | codex/codex-mini-latest | OAuth |
| llama.cpp | llamacpp/model-name | Local |
Telegram Commands
| Command | Action |
|---|---|
/new | Start a fresh session |
/reset | Clear session history |
/status | Agent, model, tasks, uptime |
/agents | List agents with models |
/agent <name> | Switch agent |
/tasks | Show background tasks |
/kill <id> | Kill a task |
/killall | Kill all tasks |
/think | Toggle thinking display |
/model | Show model + fallbacks |
/version | Show version |
CLI Reference
| Command | Description |
|---|---|
clank | Start gateway + TUI |
clank chat | Direct CLI chat |
clank dashboard | Open Web UI |
clank setup | Run setup wizard |
clank gateway start|stop|restart | Manage gateway |
clank auth login|status|logout | OAuth credentials |
clank models list | List models |
clank agents list | List agents |
clank daemon install|uninstall | System service |
clank fix | Run diagnostics |
clank update | Update Clank |