Skip to main content

Agents

Era Code configures specialized AI agents for different tasks. Each agent has specific capabilities and constraints to ensure focused, high-quality work.

Agent Overview

Primary Agents

AgentPurposeCan Edit Code
orchestrationMain coordinator, delegates to specialist agentsYes
planStrategic planning, creates docs/plansNo

Implementation Specialists

AgentPurposeCan Edit Code
backend-developerServer-side code and APIsYes
frontend-developerReact/UI componentsYes
database-engineerSchema design and migrationsYes
infrastructure-engineerDocker, K8s, CI/CDYes
api-integratorWebhooks and SDK clientsYes
code-refactorerRefactoring without behavior changeYes
migration-engineerTechnology and framework migrationsYes

Testing Specialists

AgentPurposeCan Edit Code
unit-test-engineerUnit testsYes (tests)
integration-test-engineerAPI and cross-service testsYes (tests)
e2e-test-engineerEnd-to-end workflow testsYes (tests)
security-test-engineerOWASP and secrets scanningYes (tests)
performance-test-engineerLoad testing and benchmarksYes (tests)

Review Specialists

AgentPurposeCan Edit Code
correctness-reviewerLogic and correctness reviewNo
security-reviewerSecurity vulnerability reviewNo
architecture-reviewerDesign and pattern reviewNo
accessibility-reviewerAccessibility compliance reviewNo

Operations Specialists

AgentPurposeCan Edit Code
incident-analystRoot cause analysis and debuggingYes
observability-engineerLogging, metrics, and tracingYes
alerting-engineerAlert rules and escalationYes
rollout-strategistDeployment strategy and rollbackYes

Planning & Research

AgentPurposeCan Edit Code
requirements-analystBreak down requirements into specsNo
solutions-architectSystem design decisionsNo
task-decomposerSplit large tasks into subtasksNo
codebase-explorerFast codebase explorationNo
technology-researcherDocumentation and web researchNo

Documentation & Release

AgentPurposeCan Edit Code
developer-guide-authorTechnical documentationYes
api-docs-writerAPI reference documentationYes
runbook-authorOperational runbooksYes
release-engineerRelease notes and versioningYes
ui-preview-generatorVisual UI preview generationYes

Build & Dependencies

AgentPurposeCan Edit Code
ci-pipeline-engineerCI/CD pipeline configurationYes
container-engineerDockerfile and container optimizationYes
dependency-analystDependency auditing and updatesYes

Primary Agents

Orchestration

The main coding agent. For non-trivial changes, it coordinates an implementation pipeline by delegating to specialist agents:

  1. Plan (optional) — delegate to plan for complex multi-step features
  2. Research — delegate to technology-researcher for library docs and best practices
  3. Evaluate — load approach-evaluation skill to assess alternatives
  4. Implement — delegate to appropriate implementation specialist (e.g., backend-developer, frontend-developer)
  5. Test — delegate to appropriate test specialist (e.g., unit-test-engineer, e2e-test-engineer)
  6. Review — delegate to review specialists (correctness-reviewer, security-reviewer)
  7. Handle Verdict — on REJECT, send fixes back to implementation specialist (max 3 cycles)
  8. Validate — load code-validation skill (the "Iron Law")

For trivial changes (one-line fixes, config, docs), the pipeline is skipped but validation always runs.

Plan

Strategic planning agent for complex features. Creates design documents in docs/plans/ and evaluates multiple approaches before implementation begins.

Use when: Complex multi-step features, architectural decisions, or when upfront design is needed.

Deprecated Agents

The following agents still exist as stubs for backward compatibility but route to their specialist replacements:

DeprecatedRoutes To
coderImplementation specialists via orchestration
test-writerTesting specialists via orchestration
reviewerReview specialists via orchestration
debuggerincident-analyst
explorecodebase-explorer
researchertechnology-researcher
docs-generatordeveloper-guide-author
readme-generatordeveloper-guide-author

Switching Default Agent

The default agent is plan. To switch to orchestration:

# Set globally
era-code config --set settings.default_agent=orchestration

# Or override at launch
era-code start --agent orchestration

When to Use Each Agent

TaskRecommended Agent
Implement a featureorchestration (coordinates pipeline)
Plan a complex featureplan
Debug a failing test/era-debugincident-analyst
Research an API/era-researchtechnology-researcher
Map system architecture/era-discovertechnology-researcher
Find files matching a pattern/era-explorecodebase-explorer
Generate documentationdeveloper-guide-author
Update README/era-readmedeveloper-guide-author
Update the whole era-core monorepo/core-catchuporchestration
Review securitysecurity-reviewer
Set up CI/CDci-pipeline-engineer
Database migrationdatabase-engineer