An agentic software factory
you install into a project,
from day 1.
how it flows
what it solves
Mithra replaces two things that fail in real projects: hand-written agent files (AGENTS.md, CLAUDE.md) that drift and cannot be upgraded, and orchestration frameworks that add ceremony to every task.
It is a layer of rules and context that lives inside the repository, installed by a CLI and loaded by the coding agents you already use. Process scales to risk: a rename executes directly; a payments integration gets a one-page spec, tests-first execution and independent review. Nothing in between is forced.
how it works
- Install it once:
pnpm dlx mithra-ai initdetects the stack and lets you pick modules. It generatesAGENTS.mdfrom a versioned source of truth under.mithra/. - Every task starts from the project's declared sources — which docs and MCP servers to consult, and which to ignore.
- The agent classifies the task: simple work runs directly; medium and complex work produce a one-page delta that waits for your approval before code.
- Work happens on the right branch (GitFlow by default) and the PR is babysat until green — never a direct commit to shared branches.
- Nothing external happens without your OK: commits, pushes, merges, tags and deploys always ask. After a deploy, the agent watches the signals and proposes — never executes — mitigations.
modules
intake- declared context sources, consulted first on every task
git- branch discipline from the first task — GitFlow by default
odd- one-page deltas when a decision must outlive the session
tdd- test-first where logic pays for it, root-cause debugging
seo- every page ships discoverable: meta, headings, schema
ui- UI verified in the running app; WCAG 2.2 AA accessibility
security- authorization per path, secrets, data leaving the system
devops- pipelines, migrations, deploy observation
marketing- landing copy, conversion, signup/onboarding, launches (opt-in)
core- principles, task classification, base workflow — always in context
profiles
minimal- maximum speed, zero ceremony
standard- default balance: specs and tests for non-trivial work
production- full rigor: independent review, every change
the cli
mithra init- install into an existing project; detects the stack, opens the module selector
mithra update- sync framework changes, preserving everything you hand-edited
mithra profile <name>- minimal | standard | production — the profile only raises the minimum rigor
mithra module enable <id>- enable modules; their skills install with them
mithra agent add <id>- opencode, claude-code, codex, cursor
mithra skills list- 23 predefined skills, installed per enabled module
mithra validate- validate config, module dependencies and installed skills
mithra remove- uninstall everything Mithra installed, preserving your work
details
Zero dependencies: a thin CLI over versioned content, smoke-tested end to end. Skills and subagents already in the project are respected, never overwritten. Hand-edited files are detected by hash and preserved on update.
Judgment and external actions stay with the human; agents gather context, implement, validate and propose.