Extend eve agents with installable extensions
Quick Answer
Vercel AI introduces installable extensions for eve agents, allowing users to package tools and configurations without copying them into the agent.
Quick Take
Vercel AI introduces installable extensions for eve agents, allowing users to package tools and configurations without copying them into the agent. This enables seamless upgrades via package managers and supports typed configuration validation using libraries like Zod.
Key Points
- Extensions are reusable packages that integrate directly into eve agents.
- Single command scaffolds a new extension, initializing Git and installing dependencies.
- Configuration schemas can be declared using standard libraries for validation.
- Agents can override or wrap extension tools without forking the package.
- Typed results ensure type safety across the extension's boundaries.
Article Content
From source RSS / original summaryYou can now package tools, connections, skills, instructions, and hooks as an extension, a reusable package that mounts into any agent. Nothing is copied into the agent, so upgrades come through your package manager. eveScaffold a new extension with a single command:This creates the package, installs dependencies, and initializes Git. An extension is an agent-shaped directory: tools, connections, skills, and hooks all work exactly as they do in an agent, with names derived from paths.
Consuming an extension takes one file: mount it under, and its contributions compose into the agent as. agent/extensions/<namespace>__<name>The namespace comes from the mount filename, so an extension that ships a tool at shows up in the agent as:tools/search. tscrm__searchExtensions also include:Get started with, or read the. npx eve@latest extension initdocumentationRead moreDeclare a config schema using a standard schema library, such as Zod.
Consumer settings are validated at mount time and typed everywhere the extension reads them. Typed configuration: Consuming agents can replace an extension's tool, wrap it with an approval policy, or remove it with, all without forking the package. Overrides: disableTool()Hooks can narrow an extension tool's result with, keeping type safety across the package boundary. Typed tool results: toolResultFrom
Want this in your inbox every morning?
Daily brief at your local 8am — bilingual EN/中文, free.
More from Vercel AI
See more →
The Agent Stack
The Agent Stack by Vercel AI provides essential building blocks for creating production-grade agents, enabling seamless integration across multiple AI models and secure operations. It features components like AI Gateway for model routing, Workflow SDK for durable execution, and Vercel Connect for scoped access, streamlining agent development and deployment across various platforms.

