Problems solved

Technical challenges this implementation handles out of the box.
  • Route requests to specialist agents
  • Narrow each specialist's tool and instruction surface
  • Run independent specialist delegations in parallel
  • Verify multi-agent flows deterministically

Use cases

Products and workflows this pattern is designed to support.
  • Customer support request triage
  • Multi-agent specialist routing
  • Parallel handling of multi-intent requests
  • Testing declared subagent orchestration

Setup

Requirements, wiring steps, and what this pattern adds to your project.

Requirements

Complexity
Intermediate
Setup time
~10 minutes
Node
24+
Memory
256MB

Getting started

Pick how you want to pull this pattern in — then wire env vars and routes the same way.

  1. 1

    Install into an empty project directory

    Shadcn Icon

    Copy the tokenized install command from the preview toolbar and run it in an empty directory so the Eve package and agent tree stay together.

  2. 2

    Install dependencies and run the verification suite

    With Node.js 24+, run `pnpm install`, `pnpm verify:discovery`, `pnpm typecheck`, `pnpm build`, and `pnpm eval`.

  3. 3

    Run the Eve development server

    Run `pnpm dev` after every verification gate passes.

Files added

23 files
  • .gitignore
  • .node-version
  • agent/agent.ts
  • agent/instructions.md
  • agent/subagents/billing/agent.ts
  • agent/subagents/billing/instructions.md
  • agent/subagents/billing/tools/lookup_invoice.ts
  • agent/subagents/escalation/agent.ts
  • agent/subagents/escalation/instructions.md
  • agent/subagents/escalation/tools/create_ticket.ts
  • agent/subagents/technical/agent.ts
  • agent/subagents/technical/instructions.md
  • agent/subagents/technical/tools/get_system_status.ts
  • agent/tools/agent.ts
  • evals/evals.config.ts
  • evals/no-delegation-for-smalltalk.eval.ts
  • evals/parallel-fanout.eval.ts
  • evals/route-billing.eval.ts
  • evals/route-escalation.eval.ts
  • evals/route-technical.eval.ts
  • package.json
  • README.md
  • tsconfig.json

Dependencies

3 total

npm packages

3
AISDKeveZod