Configuration formats
| Surface | Contract and examples |
|---|---|
| Agent profiles | Markdown frontmatter and body: model, capabilities, tools, rules, constraints, knowledge, persona, mini-a: overrides |
| Skills | Markdown and YAML skills, with the complete YAML schema |
| Plugins | Manifest and discovery for packaged skills and MCP servers |
| Hooks and commands | Lifecycle events and templates |
| Supervised contracts | Contract format, arguments, evidence, and acceptance |
| Channels | OpenAF channel definitions for memory, audit, debug, and metrics |
| Absorption specifications | Reviewed wiki absorption |
| Evaluation suites | Scenarios, baselines, and skill evaluation |
| Policies | Capabilities, rules, and policy files |
oJob and JavaScript
Use the MiniAgent job from mini-a.yaml in an oJob pipeline. Set Mini-a arguments under the calling job’s args. Agent-file documentation includes complete pipelines.
For JavaScript, load the installed library using OpenAF’s package conventions, create new MiniA(), and call start(args). See embedding examples. Mini-a runs in OpenAF, not Node.js.
Web backend
The browser submits goals, polls or streams results, and manages sessions using the Web backend. Authentication and allowed mutations depend on the configured server and interface.
| Endpoint | Purpose |
|---|---|
GET /info |
Discover interface capabilities |
POST /prompt |
Submit a prompt and obtain or reuse a session identifier |
POST /result |
Poll results or request a stop |
GET /stream |
Receive server-sent events |
POST /load-history |
Load a saved conversation |
POST /clear |
Clear a session, with history deletion controlled separately |
POST /ping |
Keep a session alive |
POST /md2html |
Convert an answer for HTML export |
Use the pinned request and response reference for payloads. Advanced console operations are authenticated console authority, not a public unauthenticated API. The Web guide describes token handling, shared sessions, attachments, and busy-session behavior.
Workers and A2A
The delegation guide covers worker submission, polling, result collection, registration, heartbeats, timeouts, and context inheritance. The pinned delegation contract documents the underlying protocol. Mini-a workers and generic A2A agents are distinct integrations; mcp-a2a bridges compatible A2A agents into tools.
MCP authoring
Expose a custom operation through an MCP server, then connect it with mcp=. Use the authoring guide for a complete server descriptor. Merely declaring a JavaScript object with a function does not register it with Mini-a.