Skip to content
Hero Background Light

BuddhiAI CLI

Build a code graph for your repository, connect coding agents through MCP, and scaffold an Antigravity harness for structured development.

Install the package, then run buddhi init from a repository. The command scans supported source files, writes a graph under .buddhi/graphs/, plans code documentation, and scaffolds an agent harness.

Terminal window
pip install "buddhi-ai[mcp]"
buddhi init

See the installation guide for pipx, uv, and platform notes.

  • Code graph: tree-sitter extracts source structure and relationships. buddhi graph can report statistics, communities, cycles, paths, and change impact.
  • MCP server: buddhi-mcp exposes code search, compressed file reading, memory, contrast checking, and accessibility verification tools over stdio.
  • Code documentation: buddhi docs generates OKF documentation and can build or serve the generated Pelican site.
  • Agent harness: buddhi init adds Antigravity workflows, specialist agents, rules, hooks, and templates to a project.
  • Project memory: buddhi memory manages structured, source-aware concepts and SDD decisions.
  • Developer utilities: buddhi scripts includes accessibility checks, anti-slop settings, output compression, and other repository tools.

Set up BuddhiAI CLI

Install the package, initialize a repository, and follow the CLI guide.

Install BuddhiAI CLI