eve-chat-template-eve
Skill5.5k starsChanged 2 months agoApache-2.0View on GitHub
Work safely on Eve-specific internals in the Eve chat template. Use when changing the Eve agent, withEve routes, eveChannel auth, useEveAgent, ClientSession/SessionState, persisted event logs, stream/resume behavior, connection authorization, Vercel Connect MCP connections, local Eve tools, or upstream Eve API assumptions.
- Reads credentials
Trending
Quiet since September.about the whole repository
Who's talking about vercel/eve
- @projectnothing.bsky.social“When frameworks like eve break out, it’s a sign: AI agents are no longer side projects—they’re becoming a …”Bluesky · Jun 17, 2026 · 3 likes
- @github-trending-js.bsky.social“📦 vercel / eve ⭐ 5,184 (+40) 🗒 TypeScript The Open Framework for Building Agents”Bluesky · Sep 17, 2026 · 2 likes
- DataDog/dd-trace-js“feat(llmobs): add external experiment recorder”GitHub · Jul 31, 2026 · 2 reactions
- ComposioHQ/composio“chore(deps-dev): bump the npm-development group with 8 updates”GitHub · Sep 25, 2026 · 1 reactions
- @technews4869.bsky.social“github.com/vercel/eve GitHub - vercel/eve: The Open Framework for Building Agents”Bluesky · Sep 20, 2026 · 1 likes
The biggest 5 of 23 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 23
Talked about on GitHub and Bluesky (23 times).
On GitHub · 17
- Jul 31, 2026feat(llmobs): add external experiment recorder — DataDog/dd-trace-js2 reactions · 5 comments
- Sep 25, 2026chore(deps-dev): bump the npm-development group with 8 updates — ComposioHQ/composio1 reaction · 4 comments
- Sep 14, 2026chore(deps): bump the production-dependencies group across 1 directory with 13 updates — byronwade/rebuzzle.byronwade.com1 reaction · 5 comments
- Sep 11, 2026chore(deps-dev): bump the npm-development group with 5 updates — ComposioHQ/composio1 reaction · 4 comments
- Sep 7, 2026chore(deps): bump the production-dependencies group across 1 directory with 12 updates — byronwade/rebuzzle.byronwade.com1 reaction · 4 comments
12 more on GitHub
- Sep 1, 2026@nuxt/kit missing @nuxt/schema dependency breaks TypeScript with pnpm 12 GVS — nuxt/nuxt1 reaction
- Aug 31, 2026chore(deps): bump the production-dependencies group with 11 updates — byronwade/rebuzzle.byronwade.com1 reaction · 4 comments
- Aug 13, 2026基于 vercel/eve 实现 agents demo 切片 — SawanaLabs/agent-demos1 reaction · 3 comments
- Jul 28, 2026fix(nitro): vercel function rules - preserve relative symlinks — nitrojs/nitro1 reaction · 4 comments
- Jul 3, 2026Add Eve adapter (eve_gateway + eve_local) — paperclipai/paperclip1 reaction · 5 comments
- Jun 30, 2026Install eve skill from vercel/eve — TommyBez/evex1 reaction · 2 comments
- Jun 19, 2026[codex] Read downloads from the sandbox stream — remiconnesson/eve-single-user-agent-starter1 reaction · 1 comment
- Sep 6, 2026build(deps-dev): bump eve from 0.29.2 to 0.51.0 — caveman-ai/agent-sdk0 reactions
- Aug 31, 2026chore(deps): bump eve from 0.22.6 to 0.47.2 — Guileszz/supercli0 reactions · 1 comment
- Aug 26, 2026Bump eve from 0.30.8 to 0.44.3 — aishah-dot/eca0 reactions · 2 comments
- Aug 26, 2026chore(deps): bump eve from 0.31.3 to 0.44.3 in /examples/eve-langfuse-poc — AiLabSportnavi/LangfuseMonitoring0 reactions · 1 comment
- Aug 21, 2026deps: bump eve from 0.38.3 to 0.39.0 — jamesnavinhill/luna0 reactions · 1 comment
On Bluesky · 6
- Jun 17, 2026When frameworks like eve break out, it’s a sign: AI agents are no longer side projects—they’re becoming a new pillar of mainstream software… — @projectnothing.bsky.social3 likes and reposts
- Sep 17, 2026📦 vercel / eve ⭐ 5,184 (+40) 🗒 TypeScript The Open Framework for Building Agents — @github-trending-js.bsky.social2 likes and reposts
- Sep 20, 2026github.com/vercel/eve GitHub - vercel/eve: The Open Framework for Building Agents — @technews4869.bsky.social1 likes and repost
- Aug 11, 2026Cloudflare OS blog: blog.cloudflare.com/cloudflare-os/, github.com/cloudflare/cloudflare-os Vercel eve: vercel.com/blog/introducing-eve ·… — @akash-bhatia.bsky.social1 likes and repost
- Jul 2, 2026Vercel's eve is a filesystem-first framework for durable AI agents: an agent is a directory of instructions, tools, skills, channels, and… — @agentpalisade.bsky.social1 likes and repost
1 more on Bluesky
- Jun 17, 2026The Framework for Building Agents https://github.com/vercel/eve — @laxima-tech.bsky.social1 likes and repost
In this repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- apps/docs/AGENTS.mdAGENTS.md
- apps/templates/eve-chat-template/AGENTS.mdAGENTS.md
- apps/templates/eve-llm-council-template/AGENTS.mdAGENTS.md
- apps/templates/eve-slack-agent-template/AGENTS.mdAGENTS.md
- apps/templates/personal-agent-template/AGENTS.mdAGENTS.md
- packages/eve-code/AGENTS.mdAGENTS.md
- packages/eve-computer-use/AGENTS.mdAGENTS.md
- apps/templates/eve-chat-template/CLAUDE.mdCLAUDE.md
- apps/templates/eve-llm-council-template/CLAUDE.mdCLAUDE.md
- apps/templates/eve-slack-agent-template/CLAUDE.mdCLAUDE.md
- apps/templates/personal-agent-template/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- gh-pr-descriptionSkill
- technical-writingSkill
- test-auditSkill
- dashboard-chat-best-practicesSkill
- mounted-skillSkill
- local-guideSkill
- toolkit-guideSkill
- investigateSkill
- lookup-agent-runSkill
- prSkill
- reviewSkill
- eveSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. About 0 are common, 5 are distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 10
Use this skill to preserve the Eve protocol and durable-session invariants while changing the chat template.
- Very specific: line 14
Read AGENTS.md first. It requires reading the relevant guide under node_modules/eve/dist/docs/public/ before writing code.
- Very specific: line 15
Read docs/how-the-chatbot-works.md for architecture changes and docs/setup-and-deploy.md for setup, auth, storage, or deployment changes.
- Very specific: line 17
Keep Eve runtime code separate from product shell code: agent/ defines agent behavior.
- Very specific: line 21
Treat an app chat row and an Eve session as different things.
- Very specific: line 22
Do not confuse chat_event.eventIndex with SessionState.streamIndex.
- Very specific: line 24
Keep betterAuthEveAuth, localDev(), and vercelOidc() in the Eve channel unless deliberately changing local, browser, or Vercel auth …
- Very specific: line 31
Keep pendingUserMessage for interruption recovery.
- Very specific: line 32
When preserving initial events, merge by prefix and compare JSON structurally.
- Very specific: line 38
Treat message.appended.data.messageDelta as the new text.
- Distinctive: line 39
Read the stream as NDJSON.
- Very specific: line 40
Consider a turn settled on session.completed, session.failed, or session.waiting.
- Distinctive: line 48
Treat composer connection toggles as per-turn intent, not connector provisioning or OAuth state.
- Very specific: line 49
Do not parse assistant text for auth requirements.
- Very specific: line 54
Prefer upstreaming generic Eve lifecycle needs: onSessionStarted(session), hook-level resume APIs, durable event persistence adapters, …
- Distinctive: line 55
Keep template-specific concerns in the template: Better Auth UX, Neon/Drizzle schema, Upstash limits, sidebar pagination, Notion UI …
- Distinctive: line 56
Do not split server events just to make coarse provider deltas look token-level.
- Very specific: line 60
Run pnpm typecheck for protocol/type changes and pnpm build before opening a PR that touches runtime, routes, or docs examples.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Eve Template Runtime
Overview
Use this skill to preserve the Eve protocol and durable-session invariants while changing the chat template.
First Pass
- Read
AGENTS.mdfirst. It requires reading the relevant guide undernode_modules/eve/dist/docs/public/before writing code. - Read
docs/how-the-chatbot-works.mdfor architecture changes anddocs/setup-and-deploy.mdfor setup, auth, storage, or deployment changes. - Search with
rg "useEveAgent|ClientSession|SessionState|message.appended|authorization.required|eveSession|chat_event|streamIndex|continuationToken|defineMcpClientConnection|defineTool". - Keep Eve runtime code separate from product shell code:
agent/defines agent behavior;app/_components/agent-chat.tsxbridges Eve to the web UI;lib/db/*persists app state.
Core Model
- Treat an app chat row and an Eve session as different things. The app row owns URL, title, user ownership,
pendingUserMessage, storedeveSession, and event rows. Eve owns the remote durable session and stream cursor. - Do not confuse
chat_event.eventIndexwithSessionState.streamIndex. The first orders local Postgres rows; the second resumes/eve/v1/session/:sessionId/stream. - Preserve same-origin Eve routes mounted by
withEve(nextConfig):POST /eve/v1/session,POST /eve/v1/session/:sessionId, andGET /eve/v1/session/:sessionId/stream?startIndex=n. - Keep
betterAuthEveAuth,localDev(), andvercelOidc()in the Eve channel unless deliberately changing local, browser, or Vercel auth behavior.
Persistence And Resume
- Persist
SessionStateimmediately after Eve returnssessionIdandcontinuationToken; do not wait for the stream to finish. - Persist each stream event as it arrives, then use the final snapshot as the canonical cleanup pass.
- Upsert events by local
eventIndex; on final snapshot, delete rows beyond the final event length. - Keep
pendingUserMessagefor interruption recovery. Mark it before sending, consume it once in the session page, hide it after a settled event, and clear it after snapshot or authorization skip. - When preserving initial events, merge by prefix and compare JSON structurally. Do not rely on
JSON.stringifykey order. - Reset per-chat refs on route changes: event index, known initial events, stream events, resumed events, local events, pending bubbles, resume-started flags, and finalize timers.
Streaming
useEveAgentreduces Eve events into renderable messages; the template wraps it with a customClientSessionto persist and resume sessions.- Treat
message.appended.data.messageDeltaas the new text. TreatmessageSoFar, reduced message text, and rendered parts as cumulative. - Read the stream as NDJSON. Buffering until newline is normal parsing, not app-level response buffering.
- Consider a turn settled on
session.completed,session.failed, orsession.waiting. Treatauthorization.requiredas a blocked state for normal text input. - Treat
turn.waitingas progress, not a settled turn: the turn is parked, for example while its tasks work or a running call asks a question, and resumes with the nextstep.startedfor the sameturnId. Keep following the stream until one of the settling events above. - On disconnect, reconnect from the next unread remote stream index. On refresh mid-turn, resume from saved
activeChat.sessionand layer resumed events until the final snapshot catches up.
Connections And Tools
- Define local tools in
agent/tools/<snake_case>.tswithdefineTool(...). Tool filenames become runtime tool names, so keep them ASCII snake_case. - Define Vercel Connect-backed MCP connections in
agent/connections/<name>.tswithdefineMcpClientConnection(...)andconnect(process.env.ENV_NAME ?? "local-name"). - Treat composer connection toggles as per-turn intent, not connector provisioning or OAuth state.
- Do not parse assistant text for auth requirements. Use
authorization.requiredandauthorization.completedevents. - Implement Skip as a structured outcome: stop the stream, synthesize declined authorization completion plus
session.waiting, apply those local events to the session, persist them, and clear pending input.
Upstream Signals
- Prefer upstreaming generic Eve lifecycle needs:
onSessionStarted(session), hook-level resume APIs, durable event persistence adapters, authorization continuation helpers, structured connection policy, and stream debug helpers. - Keep template-specific concerns in the template: Better Auth UX, Neon/Drizzle schema, Upstash limits, sidebar pagination, Notion UI toggles, and setup docs.
- Do not split server events just to make coarse provider deltas look token-level. Preserve wire semantics and smooth only at the UI layer when needed.
Verification
- Run
pnpm typecheckfor protocol/type changes andpnpm buildbefore opening a PR that touches runtime, routes, or docs examples. - Manually verify first message, follow-up send, refresh during a response, authorization Connect/Skip, disabled input while auth is pending, and Notion enabled/disabled turns when those flows are touched.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

