Skip to main content

1. Introduction and goals

What Apollia is​

Apollia OS is a sovereign runtime for autonomous AI agents. An agent is a record: a mission, a model, tools, sources and rights, declared in the manifest of a package or created in the application. The engine built into the runtime runs it in a ReAct loop, locally, under governance the runtime enforces, and without a cloud dependency. A package may also bring Python: tools an agent calls, and workflows whose steps their author fixes.

It is built to be embedded. The primary consumer is a host product that drives an Apollia instance to do agent work over its own data, without moving that data into a cloud sandbox. The runtime exposes a stable machine contract (an HTTP API and generated host SDKs) for exactly this, and it can also run as a local daemon behind a CLI and a desktop operator app.

Quality goals​

The architecture is optimized, in order, for three properties.

GoalWhat it meansWhy it is first-class
SovereigntyNo user data leaves the machine without an explicit action. Inference can run fully local.The runtime targets regulated and privacy-bound settings where a cloud sandbox is disqualifying.
AccountabilityEvery governed action is recorded in a signed, tamper-evident trail that can be verified. Undoing a filesystem change is not a capability of this release.Autonomy is only delegable if you can answer, after the fact, what happened.
ControlA human sets how much an agent may do on its own, approves consequential actions inline, and the runtime enforces hard budgets that an agent cannot bypass.Bounded autonomy is the difference between a tool and a liability.

Performance, portability, and developer ergonomics matter, but they are shaped by these three. Where a trade-off arises, sovereignty and accountability win.

Stakeholders​

StakeholderWhat they need from ApolliaWhere they read
Host integrator (beachhead)Drive and embed the runtime from their product without reverse-engineering itDriving contract how-to, HTTP API reference
Package author (Python)Declare agents in a manifest, and write typed tools and workflows against a stable contractSDK / ctx reference
OperatorRun and supervise agents day to dayOperator help
ContributorChange the runtime without breaking its invariantsThis section, plus the in-repo agent rulebook

Scope of this document​

This section maps the runtime and its surfaces. It derives from the code, not from aspiration. The precise command, endpoint, and service shapes live in the reference; this section explains how the parts relate and what is, and is not, wired today.