Skip to main content
The MITHUNAI CLI provides command-line control over your enterprise knowledge collections, document ingestion pipelines, and grounded assistants. Designed for developers and automated CI/CD environments, the tool enables scripted repository indexing upon git commit, headless verification of documentation changes, and instant terminal querying.
Terminal Ingestion Workflow

Installation

Install the MITHUNAI CLI globally using npm, pnpm, or Homebrew:

Core Command Reference

mithunai login

Configures authentication for the current developer environment.
Credentials are saved in ~/.config/mithunai/config.json with restricted file permissions (chmod 600).

mithunai knowledge

Manages corporate collections and data connectors.

mithunai ask

Interactively queries an assistant from the terminal with rendered citation footnotes.
Output format options include --format pretty (default ANSI colored Markdown), --format json (complete citations and confidence scores), and --format raw (prose only for shell piping).

CI/CD Pipeline Integration

Integrate MITHUNAI into GitHub Actions or GitLab CI to keep knowledge continuously updated whenever documentation or code changes:
GitHub Actions Workflow (.github/workflows/mithunai-sync.yml)
Last modified on September 27, 2026