Core Concepts
TL;DR
- Every capability is a workflow. Provisioning, deploying, messaging, querying, invoicing: each is a registered, schema-typed workflow.
- Same engine, several doors. Console, SDKs, DGI, and AI assistants over the MCP server all drive one event-sourced engine.
- AI designs, the engine executes, your cloud does the work. Compositions compile AI reasoning out of the hot path. Runners live in your accounts.
- Governance, memory, and markets are first class. Staff governs agent fleets. Lumen observes. Engram remembers. Agent Exchange is how orgs hire each other's actors.
- Read in order. The pages below build on each other. Each one ends with prompts to try and a "For AI agents" contract.
The model in one breath
A workflow is a capability with a typed input and output contract. Starting one creates a run with its own
workflow_idthat you watch, inspect, and retry. AI assistants discover and invoke capabilities over MCP. DGI turns intent into a plan; that plan compiles into a composition, your deterministic logic with no code. Each agent is an agent config (skills, tools, budget) launched as sessions on your runners, and Staff governs those agents with org structure, approvals, and oversight. Agent Exchange is the labor market for those actors across organizations. Cloud runs execute inside your cloud account. Lumen observes. Engram is what agents remember. App Data is declared app state. App Host is opt-in hosting. Identity scopes it all to an organization and, for apps you build, to your end-users.
- AI assistants (MCP)
- DGIdesigns intent
- Compositiondeterministic virtual workflow
- Workflowstyped capabilities
- Staffgovernance
- Runnerin YOUR cloud
- Lumenobservability
- Identity
- Your end-usersSign in with Orkestia
- AI assistants (MCP)→ discover + invoke →Workflows
- DGI→ compiles to →Composition
- Composition→Workflows
- Staff→ approvals + oversight →AI assistants (MCP)
- Workflows→ run →Runner
- Runner→Lumen
- Identity→ scopes →Workflows
- Identity→ exposes to →Your end-users
Read in this order
1. Workflows
Types vs runs, the event-sourced state machine, DAGs, and compositions. The primitive everything else uses.
2. DGI
The Dialog Generative Interface: intent in, validated plan out, compiled to a deterministic composition.
4. Agents
What an AI worker is: config, workflow-backed skills, MCP servers, memory, budget, sessions.
9. App Data
Declared app tables with injected principals. End-users never send SQL; operators use Query.
10. App Host
Opt-in site hosting: website, App Data, Files on site MinIO, Nostr Buzz on a second hostname.
13. Agent Exchange
Hire and list Staff actors across orgs. Ledger, not funds. Operator path: Agent Exchange.
How the pieces relate
| Concept | One-line role | In your cloud? | Stored by Orkestia |
|---|---|---|---|
| Workflow / run | A typed capability and its execution | Executes in your cloud | State and history |
| MCP server | The assistant door onto the engine | No (control plane) | Nothing beyond the runs it starts |
| DGI | AI that designs workflow plans from intent | No (reasoning) | Plan artifacts |
| Composition | Your deterministic, no-code logic | Executes in your cloud | Definition and state |
| Staff | Governance for AI agents | No (control plane) | Org structure, approvals |
| Agent Exchange | Cross-org hire of Staff actors | Execution stays in each party's cloud | Listings, deals, leases, ledger — not funds |
| Agents | Config, skills, sessions | Sessions run in your cloud | Configs, session state, cost entries |
| Runner | Where execution physically happens | Yes, your account | Connection metadata only |
| Lumen | Observability over runs | No | Telemetry you send, derived groups and traces |
| Identity | Org and end-user scoping | No | Identity records |
| Billing and seats | Subscription, seats, usage | No | Subscription and usage records |
| App Data | Declared app rows (opt-in data plane) | No (platform store) | Virtual structures, records, serving instances |
| App Host | Opt-in website / process / Buzz | Shared Orkestia pool when you claim a site | Site metadata, not your zip as source |
| Engram | Agent memory | No | Memories and recalls |
| DevKit | Local CLI | Runs on your machine | Config and API token only |
Concept to MCP map
If you drive Orkestia from an assistant, this is where each concept surfaces on the MCP server.
| Concept | Namespaces you will see | Tools and resources that matter |
|---|---|---|
| Workflows | everything | list_workflow_types, get_workflow_schema, start_workflow, watch_workflow; concept://workflow-types-vs-instances |
| Compositions | composition.*, control.*; saved ones run as virtual.<uuid>@<version> | get_workflow_dag; concept://dag |
| DGI | dgi.*, ai.*, chat.* | get_workflow_definition |
| Staff | staff.*, audit.* | audit.workflow-run.query for evidence |
| Agent Exchange | exchange.*, data.exchange.* | List then schema; never pass the other org's UUID |
| Agents | agents.* | agent tokens return agent_uuid and staff_actor_uuid from whoami |
| Runners | runner.* | list_stuck_workflows for stalled provisioning |
| Lumen | separate server at mcp-lumen.orkestia.dev | list_logs, get_trace, resolve_error_group, and more |
| Identity | identity.*, connection.* | whoami; rule://authenticated-context; rule://orkestia-auth-setup |
| Billing | subscription.*, stripe.* | reads are safe; confirm mutations |
| App Data | data.appdata.*, appdata.instance.*, appdata.credential.*, appdata.query.* | reads in data.* are safe to start; instance provision is a mutation |
| App Host | apphost.* | claim/publish need a live Identity app; never echo DSNs or relay keys |
| Engram | agents.memory-* | flags live on the agent config |
| Chat | buzz.*, data.buzz.* | buzz.space.status and featured data.buzz.* reads are safe; admin verbs need a person. See Chat |
Ask your AI assistant
Read concept://product and give me the concept map of my organization: which namespaces are active and what each domain does.
Explain, with concept://workflow-types-vs-instances, why the catalog total is not the number of workflows that ran.
List my recent runs across all types and group them by concept: infrastructure, deploy, agents, data.
Where this leads
For deeper tracks see the guides, the advanced section, and operations.
Connect an AI Assistant
Plug Claude, ChatGPT, Cursor, Claude Code, or any MCP client into the Orkestia MCP server, then run your first workflow by talking. Includes a prompt library and the rules the server gives your assistant
Workflows
The execution model in depth. Workflow types versus runs, the event-sourced state machine, DAGs, how an assistant drives it over MCP, and compositions that compile into deterministic engine config
