Skip to main content
reopt Handbook
reopt Handbook
Enterprise Eve Agent Development

Core Architecture

Ch1. Eve Mental ModelCh2. Source Code AtlasCh3. Project Layout and DiscoveryCh4. Compiler and Runtime Graph

Agent Quality Design

Ch5. agent.ts, Models, CompactionCh6. Context, Skills, Dynamic CapabilitiesCh7. Tools, Approval, ConnectionsCh8. Sandbox Secure Runtime

Operational Runtime

Ch9. Channels, Auth, StreamingCh10. Subagents, Workflows, Remote AgentsCh11. Schedules, State, HooksCh12. Evals and Quality Gates

Production Operations

Ch13. Observability and DeploymentCh14. Enterprise PatternsCh15. Migration and Governance

Appendix

Official Docs CrosswalkVerification ReportUpdates
Handbook›엔터프라이즈 Eve 에이전트›Ch10. Subagents, Workflows, Remote Agents
한국어English

Ch10. Subagents, Workflows, Remote Agents

Use Eve built-in agent tool, declared subagents, remote agents, and experimental Workflow for multi-agent design.

Key takeaways

  • Eve subagents are delegation units with their own sessions, not simple function calls.
  • Built-in agent shares parent capabilities; declared subagents have their own tools, skills, sandbox, and state.
  • Remote agents and experimental Workflow need explicit output schemas, auth, and failure policy.

Subagents are how Eve breaks work into smaller durable runs. Use them for quality, specialization, and authority reduction.

Two Subagent Types

TypeDefined byAuthority/state
built-in agent toolcurrent agent copyshares parent tools/sandbox, fresh history/state
declared subagentagent/subagents/<id>/own tools, skills, sandbox, state

Built-in agent Tool

The built-in agent tool launches a fresh copy of the current agent for parallel or focused work. It is useful for decomposition but is not a security boundary because it shares the parent's capability surface.

Use it for:

  • parallel summarization
  • drafting alternatives
  • independent analysis of the same evidence

Avoid it when authority must be reduced.

Declared Subagent

agent/subagents/researcher/
├── agent.ts
├── instructions.md
├── tools/
└── skills/
agent/subagents/researcher/agent.ts
import { defineAgent } from "eve";

export default defineAgent({
  description: "Research internal documentation and return cited findings.",
  model: "anthropic/claude-opus-4.8",
});

The description is required because the parent model uses it to decide when to delegate.

Isolation Boundary

SurfaceShared with parent?
historyno
stateno
skillsno
toolsno
sandboxseparate for declared subagent
channel metadataprojected from parent where applicable

This is why declared subagents are useful for least-privilege architecture. Give a researcher read-only connections and an operator approval-gated write tools.

What The Parent Sees

The parent receives the subagent result, not all internal reasoning. Use outputSchema when the parent needs a stable machine-readable contract.

outputSchema: z.object({
  finding: z.string(),
  citations: z.array(z.string()),
  risk: z.enum(["low", "medium", "high"]),
});

Remote Agents

Remote agents let one Eve deployment call another deployment as a subagent.

agent/subagents/data-reviewer.ts
import { defineRemoteAgent } from "eve/agents";
import { vercelOidc } from "eve/agents/auth";

export default defineRemoteAgent({
  url: "https://data-reviewer.example.com",
  description: "Reviews warehouse analysis plans for privacy and cost risk.",
  auth: vercelOidc(),
});

Use remote agents when:

  • ownership belongs to another team
  • the capability has its own deploy cadence
  • data boundaries require a separate service
  • scaling characteristics differ

Remote Auth

Auth patternUse
vercelOidc()Vercel deployment-to-deployment trust
bearer/header functioncustom service auth
no authlocal development only

Remote agents are production APIs. Treat them like external services with SLOs, auth, versioning, and incident ownership.

Experimental Workflow

ExperimentalWorkflow lets the model write JavaScript to orchestrate subagents inside a durable step.

agent/tools/workflow.ts
export { ExperimentalWorkflow as default } from "eve/tools";

Use it narrowly:

  • only subagent orchestration
  • no direct filesystem/network/arbitrary imports
  • no sensitive side effects inside workflow code
  • strong eval coverage

Orchestration Patterns

PatternStructureUse
Fan-out/fan-inparent calls multiple subagents and aggregatesresearch, review, analysis
Specialist chainresearcher -> reviewer -> operatorsafe execution pipeline
Authority splitread-only agent vs write agentcompliance and approval
Remote portfolioteam-owned remote agentsorganizational scaling
Human proxychild HITL surfaced through parent channelunified approval UX

Evaluation Criteria

ConcernEval
delegationparent calls expected subagent
isolationchild cannot call parent-only tool
output contractschema validation
failureparent handles child failure
HITL proxychild approval reaches user
costsubagent fan-out bounded

Related docs

Subagents

Claude Code Complete Guide · Delegate bounded work while keeping the main Claude Code session accountable.

Ch13. Observability and Deployment

Operate Eve with OpenTelemetry, Workflow tags, deployment checklists, health checks, and production runbooks.

Ch15. Migration and Governance

Migrate existing agents into Eve and establish enterprise governance for agent portfolios.

Cloud Tasks

Advanced Codex Usage · Use remote Codex tasks for parallel attempts, long work, and reviewable outputs.

Component Spec

Design Systems for the AI Era · Component schemas that AI can interpret and generate accurately.

Ch9. Channels, Auth, Streaming

How Eve channels own session creation, continuation tokens, route auth, NDJSON streams, and frontend/client integration.

Ch11. Schedules, State, Hooks

Connect Eve cron schedules, durable state, and stream-event hooks to automation, memory, and audit.

On this page

Two Subagent TypesBuilt-in agent ToolDeclared SubagentIsolation BoundaryWhat The Parent SeesRemote AgentsRemote AuthExperimental WorkflowOrchestration PatternsEvaluation Criteria