Reusable software runtime for embodied agents. Mira is the working name of the initial reference/demo robot built with the runtime.
The cognitive work map illustrates how Mira's bounded episodes connect Jobs, evidence, memory, durable artifacts, and communication.
Python 3.13 or later is required. From a fresh checkout, run:
python main.py
python main.py "Good morning, Mira."
python main.py --diagnostics
python main.py --consoleFor normal full-agentic Mira operation, persistent startup policy replaces the long development flag sequence:
python main.py --config config/mira-agentic.tomlThe strict, dependency-free TOML schema, historical defaults, and explicit CLI
override rules are documented in Runtime startup configuration.
Granular flags remain available for focused experiments and diagnostics.
See Mira deployment profiles for explicit model
alternatives, verification evidence, shared persistence, and the configurations
under config/experiments/.
Optional provider setup is documented in OpenAI text cognition setup, including the linked Secrets and API keys procedure for local credential storage and delivery. The same bounded Jobs can also use OpenRouter via compatible Chat Completions with an explicitly configured endpoint, credential variable, and tool-capable model.
The local console projects the running runtime's current state and provides
two deliberately narrow development controls. For example, enter status,
body, or presence at the profile-derived
prompt, and enter quit to shut down cleanly. See Local runtime
console.
Diagnostics report both the selected robot hardware backend and a separate snapshot of the real host platform, including available identity and resource telemetry.
The runtime loads the Mira robot profile independently of its embodiment. The checked-in deployment configuration automatically selects a ready SunFounder Fusion HAT+ or falls back to a physical host-only backend, while the historical no-argument development default remains virtual. Physical launches do not invent a semantic body; the virtual backend intentionally provides the simulated body used in development. See the hardware notes and architecture notes.
The default demo also includes one deterministic local reflex: a transition to semantic presence centers body yaw and pitch through the application body API. It is source-independent, owns no state, and involves no AI or cognition. See Local reflexes.
Runtime log records use local ISO-8601 wall-clock timestamps with an explicit timezone offset. A healthy run remains quiet between low-frequency heartbeats:
2026-08-30T20:05:01.103-04:00 [APP] running profile=mira
2026-08-30T20:05:01.104-04:00 [PULSE] monitor=platform interval_s=5.0 heartbeat_s=60.0 status=ready
2026-08-30T20:06:01.205-04:00 [PULSE] heartbeat samples=12 cpu_temp_c=42.8 memory_available_mb=263 memory_available_pct=63.4 thermal=normal memory=normal
Monitor cadence uses monotonic time, independently of wall-clock timestamps.
The explicit [DIAG] and detailed [PLATFORM] report lines remain stable,
untimestamped structured snapshot output; surrounding runtime logs are timestamped.
Validated launches also create a local, sequential run history
under data/runs/; this records runtime-owned logs, not a terminal transcript.
Development examples of useful durable Job compositions are collected in Tested Job patterns. They are patterns exercised while developing Mira, not Jobs installed by the generic runtime.
When initiative is enabled, cognition may spend one semantic-effect slot to schedule one session-local relative follow-up. When due, it creates fresh same-goal attention rather than preserving an old decision or provider session. See bounded temporal follow-up.
The current autonomy budgets and episode grammar are summarized in architecture. A due temporal commitment waits in one goal-bound slot when cognition is busy; it does not interrupt cognition or reserve an action.
Joint image analysis and durable operator image recall are documented in conversation images, including retention defaults, resource limits, deletion and physical acceptance checks.