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 23, 2026

Analysis

Jul 23, 2026

Files indexed

12,804

Evidence points

12

Files
12,804
Systems
13
Relationships
15
Freshness
Jul 23, 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 systems15 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

Frontend UI (Web/Desktop)

SolidJS-based web application and Electron desktop wrapper. Handles session routing, message composition, terminal rendering, and file exploration.

packages/app/src/app.tsxpackages/app/src/pages/session.tsxpackages/app/src/entry.tsx
Context Providers

SolidJS context system for state management (ServerSDK, Settings, Tabs, Permissions, Models, Language, Theme)

packages/app/src/context/server-sdk.tsxpackages/app/src/context/server-sync.tsx
API Gateway

HTTP API endpoints built with Effect + Hono. Handles authentication, CORS, request validation, and routes to core services.

packages/server/src/api.tspackages/server/src/handlers.tspackages/server/src/routes.ts
Session Engine (V2)

Event-sourced session management with Effect. Coordinates prompt admission, message handling, execution lifecycle, and agent switching.

packages/core/src/session.tspackages/core/src/session/execution.ts
Event Sourcing (V2)

Pub/Sub event system with durable event storage. Publishes session events (PromptSubmitted, MessageCreated, ToolOutput) to projectors and subscribers.

packages/core/src/event.tspackages/core/src/session/event.ts
Agent & Skills

Multi-agent orchestration with skill-based tool system. Routes prompts to build/plan agents with shell, diff, file edit, and plugin skills.

packages/core/src/agent.tspackages/core/src/skill.ts
LLM Provider Routing

Provider-agnostic LLM abstraction with 20+ integrations (OpenAI, Anthropic, Bedrock, Mistral, Cohere, etc). Routes prompts to selected model.

packages/llm/src/llm.tspackages/core/src/aisdk.ts
SQLite Database

Drizzle-based persistence for sessions, messages, events, credentials, projects, and configuration using SQLite.

Evidence coverage

What this context is grounded in

Coverage

Citations
7
Findings
5
Files discovered
12,804
Architecture systems
13
Architecture relationships
15
Agent graph
Agent graph entities
1,504
Agent graph relationships
2,524

Languages

SVGTypeScriptMDXPNGJSON