Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

6.4 KB
Raw Blame

Customization Guide

Back to README | See also: Environment, Architecture

Personal Agent Template ships with V as the example persona. This guide covers how to fork and make it yours.

1. Rename your agent

Branding metadata

Edit lib/agent.ts:

export const agent = {
  name: "My Agent",
  slug: "my-agent",
  tagline: "Your personal AI assistant",
  description: "Remembers your context across conversations and channels.",
  avatar: {
    icon: "i-lucide-bot", // or any Lucide icon
  },
} as const;

Also update site metadata in apps/web/app/app.config.ts (site.name, site.title, site.description, site.tagline).

Replace branding assets in apps/web/public/:

File Purpose
banner.png README hero banner
og.png Open Graph / Twitter card preview
favicon.ico Browser tab icon

Use your own design files when ready — keep them in apps/web/public/ and update site.ogImage in apps/web/app/app.config.ts if the path changes.

This name appears in the navbar, settings, and integration cards.

Persona and behavior

Edit agent/lib/base-instructions.ts — system prompt, tone, tool usage rules, memory behavior.

Search the codebase for V to update remaining UI copy in Vue components.

Package metadata

Update package.json name, description, and repository if you publish your fork.

2. Change the AI model

Edit agent/agent.ts:

export default defineAgent({
  model: "anthropic/claude-sonnet-4.6", // change provider/model
  // ...
});

See Eve docs for supported models and provider options.

3. Memory categories

Categories are defined in lib/types/memory.ts:

  • MEMORY_CATEGORIES — enum values
  • MEMORY_CATEGORY_LABELS — UI labels
  • MEMORY_CATEGORY_HEADERS — import parser aliases

If you add or rename categories, also update:

Each category stores one prose block. Saves replace the entire block, not partial deltas.

4. Add a tool

  1. Create agent/tools/my-tool.ts using Eve's defineTool
  2. Register it in Eve's tool discovery (auto-loaded from agent/tools/ by convention — verify in Eve docs)
  3. Add a UI component in apps/web/app/components/chat/tool/ if the tool needs custom rendering
  4. Wire the component in apps/web/app/components/chat/message/MessageContentEve.vue

See existing tools: agent/tools/weather.ts, agent/tools/save_memory.ts.

5. Add a skill

Skills are markdown files in agent/skills/. See daily-summary.md for an example. Reference skills from home quick actions in apps/web/app/pages/index.vue.

6. Integrations

GitHub

Uses Vercel Connect OAuth and @github-tools/sdk/eve. Connector UID: lib/connect.ts (GITHUB_CONNECTOR), registry: server/connectors.ts, tools: agent/tools/github.ts.

  1. Create a GitHub connector in Vercel Connect:

    vercel connect create github --name personal-agent
    vercel connect attach github/personal-agent
    
  2. Update GITHUB_CONNECTOR in lib/connect.ts if it differs from vercel connect list

  3. Open Settings → Integrations and connect

  4. Ask about repos, PRs, or issues in chat

Linear

Uses Vercel Connect MCP (mcp.linear.app/linear). Connection logic: agent/connections/linear.ts.

  1. Create a Linear MCP connector in Vercel Connect
  2. Open Settings → Integrations and connect
  3. Ask about issues in chat

Slack

  1. Create a Slack connector in Vercel Connect
  2. Replace the slug in agent/channels/slack.ts:
credentials: connectSlackCredentials("slack/your-slug"),
  1. Connect in Settings → Integrations
  2. Link accounts: generate a code in the app, then DM link <code> to the bot

Slack linking uses the internal API — INTERNAL_API_SECRET must be set.

Sendblue (iMessage)

Reach the agent over iMessage via Sendblue. Channel logic: agent/channels/sendblue.ts.

  1. Create a Sendblue account and copy API credentials + assigned number from the dashboard (or @sendblue/cli: sendblue setup, sendblue show-keys, sendblue lines)
  2. Set SENDBLUE_* env vars on the eve service — see Environment
  3. Point the Sendblue receive webhook at https://<your-domain>/eve/v1/sendblue/webhook
  4. Users add their E.164 phone number in Settings → Profile, then message the Sendblue number from that phone

Phone linking uses the internal API (GET /api/internal/phone/link) — INTERNAL_API_SECRET must be set.

Tool approvals (save_memory) and OAuth prompts are delivered as plain-text iMessage with a link to the web chat — there is no button UI on iMessage.

Phone number (profile)

Users add an E.164 number on Profile. Required for Sendblue/iMessage auth — the inbound sender number must match the linked profile phone.

7. Theme the UI

8. Deploy your fork

See Deploy on Vercel in the README. Remember:

  • Dual services: web + eve (vercel.ts)
  • Same env vars on both services
  • Run migrations for production database