MAAManaged Agents Anywhere
Docs›Reference

MAA platform plan

23 Nov 2026, mm4-maa. This is the plan for the whole platform after the two lines of work were joined in one repo. It replaces docs/two-lines.md as the working plan; docs/proposal.md is kept as the record of the control-room idea.

Where we are

Thing State Evidence
v1 codebase at the repo root Built, tested locally npm run check: typecheck, unit tests and 62 end-to-end checks, mock model
Public pages: landing, platform, enterprise, docs Built http://mm4:26000/maa/ (mock model, mm4 only)
Console with the Claude Console layout Built, first version /dashboard, /workspaces/default/agent-quickstart and the pages in the table below
Documentation set Written docs/guide/ (19 pages), rendered at /docs
AWS deployment Not done Needs Mat's go-ahead
Customers, certifications, penetration test None
ChatGPT, Gemini, OpenRouter Not built Design below

The product

One platform, MAA, that runs managed agents with the model as a choice inside it.

  • Same API shapes as Claude Managed Agents, so the official SDK works by changing the base URL.
  • Resident by default. Data stays in the deployment's region; anything that would leave is refused.
  • Proof of deletion. A signed certificate for every deleted session.
  • Any model, labelled honestly. Claude today. ChatGPT, Gemini and OpenRouter next, each with a residency class.
  • Two ways to buy. Cloud (self-serve, by the hour) and Managed (engagements).

Surfaces

Surface Path For State
Landing / Everyone Built
Definition /managed-agents Search visitors Built
Platform /platform Buyers and developers Built
Enterprise /enterprise Security and procurement Built
Docs /docs, /docs/{page} Developers Built
API /v1/* Code Built
Console /dashboard and below Signed-in developers Built, first version
Portal /portal/* Buying a run, billing, engagements Built (v1)
Operator console /admin/* The people running MAA Built (v1)

Console map

Laid out like the Claude Console's menu.

Menu Path What it shows
Dashboard /dashboard Sessions running and waiting, agents, credit, certificates
Build › Messages /messages Explains that MAA runs agents; a prompt workbench is planned
Build › Agents /workspaces/default/agent-quickstart, /agents, /agents/{id}, /sessions, /sessions/{id}, /environments, /deployments Quickstart from seven templates; a live session view with message, approve, stop and delete
Build › Resources /resources, /vaults, /memory-stores, /files, /webhooks Read-only lists
Organization › Keys /settings/keys Create and revoke API keys
Organization › Spending & usage /settings/usage, /settings/billing, /settings/certificates Statement, metered sessions, certificates
Organization › Customers /customers Operators only: accounts on this deployment
Organization › Settings /settings/organization Account, region, models

Path check needed. Only /dashboard and /workspaces/default/agent-quickstart are confirmed to match the Claude Console, because Mat gave those two. The Console needs a sign-in, so the rest are sensible guesses from the menu labels. To match exactly, Mat needs to send the URL of each menu item, or pick which Chrome browser I may read them from.

Phases

Phase 0: one repo, one plan (this PR)

Everything from from-abc/ at the top level, CI pointed at the root, docs written, pages and console added.

Phase 1: show it on mm4 (done in this PR, no spend)

The product runs at http://mm4:26000/maa/ on port 36000 with the mock model. It is started by the mm4-maa session, so it stops when that session does.

Next: a launchd job or front-door start-on-demand so it stays up; a passcode or operator allowlist in front of sign-in, because in development mode the sign-in link is shown on the page.

Phase 2: first real run on AWS London (needs Mat)

  1. Mat gives the AWS go-ahead.
  2. RUNBOOK §0–1: Bedrock access to Opus 5.5 in eu-west-2, certificate, email domain, cdk deploy. About £45 to £60 a month idle.
  3. Stripe test keys, then live keys.
  4. Matsiems buys and completes the £25 company analysis; report and certificate arrive by email.

The handover proposes Fri 11 Dec 2026 for this. That date is a proposal, not a commitment.

Phase 3: the site goes public (needs Mat)

  • managedagentsanywhere.com pointed at the deployment; landing, platform, enterprise and docs served from the product itself, so the separate site in site/ (from agentai) can be retired or kept for the investor room.
  • A booking link for "Book a call".
  • Search. /managed-agents gives a plain definition with a description, canonical URL, structured data (term, article, questions), a sitemap and a robots file. That is the groundwork only. Nothing can rank while the site is private on mm4, and a top position for "managed agents" cannot be promised: the vendors' own pages hold it today. What moves it after launch: the public domain, links from the book, videos, cma and client sites, and pages that answer narrower searches first (UK data residency for AI agents, certificate of deletion, Claude Managed Agents alternatives).
  • Legal review of the residency claims and the certificate wording before any sales claim.

Phase 4: more model providers

Design, in order:

  1. A provider interface in src/runtime/model.ts: callModel stays the single entry point; each provider is an adapter that takes MAA's request (system, messages, tools, effort) and returns a normalised message plus a provider record (name, endpoint, region, model id, residency class).
  2. Model registry in src/config.ts: per region, each model has a provider, an upstream id and a residency class (in_region, provider_region, routed). GET /v1/regions shows it.
  3. Resident-only switch at deployment, account and session level. London defaults to resident only, so nothing changes for existing clients.
  4. Adapters, one at a time, each with a mock and its own end-to-end checks:
    • Claude through Anthropic's own API (smallest step: same message format).
    • ChatGPT through OpenAI's API (translate tools and tool results).
    • Gemini through Google's API.
    • OpenRouter (OpenAI-style format; always routed).
  5. Billing per provider: cost tables per model, shown on session.usage, statements and invoices.
  6. Certificate wording: the certificate and the residency record state the class used for every model call in the session.

Open questions before building: which regional offers exist for OpenAI and Gemini models in the UK (the 13 Nov research could not confirm any current frontier model), and whether MAA holds the provider keys or each client brings their own. Bringing your own key is simpler commercially and keeps the provider relationship with the client.

  1. Service connections, after the model adapters: start, watch and stop sessions on another vendor's managed agent service (Claude Managed Agents, Gemini managed agents, Bedrock Managed Agents with OpenAI) from the MAA console. Those sessions are never counted as resident. See docs/guide/managed-agent-services.md.

Worth checking first: whether Amazon Bedrock Managed Agents (OpenAI, in preview) is offered in eu-west-2. If it is, OpenAI models could be resident on the cloud MAA already uses. AWS's page does not list regions.

Risk to name plainly: the product's promise is residency. Every non-resident model weakens that message unless the labels are impossible to miss. Resident-only stays the default.

Phase 5: console depth

  • Live event stream on the session page (today it refreshes every four seconds while running).
  • Create and edit agents, environments, vaults and deployments in the console (today: templates and the API).
  • Prompt workbench under Messages, per provider.
  • Per-tool statistics and cost breakdown on a session.
  • Confirmed URL parity with the Claude Console.

Phase 6: enterprise readiness

Penetration test; single sign-on and SCIM; roles; audit export; customer-managed keys; monitoring export. Each is listed as "not yet" on /enterprise until it exists.

Phase 7: regions and parity

EU regions (Dublin stack exists, not deployed). Then the upstream features v1 lacks: self-hosted sandboxes, hosted skills, workflow-style multi-agent.

Waiting on Mat

  • AWS deploy go-ahead; live Stripe keys; a booking link.
  • Merges elsewhere: agentai#4, bookai#184, vidai#21. The Vercel git-author block on agentai and MAA_PASSWORD.
  • Accountant on a new company for SEIS. The open picks in handover/HANDOVER.md §3.
  • For this plan: the Claude Console URLs (above); whether clients bring their own model keys in Phase 4; whether site/ is retired once the product serves its own pages.

Rules

Draft PRs only. Never change AWS, Stripe or DNS without Mat's go-ahead. Never claim customers, certifications or a live service. UK English. Local npm run check is the test result while GitHub Actions is blocked by billing.