donmai is the open-source CLI and daemon for running AI agent fleets. The af
binary manages the local session daemon, dispatches agents against Linear
backlogs, and surfaces fleet health via a terminal dashboard.
Architecture overview
The donmai stack has two layers: the OSS CLI + daemon (everything in this repo), and the closed platform that orchestrates work across fleets.
Sections
- Getting started — install
donmaivia Homebrew orgo install, set up the daemon, and dispatch your first agent session. - Configuration —
~/.donmai/daemon.yamlkey reference and theWORKER_API_KEY/DONMAI_API_TOKEN/DONMAI_*environment variables. - Plugins — extend agent tool sets with
ToolPluginpackages under the@donmai/*npm scope. - Workflow nodes —
ActionDefinition,TriggerDefinition,ConditionDefinitioninterface contracts and the workflow YAML grammar.
Source
Source is on GitHub at github.com/RenseiAI/donmai. Issues and pull requests welcome.