Skip to content

Latest commit

 

History

History
175 lines (150 loc) · 9.76 KB

File metadata and controls

175 lines (150 loc) · 9.76 KB

LemmaComputer documentation

Documentation is grouped by what you are trying to do. If you are new, read in the order below: run it, understand how it is built, then go deep on a feature.

Group Contents
Architecture How the system is built, and why it is split the way it is
Guides Running, developing, deploying, migrating, extending
Product Feature-level specifications and their authorities
Agent runtimes Qualifying agent and reasoning adapters
Reference Per-process reference and legacy adapters
Decisions Architecture decision records
Reports Point-in-time audits and benchmarks

Start here

  1. The root README has the shortest runnable path — a Quick start that brings the stack up from a clean clone.
  2. Architecture and trust model explains what you just started.
  3. Why LemmaComputer runs as many processes answers the most common question about the design.
  4. Evaluation, development, and remote workspace workflow is the one setup authority for evaluation, code changes, and local remote-node/Cowork qualification.

Architecture

How the system is built and why. Read overview.md first.

  • Architecture and trust model — system boundaries, policy projection, credential custody, workspace network, governed routing and accounting, the protected-operation protocol, and the Compose network matrix.
  • Why LemmaComputer runs as many processes — what each process boundary buys, which are load-bearing trust boundaries, which are only deployment units, and the rule for adding a new one.
  • Customer authentication architecture — the accepted Better Auth boundary, authentication database, hosted and customer-managed topology, enterprise SSO, product authorization handoff, and migration sequence.
  • LiteLLM gateway architecture — the private administrator API, workspace data path, provider lifecycle, synthetic Auto routing, MCP and OAuth grants, protected execution, and budgets, separating gateway duties from Control authority.
  • MCP networking, egress, and OAuth callbacks — outbound model and MCP traffic versus the browser callback path, and the proxy, SSRF, redirect, and provider-registration boundaries.
  • Tenant isolation matrix — where tenant scoping is enforced for every persisted and cached record.
  • Agent instance identity — how a running agent is identified and bound to policy.
  • Organization RBAC — roles, permissions, and the membership authorization boundary.
  • Workspace node deployment — the normative remote-node network, mTLS, storage, purge, and qualification contract.
  • Workspace guardrail reconciliation — the forced suspension, grant revocation, immutable publication, compatible- selection reconciliation, and recovery contract for organization guardrail updates.

Guides

Task-oriented instructions.

Product

Feature-level specifications and the authority that owns each decision.

Agent runtimes

Reference

  • Service reference — every long-running, one-shot, and dynamic runtime component, its interfaces, dependencies, state, health contract, and extension seam. — the legacy hosted adapter and its real-tenant qualification. It is not the current universal customer-authentication architecture.

Decisions

Architecture Decision Records (ADRs) preserve consequential design choices: the context at the time, the chosen option, its tradeoffs, and whether it is accepted, amended, or superseded. They explain why a durable decision was made; the Architecture section above describes how the current system works, and Guides describe how to operate it. ADRs remain in the repository after supersession so future maintainers can understand the decision history.

Reports

Point-in-time evidence. These describe a state of the system on a date, not a current contract.

Security

  • Security policy — private vulnerability reporting and the highest-impact trust boundaries.