eve Content Agent Template
A Slack-based content assistant built on eve. Writers @mention it in Slack and it drafts blog posts, LinkedIn and X posts, release notes, and newsletters in your house voice, pulling source material from Notion and publishing approved pieces back to Notion as the signed-in writer.
- Lives in Slack. Answers @mentions and DMs, replies in threads, and renders approvals as buttons.
- Writes in your voice. One editable style skill per surface (blog, LinkedIn, X, release notes, newsletter), enforced by a deterministic style-lint tool.
- Grounded in Notion. Each writer signs in to their own Notion through Vercel Connect, so drafts are created as the real person with their own permissions, with no shared secret — and page creation pauses for the writer's approval before it runs.
- Stores files in Vercel Blob. Export drafts, save images and attachments, and read them back, authenticated by the project's OIDC token.
Deploy
Deploying with the button provisions everything the agent needs and wires it up for you:
- a Slack connector (sets
SLACK_CONNECTOR, with the event trigger pointed at/eve/v1/slack), - a Notion connector (sets
NOTION_CONNECTOR), - a Vercel Blob store for the asset tools.
Once deployed, @mention the bot in your Slack workspace to start drafting.
Tech stack
| Layer | Technology |
|---|---|
| Agent framework | eve |
| Language | TypeScript (strict, ESM) |
| Chat surface | Slack, via Vercel Connect |
| Source & publishing | Notion (MCP), user-scoped OAuth via Vercel Connect |
| File storage | Vercel Blob |
| Model access | Vercel AI Gateway |
| Sandbox | Vercel Sandbox |
| Lint & format | Ultracite (Biome) |
Zero static keys.
Authentication runs entirely on Vercel Connect
(Slack and Notion) and Vercel OIDC (Vercel Blob and AI
Gateway). There are no API keys or client secrets to manage in code or .env files: Notion is
authorized per writer in the browser, and Blob and the model authenticate with the project's
OIDC token.
Quick start with an AI coding agent
If you're working with an AI coding agent like Claude Code or Cursor, you can use this prompt to have it help you with building your agent:
I want to build a Slack agent with the eve framework, using the eve content agent template. Read the setup instructions at https://agent-resources.dev/eve-content-agent-template.md and follow them. They will cover deploying the template, building with eve, how everything works overall, and more.
What's inside
agent/agent.ts # model configurationinstructions.md # the agent's behaviorchannels/slack.ts # Slack surface (Vercel Connect credentials)connections/notion.ts # Notion workspace, user-scoped OAuth; page creation requires approvalsandbox.ts # Vercel Sandbox backendsubagents/researcher/ # fresh-context web researcher (own session, web tools only)reviewer/ # fresh-context draft reviewer (own session); pulls its rubric via a tooltools/lint_against_style.ts # deterministic banned-words checkupload_asset.ts # Vercel Blob: store text or binary contentlist_assets.ts # Vercel Blob: browse stored assetsget_asset_info.ts # Vercel Blob: metadata without downloadingdownload_asset.ts # Vercel Blob: read a stored file backdelete_asset.ts # Vercel Blob: delete (requires approval)get_writer_preferences.ts # load this writer's saved style preferencessave_writer_preferences.ts # save standing preferences (per-writer, principal-scoped)clear_writer_preferences.ts # clear this writer's preferences (requires approval)lib/writer-preferences.ts # principal-scoped Blob key + reserved-prefix guardsurfaces.generated.ts # generated SURFACES enum (skill folders are the source of truth)skills/ # one style skill per surfaceblog-style/ # + best-practices.md and format-specs.mdlinkedin-style/ # + best-practices.md and post-specs.mdx-style/ # X (Twitter) — + best-practices.md and post-specs.mdrelease-notes-style/newsletter-style/shared-references/ # house-wide writing rules (source of truth), synced into each skillai-phrases-to-avoid.mdplain-english-alternatives.mdscripts/sync-shared.mjs # syncs shared refs into skills; generates SURFACES + reviewer rubric (pnpm sync:shared)
Local development
Link the project you deployed (or a fresh one) and pull its environment:
vercel linkvercel env pull
Then run the development server and link a model provider with /model in the TUI:
pnpm dev
You can chat with the agent directly in the dev TUI to test the drafting, style-lint, Notion, and Blob flows. The Slack surface itself only runs against a deployment. Ship changes with:
eve deploy
Linting and formatting
This project uses Ultracite (a Biome preset) for linting and formatting:
pnpm check # check formatting and lint rulespnpm fix # auto-fix what is fixable
Setting up the connectors by hand
The Deploy button provisions these for you. To set them up manually (for a project you didn't create with the button), use the Vercel CLI:
# Notion connector (note the printed UID, e.g. mcp.notion.com/notion -> NOTION_CONNECTOR)vercel connect create mcp.notion.com --name notion# Slack connector (note the UID, e.g. slack/<name> -> SLACK_CONNECTOR), then point its# event trigger at the route the agent servesvercel connect create slack --name <name> --triggersvercel connect attach slack/<name> --triggers --trigger-path /eve/v1/slack# Blob store, connected to the project for all environmentsvercel blob create-store <name> --access public --yes
Customizing
- Voice: edit the per-surface skills in
agent/skills/*/SKILL.md, and thereferences/banned-words.jsoneach one lints against. Add a new surface by adding a new<surface>-styleskill folder and runningpnpm sync:shared— theSURFACESenum shared bylint_against_styleand the reviewer is generated from the folders, so there's no list to edit. - House-wide rules: edit the shared writing rules in
shared-references/(the source of truth), then runpnpm sync:shared. It copies them into every skill'sreferences/and regenerates the managed## Shared referencessection in eachSKILL.md(a skill's own## Referencessection is left alone), and regeneratesagent/lib/surfaces.generated.tsand the reviewer's rubric module. The sync also runs automatically onpnpm devandpnpm build. Never edit the synced copies or generated files directly. - Behavior: edit
agent/instructions.md. - Model: edit
agent/agent.ts(or run/modelin the dev TUI). - Tools: add or change tools in
agent/tools/. The filename is the tool name.
The agent auto-updates as you edit these files.
Learn more
- Draft content in your voice from Slack with eve: Vercel Knowledge Base guide
- eve documentation: the framework powering this agent.
- Vercel Connect: manages the Slack and Notion credentials.
- Vercel Blob: object storage for the asset tools.


