How tanaypatel917-lab/mars-send-youre-ai-to-space works
MARS is an IDE-connected agent platform. The primary workflow starts in the CLI or VS Code, reaches the local workbench, and runs model-driven tasks against isolated workspace copies with checkpoints, artifacts, and diffs. Its broader product includes advisory research and verification, durable memory and skills, team collaboration, and offline-verified learning/evaluation paths. Edges rely on the README’s documented relationships and the shown source-index references; unsampled implementation details are not inferred.
Main entry points: service.ts Workbench service · runtime.ts Task execution · task-routing.ts Specialist routing · main.ts CLI
Components 25
User interfaces
- CLI
apps/cli/src/main.ts - VS Code client
apps/vscode/src/controller.ts
Workbench runtime
- Workbench service
packages/workbench/src/service.ts - Isolated workspaces
packages/workspaces/src/provider.ts - Task execution
packages/execution/src/runtime.ts - Model providers
packages/providers/src/models/router.ts - Output contract
packages/output-format/src/process.ts
Context and extensions
- Screen verification
packages/watch/src/service.ts - Browser automation
packages/browser/src/service.ts - Research control plane
packages/research/src/service.ts - Research worker
packages/research-worker/src/worker.ts - Memory service
packages/memory/src/index.ts - Skills and conventions
packages/skills/src/discovery.ts - Knowledge graph
packages/knowledge-graph/src/service.ts - Browser worker
packages/browser-worker/src/engine.ts
Team collaboration
- Team service
packages/team/src/server.ts - Team chat
packages/team-chat/src/service.ts
Learning and evaluation
- Verified datasets
packages/datasets/src/builder.ts - Model training
packages/training/src/service.ts - Specialist routing
packages/specialists/src/task-routing.ts - vLLM serving
packages/providers-vllm/src/provider.ts - Independent evaluation
packages/evaluation/src/service.ts - Prompt optimization
packages/optimization/src/service.ts - Workflow evolution
packages/evolution/src/service.ts
Other components
- User
Connections 25
- User → CLI: starts commands
README.md - User → VS Code client: submits tasks
README.md - CLI → Workbench service: starts service
- VS Code client → Workbench service: connects by RPC
README.md - Workbench service → Isolated workspaces: isolates task copies
README.md - Workbench service → Task execution: runs tasks
README.md - Task execution → Model providers: requests model work
README.md - Task execution → Output contract: validates responses
README.md - Workbench service → Memory service: loads context
README.md - Workbench service → Skills and conventions: loads conventions
README.md - Workbench service → Research control plane: starts research
README.md - Research worker → Research control plane: reports findings
README.md - Workbench service → Screen verification: records verification
README.md - Browser worker → Browser automation: provides browser engine
packages/browser-worker/src/engine.ts - Workbench service → Browser automation: offers browser tasks
- Workbench service → Knowledge graph: builds repository context
- User → Team service: collaborates
README.md - Team chat → Team service: supports team chat
- Verified datasets → Model training: supplies training data
README.md - Model training → Specialist routing: produces adapters
README.md - Specialist routing → vLLM serving: routes to serving
README.md - Specialist routing → Independent evaluation: compares specialists
README.md - User → Independent evaluation: runs comparisons
README.md - User → Prompt optimization: optimizes prompts
README.md - User → Workflow evolution: proposes workflows