Public repo atlasGenerated with review notes

onboardy.dev/repos/anomalyco/opencode

anomalyco/opencode

Understand anomalyco/opencode with an Onboardy architecture map, key systems, files to read first, evidence, and agent-ready context.

Published

Jul 6, 2026

Analysis

Jul 6, 2026

Files indexed

12,684

Evidence points

12

Files
12,684
Systems
13
Relationships
14
Freshness
Jul 6, 2026

Architecture map

How the repo is organized

Click systems in the graph to inspect responsibilities, important files, and nearby dependencies.

Architecture map

Generated map13 systems14 relationships

Use this map to orient around systems, dependencies, and files worth reading first.

Mini Map
Node Types
Gateway
Client
Service
Database
External

Click a system in the map

Explore anomalyco/opencode by selecting services, gateways, clients, and data stores. Each node shows the files, responsibilities, and neighboring systems an agent should keep in scope.

Pan, zoom, and use the minimap to keep large repos navigable.

Sign up to turn selected graph context into repo-aware agent sessions.

Key systems

What an agent should understand first

CLI Entry Point

Command-line interface with yargs parser routing 25+ commands (run, serve, tui, web, debug, etc.)

packages/opencode/src/index.tspackages/opencode/src/cli/cmd/run.ts
Web App UI

Solid.js web interface for IDE and session console with server SDK context

packages/app/src/index.tspackages/app/src/app.tsx
Terminal UI

OpenTUI-based interactive terminal interface with keybindings and session rendering

packages/tui/src/index.tsxpackages/tui/src/app.tsx
Desktop App

Electron wrapper with native PTY and IPC handlers for local server coordination

packages/desktop/src/main/index.tspackages/desktop/src/renderer/index.tsx
API Server

HTTP API layer with Effect-based routing, location middleware, and authorization

packages/server/src/routes.tspackages/server/src/location.ts
Protocol Groups

Typed API endpoint groups (sessions, events, models, permissions, fs, pty, etc.)

packages/protocol/src/api.tspackages/protocol/src/groups/session.ts
Session Runner

Durable session execution engine orchestrating LLM interaction loops with tool settlement

packages/core/src/session/runner/llm.tspackages/core/src/session/runner/model.tspackages/core/src/session/runner/index.ts
System Context

Composable context sources with independent refresh lifecycle and durable snapshots

packages/core/src/system-context/index.tspackages/core/src/system-context/builtins.ts

Evidence coverage

What this context is grounded in

Coverage

Citations
7
Findings
5
Files discovered
12,684
Architecture systems
13
Architecture relationships
14
Agent graph
Agent graph entities
1,403
Agent graph relationships
2,346

Languages

SVGTypeScriptMDXJSONPNG