How szotasz/marveen works
Marveen is a self-hostable Claude Code agent harness: an owner steers a team through a dashboard or chat, agents execute and delegate work, and the system supports persistent memory, scheduled work, and operational monitoring. The graph combines the documented product capabilities with the source index and sampled call sites. Several feature implementations were not excerpted, so their internal wiring is intentionally left unspecified; dashed edges mark documented capabilities whose exact runtime dispatch is not shown.
Main entry points: agent-process.ts Agent runtime · message-router.ts Message router · web.ts Web server · agent-config.ts Agent config
Components 24
Dashboard and control
- Mission Control
web/app.js - Web server
src/web.ts - HTTP helpers
src/web/http-helpers.ts - Agent routes
src/web/routes/agents.ts - Agent config
src/web/agent-config.ts - Settings store
src/settings-store.ts - Runtime config
src/config.ts
Agent execution
- Agent runtime
src/web/agent-process.ts - Background workers
src/web/agent-worker.ts - Claude Code
Messaging and federation
- Channel providers
src/channel-provider.ts - Message router
src/web/message-router.ts - Agent federation
src/web/federation - Chat services
Work orchestration
- Scheduled tasks
src/web/scheduled-tasks-io.ts - Kanban
src/web/routes/kanban.ts - Heartbeat
src/heartbeat.ts - Skills
src/web/skills-dir-queue.ts
Memory and state
- Memory search
src/memory.ts - SQLite database
src/db.ts - Logging
src/logger.ts - Cost controls
src/costops/config.ts - Session state
src/pane-state.ts
Other components
- Owner
Connections 26
- Owner → Mission Control: steers agents
- Owner → Chat services: messages through
- Mission Control → Web server: uses
- Web server → HTTP helpers: handles requests with
- Web server → Agent routes: routes to
- Agent routes → Agent config: configures
- Agent config → Runtime config: reads settings from
src/web/agent-config.ts - Agent runtime → Agent config: reads config
src/web/agent-process.ts - Agent runtime → Claude Code: runs
- Background workers → Agent runtime: uses
src/web/agent-worker.ts - Background workers → Claude Code: runs
- Message router → Agent runtime: sends prompts
src/web/message-router.ts - Message router → SQLite database: marks delivered
src/web/message-router.ts - Message router → Agent federation: sends federated messages
src/web/message-router.ts - Channel providers → Chat services: connects channels
- Agent runtime → Channel providers: communicates through
src/web/agent-process.ts - Agent runtime → Agent federation: delegates across agents
- Scheduled tasks → Agent runtime: runs scheduled work
- Heartbeat → Chat services: alerts on events
- Kanban → Agent runtime: dispatches tasks
- Agent runtime → Skills: learns reusable skills
- Agent runtime → Memory search: uses persistent memory
- Memory search → SQLite database: stores and searches
- Settings store → Runtime config: overrides boot settings
src/config.ts - Agent runtime → Session state: tracks sessions
src/web/agent-process.ts - Agent runtime → Cost controls: applies budget controls