How mrazakhalid/starnet works
StarNet is a local-first desktop harness for creating AI-agent teams, arranging them in a capability-scoped station, and running real model- and tool-backed work. Users configure agents and providers, assign work through the station layout or recipes, then review results, files, costs, and run history. The README documents the frontend/sidecar boundary and major product capabilities; several feature implementations are unsampled, so their internal call paths are not inferred here.
Main entry points: domain-task.js Agent runtime · app.js Station UI · pipeline.js Routing plan · channels Messaging channels
Components 22
Station and workflow
- Station UI
frontend/app/app.js - Station model
frontend/app/worldmodel.js - Routing plan
frontend/app/pipeline.js - Recipes and skills
frontend/app/recipe-catalog - Schedules
frontend/app/autojobs.js - Task briefs
frontend/app/taskconversation.js
Agent runtime
- Agent runtime
sidecar/domain-task.js - Team dispatch
sidecar/tools/builtin/orchestration.js - Capability checks
sidecar/capability/registry.js
Providers and connectors
- Model providers
sidecar/providers/provider.js - OpenRouter adapter
sidecar/providers/openrouter.js - MCP connectors
sidecar/mcp/manager.js - Messaging channels
sidecar/channels - Voice services
sidecar/media-service.js
State and review
- Deliverables outbox
frontend/app/deliverables.js - Spend and run ledgers
frontend/app/recledger.js - Agent memory
frontend/app/threadstore.js - Station state
sidecar/station-store.js
Desktop shell
- Desktop shell
src-tauri/src/main.rs
Other components
- User
- Model services
- Messaging services
Connections 23
- User → Station UI: configures and starts
README.md - Station UI → Station model: edits station
- Station model → Routing plan: compiles layout
frontend/app/pipeline.js - Station UI → Routing plan: submits plan
- Station UI → Station state: sends station state
sidecar/station-store.js - Routing plan → Agent runtime: routes work
- Recipes and skills → Agent runtime: launches work
README.md - Schedules → Agent runtime: schedules runs
README.md - Task briefs → Messaging channels: asks for clarification
README.md - Agent runtime → Model providers: requests model calls
README.md - OpenRouter adapter → Model services: streams requests
sidecar/providers/openrouter.js - Model providers → Model services: calls models
README.md - Agent runtime → Capability checks: checks permissions
README.md - Agent runtime → Team dispatch: dispatches workers
sidecar/tools/builtin/orchestration.js - MCP connectors → Agent runtime: provides tools
- Agent runtime → Messaging channels: connects agent messaging
README.md - Messaging channels → Messaging services: sends and receives messages
README.md - Agent runtime → Voice services: uses voice services
README.md - Agent runtime → Deliverables outbox: publishes deliverables
README.md - Agent runtime → Spend and run ledgers: records spend and runs
README.md - Agent runtime → Agent memory: persists agent memory
README.md - Desktop shell → Station UI: opens station
src-tauri/src/main.rs - Desktop shell → User: provides desktop window
README.md