vercel-labs/personal-agent-template

Open-source template for a durable personal AI agent — web chat, Slack, Linear, and long-term memory with user-approved saves. Eve, Nuxt, Better Auth, Vercel Connect.

Personal Agent Template — Explained

What it is

An open-source starting point for building your own personal AI assistant. You fork (copy) the code, customize it, and deploy it — the README describes it as a "template" you make your own.

The core idea

One codebase gives you an AI agent you can talk to in multiple places: a web chat, Slack, GitHub, and Linear. The agent keeps persistent memory about you, so it remembers facts across conversations.

Main features

Web chat with lasting threads

You chat with the agent in your browser. Conversations (threads) resume even after you close the page, and tool calls appear live as they happen. The agent runtime (called "Eve") stores the full transcript, so the app itself only keeps a session ID.

Slack

You can message the agent via Slack DMs or @mentions. If you link your Slack account to your web profile, the agent's memory and context follow you between Slack and the web chat.

GitHub

Connect your GitHub account and ask about repositories, pull requests, issues, and CI workflows. The agent uses GitHub tools with a durable approval step for write actions.

Linear

Connect Linear and ask about issues, projects, and cycles. The agent queries Linear's tools directly rather than guessing from memory.

Persistent memory

A bounded list of durable facts about you, stored per user. The agent recalls this before every conversation turn — outside the chat history itself — so it survives even when old messages get compacted. The agent can save and remove entries as the conversation warrants.

Persistent workspace (optional)

Off by default. If you enable it, the agent gets a per-user file storage area at /data, so files it writes in web chat outlive the conversation.

Daily summary

A morning briefing: the agent pulls your active focus from memory, your assigned Linear issues, and suggests a next action. Trigger it from a quick action or by asking in chat.

How it works (simplified)

  1. You sign in with email/password (via a library called Better Auth).
  2. Each turn: the agent recalls your memory slot for the signed-in user.
  3. Chat: the web UI streams responses through the agent; Slack events arrive through a Slack channel.
  4. Tools: the agent calls external tools (weather, GitHub, Linear, memory) as needed.
  5. Internal API: the agent reads things like Slack and phone links through authenticated server routes.

On Vercel, the deployment splits into two services: web (the user interface) and eve (the agent runtime).

Getting started

Easiest path: click the "Deploy with Vercel" button — it clones the repo, asks for three environment variables, and sets up a Neon database.

Self-hosting: requires Node.js 24+ and pnpm. Clone, install, copy .env.example to .env, run the database migration, and start the dev server. Then create an account and start chatting.

Required environment variables (three):

  • BETTER_AUTH_SECRET — generate with openssl rand -base64 32
  • BETTER_AUTH_URL — your app's URL
  • INTERNAL_API_SECRET — a shared secret used by both web and agent services

Customization

The template ships with an example persona named V. You can rename the agent, change the AI model, add tools and skills, configure Slack/Linear, theme the UI, and deploy your fork.

Tech stack (as listed in the README)

  • Eve — the durable agent framework
  • Nuxt — full-stack Vue framework (UI + API)
  • Nuxt UI — component library
  • NuxtHub — PostgreSQL database
  • Better Auth — authentication
  • Drizzle ORM — type-safe database queries
  • Vercel Connect — Slack and Linear integrations

License

MIT — free to use and modify.

Related

  • Project
  • Project
  • Project
  • Project
  • Project