Sub-Agent OrchestratorCustom Agent implementation demonstrating the Agent interface abstraction with an orchestrator that routes queries to specialized sub-agents (research, analysis, support). Shows options passing and structured outputs.Try live demo
Agent Routing PatternRoute user queries to specialized AI agents based on context and intent. Includes dynamic agent selection, load balancing, and fallback handling.Try live demo
Eve Long-Term Memory AgentGive an Eve agent tenant-scoped long-term memory with dynamic instructions and three ordinary tools — remember, list, forget — with scope derived from verified session auth. Runs without provider credentials.View details
Eve Scheduled Digest AgentCron-driven Eve agent that gathers metrics on a schedule, delivers proactive digests, and lets tenants manage their own dynamic reminders. Runs without provider credentials.View details
Eve Simple Tool AgentBuild and verify a filesystem-first Eve agent with a typed weather tool and deterministic eval suite. Runs without provider credentials.View details
Eve Triage Orchestrator AgentMulti-agent support triage on Eve: a coordinator classifies requests and delegates to declared billing, technical, and escalation specialists — each with its own tools and instructions. Runs without provider credentials.View details
Call Options: prepareCallDynamically configure one ToolLoopAgent per request with callOptionsSchema and prepareCall. A customer-support agent rewrites instructions, gates tools, tunes reasoning effort, and injects RAG context based on account tier and urgency.Try live demo
Tool Context: experimental_contextInject request-scoped context (user identity, database handles, session) into ToolLoopAgent tools via experimental_context, so the model never supplies sensitive identity in tool inputs.Try live demo
Loop Control: stopWhenDemonstrate ToolLoopAgent loop control with stopWhen. Covers stepCountIs, hasToolCall, combined conditions, and a custom StopCondition with step timeline visualization.Try live demo
PrepareStep: Trim Message HistoryDemonstrate ToolLoopAgent prepareStep for trimming long message history. Pre-seeded 24-message conversation shows context compression on the first run with per-step trim telemetry.Try live demo
Anthropic Cache Control (AI Gateway)Lightweight ToolLoopAgent pattern for Anthropic ephemeral cache control through Vercel AI Gateway: cached system instructions with cacheControl and reports cache read/write tokens.Try live demo
OpenAI Prompt Caching (AI Gateway)Lightweight ToolLoopAgent pattern for OpenAI prompt caching through Vercel AI Gateway: stable system instructions, promptCacheKey, and per-turn cachedPromptTokens metrics.Try live demo
Just Bash Skills AgentMinimal ToolLoopAgent chat demo: on-call-style skills (incident triage + stakeholder comms) on disk, skill tool loads SKILL.md + paths, readFile pulls reference checklists and templates from the sandbox.Try live demo
Structured Agent Output: Output.arrayDemonstrate structured agent outputs using ToolLoopAgent with Output.array. Returns structured array output with element schema for predictable, type-safe responses.Try live demo
Structured Agent Output: Output.choiceDemonstrate structured agent outputs using ToolLoopAgent with Output.choice. Constrain agent outputs to predefined choices for predictable, type-safe responses.Try live demo
Preview lockedParallel Processing PatternProcess content with multiple AI agents running simultaneously. Demonstrates concurrent analysis for faster results.View details
Preview lockedEvaluator-Optimizer PatternImprove output quality with dual agents. Evaluator analyzes quality while optimizer refines results through iterative feedback.View details
Preview lockedMulti-Step Tool PatternExecute multi-step workflows with typed tools. Includes streaming, tool chaining, and decision-making for automated tasks.YView details
Preview lockedOrchestrator-Worker PatternCoordinate multiple worker agents for project management. Handles task distribution, progress tracking, and result synthesis.View details