eve
此技能是一个文件系统优先的持久化后端AI智能体框架。它通过将智能体配置(如指令、工具、技能、通道和调度)作为文件管理,极大地简化了AI智能体的创建、编辑和调试过程,提升了开发效率和可维护性。
npx skills add https://github.com/vercel/eve --skill eveBefore / After 效果对比
1 组在没有此技能之前,开发者需要手动配置AI智能体的各项组件,如指令、工具和调度,这通常涉及复杂的代码或多系统集成,导致配置耗时且容易出错,难以快速迭代和维护。
该 Skill 通过文件系统优先的方法,将智能体配置模块化为易于管理的文件。此举显著简化了配置流程,减少了错误,并加快了智能体的开发、调试和部署速度,提升了整体效率。
eve
eve is a filesystem-first framework for durable backend AI agents. An agent is a directory on disk — instructions, skills, tools, connections, channels, subagents, and schedules are all files — and eve compiles and runs it.
Source of truth
The complete documentation ships inside the eve package. Do not rely on this
skill for guidance — always read the bundled docs, which match the installed
version exactly:
node_modules/eve/docs/
Start with node_modules/eve/docs/README.md. It contains the full
index and recommended reading order. Before writing any eve code, read the
relevant guide there first.
If eve is not installed yet, install it (npm install eve) or scaffold a new
agent with npx eve init <agent-name>, then read the bundled docs.
eve is a filesystem-first framework for durable AI agents. Core agent capabilities live in conventional locations, so projects are easier to inspect, extend, and operate.
The filesystem is the authoring interface
A typical eve agent has this structure:
my-agent/
└── agent/
├── agent.ts # Optional: model and runtime config
├── instructions.md # Required: the always-on system prompt
├── tools/ # Optional: typed functions the model can call
│ └── get_weather.ts
├── skills/ # Optional: procedures loaded on demand
│ └── plan_a_trip.md
├── channels/ # Optional: message channels (HTTP, Slack, Discord)
│ └── slack.ts
└── schedules/ # Optional: recurring cron jobs
└── weekly_recap.ts
Read the documentation for the full project layout and guides.
Quick start
npx eve@latest init my-agent
This creates a new my-agent directory, installs its dependencies, initializes Git, and starts
the interactive terminal UI.
To add eve to an existing project, pass a path:
cd myapp
npx eve@latest init .
[!NOTE] The
evepackage includes its full documentation, so coding agents can read it locally fromnode_modules/eve/docs.
A minimal example
The generated project includes an agent directory. Replace agent/instructions.md with:
You are a concise weather demo assistant. Tell users that the weather data is mocked.
Add a mock weather tool at agent/tools/get_weather.ts:
import { defineTool } from "eve/tools";
import { z } from "zod";
export default defineTool({
description: "Return mock weather data for a city.",
inputSchema: z.object({ city: z.string().min(1) }),
async execute({ city }) {
return { city, condition: "Sunny", temperatureF: 72 };
},
});
Choose the model in agent/agent.ts:
import { defineAgent } from "eve";
export default defineAgent({
model: "anthropic/claude-sonnet-4.6",
});
For a new scaffold, start the agent again:
npm run dev
That's a working agent. Add human-in-the-loop prompts, subagents, and schedules as needed. Follow the first-agent tutorial for a complete walkthrough.
Community
The eve community lives on GitHub Discussions, where you can ask questions, share ideas, and show what you've built.
Contributing
Contributions are welcome. See CONTRIBUTING.md to get the repo running locally and land a change, and use issues and discussions to collaborate. By participating, you agree to our Code of Conduct.
Security
Please do not open public issues for security vulnerabilities. Instead, follow SECURITY.md and report responsibly to responsible.disclosure@vercel.com.
Beta terms
eve is currently in beta and subject to the Vercel beta terms; the framework, APIs, documentation, and behavior may change before general availability.
用户评价 (0)
发表评价
暂无评价
统计数据
用户评分
为此 Skill 评分