Skip to main content

TypeScript Orchestrator Starter

Goals

  • Fast implementation of contract-first agent orchestration
  • LangGraph/CrewAI adapter-ready interfaces
  • MCP-required tool layer with gate-enforced execution

Starter setup

  1. Initialize Node + TypeScript project.
  2. Copy AEEF schema pack into src/contracts/schemas.
  3. Implement preToolHook, postToolHook, and gateDecisionEngine.
  4. Enforce run-ledger write on each orchestration action.

Minimal interfaces

export interface AgentContract { agent_id: string; allowed_tools: string[]; required_gates: string[]; }
export interface GateDecision { gate_id: string; decision: "pass" | "fail" | "conditional"; }

Required references

  • templates/schemas/*.schema.json
  • reference-implementations/orchestration/runtime-adapters/langgraph-adapter.md
  • reference-implementations/orchestration/runtime-adapters/crewai-adapter.md
  • reference-implementations/starter-repos/assets/typescript/