docsgpt-cli chats with your DocsGPT agents from the terminal, answers
one-off questions in pipelines, and manages agents and sources as code.
New here? Start with the Quickstart.
- Install and update: install script, Homebrew,
go install, auto-update and rollback - Quickstart: sign in, chat, ask once, pipe input, attach files
- Chat: editor keys, attachments, slash commands,
!cmd, sessions, context - Tools and approval: what the agent can do on your machine, and what you are asked
- MCP servers: more tools for the agent, such as Laravel Boost
- Configuration: config file, credentials, environment variables, settings
- Agents as code: personal access tokens, export, plan, apply, trigger
- Sources: upload files or a folder, wait for ingestion, keep a source in sync on a schedule
- Bench: test agents' answers, compare agents and models
- CI: GitHub Actions for all of the above
- Go SDK: the chat client the CLI is built on
- Host mode: pair a machine and let agents run commands on it
Every command has --help with its flags and examples:
docsgpt-cli --help
docsgpt-cli agents apply --helpExamples live in examples/: an agent
definition, a bench suite and a CI
workflow.