Skip to main content

Agents

4.1 — a suit that survives the context window

These are organs. The product is the suit. 0xRay is a three-subsystem autonomous engine. The suit is the wear.

42 YML surfaces in src/opencode/agents/*.yml. Zero manual registration. Invoke via @agent-name in OpenCode.

Consumer projects receive a slimmed AGENTS.md (from AGENTS-consumer.md) when they run npx 0xray wear.

Core governance agents​

AgentPurpose
@enforcerCodex compliance & error prevention
@orchestratorComplex multi-step task coordination
@architectSystem design & technical decisions
@security-auditorVulnerability detection
@code-reviewerQuality assessment
@refactorerTechnical debt elimination
@testing-leadTesting strategy
@bug-triage-specialistError investigation
@researcherCodebase exploration

Engineering agents​

AgentPurpose
@frontend-engineerReact, Vue, Angular, responsive design
@backend-engineerREST/GraphQL APIs, microservices, auth
@database-engineerSQL/NoSQL, query optimization
@devops-engineerCI/CD, infrastructure, containers
@mobile-developeriOS, Android, React Native, Flutter
@frontend-ui-ux-engineerVisual design, CSS, accessibility, UX
@performance-engineerProfiling, benchmarking, optimization

Knowledge & content agents​

AgentPurpose
@content-creatorMarketing copy, technical docs
@strategistSystem design, architecture decisions
@growth-strategistGrowth strategy, conversion
@seo-consultantTechnical SEO
@tech-writerAPI docs, READMEs, changelogs
@storytellerNarrative reflections, technical stories
@multimodal-lookerMedia file analysis

Framework & ops agents​

AgentPurpose
@boot-orchestratorFramework boot orchestration
@processor-pipelineData processing pipelines
@state-managerSession / state persistence
@session-managementSession lifecycle
@inference-improveAutonomous inference improvement
@model-health-checkModel health diagnostics
@framework-compliance-auditFramework compliance
@log-monitorLog diagnostics
@code-analyzerCode metrics, pattern detection
@lintCode linting
@auto-formatAutomated formatting
@git-workflowGit workflow management
@hermes-agentHermes bridge operations

Skill-aligned agents​

AgentPurpose
@api-designREST/GraphQL API design
@architecture-patternsArchitecture patterns
@performance-analysisPerformance analysis
@performance-optimizationPerformance optimization
@project-analysisProject health metrics
@security-scanSecurity vulnerability scanning
@testing-best-practicesTesting QA
@ui-ux-designUI/UX design
info

Removed from prior docs: @librarian, @general, @document-writer — not present in the YML SSOT. Use @tech-writer for documentation tasks.

Invocation​

@enforcer analyze this code
@orchestrator implement feature
@architect design API

thinDispatch Routing​

  • Simple (≤15): single-agent
  • Moderate (≤25): multi-agent
  • Complex (≤50): orchestrator-led
  • Enterprise (>50): orchestrator-led

Memory routing​

Shipped on. See Memory Routing.