MINARA

Architecture

How Minara turns a request into a controlled, durable result

Minara Agent is one system with several focused jobs: accept a request, assemble the right context and specialists, keep actions inside their limits, and preserve the record that makes the next decision better.

Architecture at a glance

Minara architecture showing user entry points flowing into the Agent Runtime, which coordinates context and learning, specialist collaboration, safety controls, the capability registry, local SQLite state, and external services.

From request to result

  1. Choose an entry point. Use the desktop app, Web UI, terminal, or a connected messaging surface.
  2. Build the working context. The runtime reads the session, relevant memory, current preferences, and task signals.
  3. Compose the work. It selects the skills and specialist roles that fit the task. A higher-stakes decision can add research, challenge, risk, and portfolio perspectives.
  4. Set the action boundary. Permission levels, risk limits, confirmations, and the emergency stop decide what the agent may do in this turn.
  5. Call only the needed capabilities. The capability registry exposes approved tools for research, analysis, execution, files, automation, and integrations.
  6. Persist evidence and outcomes. SQLite keeps the durable record. Learnings and decision reflections can improve later work without changing the underlying model.

What stays local, and what connects outward

SQLite and the workspace hold sessions, audit records, preferences, memory, and learning artifacts in the Minara data directory. This keeps the durable operating state in one place that you can back up and inspect.

The runtime connects outward only when the task calls for it: LLM providers for reasoning, Minara services for market and trading operations, and optional external skill packages or MCP servers. External access does not bypass the local permission model.

Codebase map

AreaResponsibility
apps/agentAgent runtime, gateway, capability registry, skills, safety controls, SQLite-backed state
apps/web-uiBrowser interface for chat, markets, portfolio, automation, and reviews
apps/desktopSelf-contained desktop shell that runs the gateway and Web UI together
packages/*Shared types, client libraries, UI primitives, hooks, validators, and design tokens
apps/docsThis documentation site, including localized guides and rendered diagrams

For a turn-by-turn view, see Agent Loop. For routing and capability activation, see Skills System. For the safety boundary, see Finance Safety.

On this page