personal-agent-template: Instructions file for Codex

AGENTS.md

personal-agent-template AGENTS.md is an instructions file for Codex, OpenCode from vercel-labs/personal-agent-template. It costs 716 tokens per session, scanned A, original, MIT.

An instruction guide for a personal AI assistant built with Eve and Nuxt. Nuxt is a web application framework, while Eve supplies the agent features and connections.

In plain words
What is it for?
Use it when installing, running, building, type-checking, migrating the database, or customizing this personal-agent project.
Why use it?
It gives coding assistants the project structure, setup commands, and internal guidance needed to work safely in the repository.

Instructions file for CodexOpenCode ✓ vendor

Written for Codex and OpenCode: the file is AGENTS.md.

This is vercel-labs/personal-agent-template's own configuration. It tells Codex and OpenCode how to work on personal-agent-template itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything personal-agent-template configures →

About the project

vercel-labs/personal-agent-template is an open-source template for deploying a personal AI agent with persistent conversations, Slack access, GitHub and Linear integrations, and user-scoped long-term memory. Individuals customize it to create an agent that works across web chat and connected services while preserving approved context between sessions. The catalogue instructions relate to configuring and using this personal-agent workflow.

vercel-labs/personal-agent-template · 483 stars · on GitHub · personal-agent-template.vercel.app

Reuse

Borrowing it

Nothing to install: this file belongs to vercel-labs/personal-agent-template. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vercel-labs/personal-agent-template/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/vercel-labs/personal-agent-template

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for personal-agent-template AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/vercel-labs/personal-agent-template/agents-md/github.svg)](https://agentmods.dev/instructions/vercel-labs/personal-agent-template/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/vercel-labs/personal-agent-template/agents-md"><img src="https://agentmods.dev/badge/instructions/vercel-labs/personal-agent-template/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for personal-agent-template AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/vercel-labs/personal-agent-template/agents-md"><img src="https://agentmods.dev/badge/instructions/vercel-labs/personal-agent-template/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 716 This file is loaded in full into every session.
When invoked 716 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00716 $0.00716
Opus 5.5 $0.00286 $0.00286
Sonnet 5.5 $0.00143 $0.00143
Haiku 4.5 $0.00072 $0.00072

Measured 2mo ago against content hash 3a12d6d421f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

personal-agent-template AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 72 lines

How it starts

The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Personal Agent Template

Durable personal AI assistant built with Eve and Nuxt.

Quick Reference

Command Description
pnpm install Install dependencies
pnpm dev Generate Nuxt types, then start Nuxt + Eve
pnpm build Production build
pnpm lint ESLint (pnpm lint:fix to autofix)
pnpm typecheck TypeScript check — app/server/shared plus agent/
pnpm build:agent Build the Eve agent on its own
pnpm auth:schema Regenerate the Better Auth Drizzle schema
pnpm db:generate Regenerate the auth schema, then the Drizzle migration
pnpm db:migrate Apply migrations

Structure

personal-agent-template/
├── agent/          # Eve agent (channels, tools, skills, connections)
├── app/            # Nuxt UI (pages, components, composables)
├── server/         # Nitro API, Drizzle schema, server utils
├── shared/         # Cross-layer types and helpers
└── docs/           # Architecture, environment, customization

Documentation

Eve Framework

This project uses Eve with a Nuxt frontend (eve/nuxt module). Before writing agent code, read the relevant guide in node_modules/eve/docs/ — start with docs/README.md, which maps each task to its page.

nuxt typecheck does not cover agent/, and eve build bundles without typechecking. pnpm typecheck runs both halves; keep it that way when adding agent code.

Internal API Pattern

The Eve agent calls Nuxt over HTTP:

agent/lib/*-internal.ts  →  /api/internal/*  →  server/utils/*

Authenticated with Authorization: Bearer <INTERNAL_API_SECRET>. See server/utils/internal-api.ts.

Memory

The caller's account identity — name, timezone, locale, bio — is injected into the session instructions by agent/instructions.ts, read over the internal API. That is app data the Profile page owns, distinct from the memory slot below, which holds what the agent chooses to remember.

Read the full file on GitHub · 72 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +8 lines · +157 tokens per session 3a12d6d421f8
  2. 2mo ago First seen · 64 lines · 559 tokens per session scan A 67a17ba2a4c7

Subscribe to this mod's changes

personal-agent-template AGENTS.md is an instructions file published in the GitHub repository vercel-labs/personal-agent-template (483 stars, last pushed 4d ago), licensed MIT. It adds 716 tokens to every session, about $0.0029 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

personal-agent-template AGENTS.md compared with instructions from other repositories

personal-agent-template AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
personal-agent-template AGENTS.mdvercel-labs/personal-agent-templateInstructions file4834d agoMITA716Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode