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 에이전트›Ch4. Compiler and Runtime Graph
한국어English

Ch4. Compiler and Runtime Graph

How Eve transforms source manifests into compiled manifests and runtime agent graphs.

Key takeaways

  • Eve stability comes from separating source manifest, compiled manifest, and runtime graph.
  • Tool registries merge framework defaults, authored tools, connections, subagents, and dynamic tools.
  • .eve/ artifacts and manifest versions should be treated as production release evidence.

Eve does not simply interpret source files at runtime. It discovers files, compiles them into artifacts, and resolves those artifacts into runtime registries.

Pipeline Overview

What compileAgent() Means

compileAgent() produces the material the runtime will later load:

  • diagnostics
  • source discovery manifest
  • compiled agent manifest
  • module map
  • build output metadata

If diagnostics fail, the compiler still writes useful artifacts so operators can inspect what happened.

Manifest Version As An Operations Surface

Manifest shape is an internal contract. When upgrading Eve:

  • compare compiled manifest versions
  • inspect diagnostics changes
  • run evals against old and new builds
  • check tool and channel names
  • inspect subagent graph differences

Runtime Graph Resolution

Runtime graph resolution hydrates a node for each agent and subagent. It combines authored configuration with framework defaults and runtime helpers.

InputRuntime result
agent.tsmodel, output schema, compaction, experimental flags
instructions.*always-on prompt
tools/**authored tools and default overrides
connections/**qualified connection tools
sandbox/**sandbox backend and workspace
subagents/**callable child agents
hooks/**event subscribers
channels/**inbound routes and event delivery

Tool Registry And Name Collisions

SourceNaming
framework defaultsbuilt-in names such as shell/file/search/skill tools
authored toolsfile stem
connection toolsconnection__<connection>__<tool>
dynamic tools<fileSlug>__<key>
subagentschild agent names

Override and disable default tools intentionally. If a dangerous built-in tool is not needed, remove it from the agent instead of relying on prompt policy.

Controlling Framework Defaults

ApproachUse case
keep defaultsafe and needed for the agent
override defaultadd logging, policy, or narrower behavior
disable defaultremove unnecessary authority
split to subagentgive a risky capability to a narrower child agent

Runtime Nodes Are Independent Units

Each declared subagent is a separate runtime node with its own config, tools, skills, sandbox, and state. This matters for security design. A parent can delegate to a child without sharing every capability.

turnAgent Is A Turn Snapshot

Eve resolves the agent for a turn, including dynamic capabilities and current context. Treat this as the actual execution surface for the turn, not merely the static files on disk.

HMR And Production Prompt Snapshots

Local dev may recompile and hot-reload authored files. Production must pin the build artifacts used for a deployment. A prompt or tool change should be tied to:

  • compiled manifest
  • eval results
  • model id and options
  • release notes
  • rollback plan

Deployment Gate

GateStandard
diagnosticsno unexpected warnings/errors
manifest diffexpected changes only
default toolsdisabled/overridden when risky
connection toolsallow/block and approval checked
subagentsisolation reviewed
evalsstrict suite passes
artifacts.eve/ kept as release evidence

Related docs

Ch2. Source Code Atlas

Read packages/eve/src by implementation responsibility and identify the files enterprise reviewers should understand.

Ch1. Eve Mental Model

Understand Eve as filesystem authoring, durable workflow execution, runtime harness, and channel protocol.

Sandbox Tool Runtime

Vercel Enterprise AI Platform · Isolate code, file, browser, and shell execution for AI agents.

Graph-Centric Orchestration

Vercel Enterprise AI Platform · Model AI workflows as state, nodes, edges, gates, and recovery paths.

Cmd. /mcp

Codex Command Master · List configured MCP tools and inspect server diagnostics.

Ch3. Project Layout and Discovery

How Eve turns agent directory slots into a source manifest, and why path-derived identity is an operations contract.

Ch5. agent.ts, Models, Compaction

Interpret defineAgent configuration as runtime policy for models, output schemas, compaction, and experimental flags.

On this page

Pipeline OverviewWhat compileAgent() MeansManifest Version As An Operations SurfaceRuntime Graph ResolutionTool Registry And Name CollisionsControlling Framework DefaultsRuntime Nodes Are Independent UnitsturnAgent Is A Turn SnapshotHMR And Production Prompt SnapshotsDeployment Gate