Skip to main content
MITHUNAI does not ship a command-line tool: no mithunai binary, npm package or Homebrew formula is published by MITHUNAI, and commands such as mithunai login or mithunai sync do not exist. Everything a CLI would do is one HTTP request away: use curl (or any HTTP client) against the HTTP API with an API key. Set two environment variables first. Every example uses them.

Common tasks

Paths are relative to $MITHUNAI_URL/mithunai/api/v1. The API reference documents every request and response, and File uploads covers the upload flow.

Ask a question from the terminal

Re-sync from CI after your docs change

MITHUNAI does not watch repositories, and a deployment’s scheduled re-sync is off unless its operator has turned it on, so trigger a sync from the pipeline that publishes your content. A GitHub Actions example, using an API key with the Editor or Knowledge operator role:
.github/workflows/mithunai-sync.yml
A sync is idempotent while a run is active, so a second push during a sync gets the running job back rather than starting another. See Ingestion.
For AI coding tools such as Claude Code, Cursor and VS Code, connect the MCP server instead. It gives them read-only tools to search your knowledge and ask your assistants.
Last modified on November 3, 2026