Agent starter template
A starting point for your next specialist. Define its purpose, choose its knowledge and shape how it works.
Opening tasks…
Task Orchestration
Explore durable agent workflows alongside the AI SDK that powers IntelHub.
IntelHub uses Vercel AI SDK for model interaction, streaming and AI interfaces. Eve builds on AI SDK for model calls and uses Workflow SDK to checkpoint and resume agent sessions. Explore Eve.
Vercel AI SDK agent templates · Drafts last until page refresh. Execution is not connected.
Build from the universal starter template using Vercel AI SDK. Your other framework collections stay separate.
A starting point for your next specialist. Define its purpose, choose its knowledge and shape how it works.
Vercel AI SDK reference library for model calls, streaming, tools and UI.
Use these as reference points for future workflows. Opening a reference does not configure or launch anything.
Browse the official collection of Vercel and community recipes.
Where it fits: Use the environment selector for Node.js, API servers and other approaches beyond this Next.js reference set.
Explore the longer application-building guides.
Where it fits: Find additional methods before choosing a focused implementation.
Connect retrieved knowledge, embeddings and agent tools.
Where it fits: Explore evidence retrieval while preserving our existing Knowledge ownership and review process.
Build an agent that accepts images and PDFs.
Where it fits: Review file handling and the selected provider's supported input formats.
Generate SQL, explain queries and visualize results from natural-language input.
Where it fits: Study a data-analysis interface before configuring database permissions.
Produce a completed response from a prompt.
Where it fits: Start with one bounded model interaction and a defined output.
Generate a response using a series of conversation messages.
Where it fits: Compare message history handling with a single prompt.
Display text progressively as generation proceeds.
Where it fits: Explore response updates and completion boundaries in a simple interface.
Connect streamed conversation responses to the chat interface.
Where it fits: Reference the client transport and server stream relationship.
Combine steps with different settings into one assistant UI message.
Where it fits: Study step boundaries separately from durable workflow execution.
Render streamed Markdown while handling incomplete syntax and unchanged blocks.
Where it fits: Compare the recipe with our existing streaming document display.
Transform model events into an application-defined stream format.
Where it fits: Review event structure before adding custom progress or tool displays.
Expose image generation as a tool within a conversation.
Where it fits: Explore image output delivery and owned artifact storage.
Send text and image inputs and stream the response.
Where it fits: Review typed content and provider capability checks before adapting image input.
Accept a PDF alongside a chat message.
Where it fits: Match supported document inputs to the selected provider and upload policy.
Submit a document through a form and generate a structured response.
Where it fits: Explore a document-intake process with explicit input and output validation.
Use schema-constrained generation for structured data.
Where it fits: Define a verifiable result contract for an individual model step.
Display structured output incrementally as it is generated.
Where it fits: Keep partial display distinct from a fully validated final result.
Connect model tool requests to application functions.
Where it fits: Review input schemas and authorized execution boundaries.
Return tool results to the model for subsequent steps.
Where it fits: Explore bounded tool sequences with explicit stop conditions.
Retrieve tools through an MCP client and manage its lifecycle.
Where it fits: Study connection cleanup and permitted tools before enabling a server.
Add a human decision before an agent executes a tool.
Where it fits: Compare the SDK approval flow with our existing exact-action approval controls.
Share a chat instance between interface components.
Where it fits: Keep the conversation display and controls working from one state owner.
Control which message data the chat transport sends.
Where it fits: Review request context and validation before changing admitted content.
Render a component for a tool result inside a conversation.
Where it fits: Explore useful structured displays alongside textual responses.
Track consumption across agent steps and expose usage records.
Where it fits: Reference accounting visibility while retaining our existing aggregate limits.
Inspect a historical middleware example for caching model responses.
Where it fits: The source says it is not updated to v5. Review it against our installed v7 SDK before adapting.
Start with a local agent, then explore approvals, durable workflows, delegation and evaluations.
Use these as reference points for future workflows. Opening a reference does not configure or launch anything.
Start with agent/instructions.md, Node 24 and access to a supported model provider.
Where it fits: Run a text-only turn against the installed IntelHub verification agent before adding tools.
Declare a tool with a schema, then decide where it executes and when it requires approval.
Where it fits: Start with a read-only task lookup. Test approval and denial separately before enabling writes.
Use workflow steps and a durable wait to checkpoint work while awaiting input.
Where it fits: With persistent workflow storage configured, pause a run, restart the runtime, then resume the same run and verify its side effect happens once.
Put a focused playbook in Markdown under the agent's skills directory.
Where it fits: Give an orchestration agent a review checklist that only loads when relevant.
Define a child agent with its own instructions and tools.
Where it fits: Give a research agent a bounded review request and validate the result before acting on it.
Exercise agent turns with assertions and stub tools to isolate behavior.
Where it fits: Check that a read-only request succeeds and an approval-gated action waits for a decision.
Use the Next.js integration to proxy requests to a separate Eve service.
Where it fits: Verify IntelHub session ownership and route protection before connecting the UI to Eve.