Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.56 KB

README.md

File metadata and controls

44 lines (32 loc) · 1.56 KB

docsgpt-cli documentation

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.

Use it

  • 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

Automate it

  • 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

Run it as a device

  • Host mode: pair a machine and let agents run commands on it

Reference

Every command has --help with its flags and examples:

docsgpt-cli --help
docsgpt-cli agents apply --help

Examples live in examples/: an agent definition, a bench suite and a CI workflow.