vellum-assistant / cli
AGENTS.md1.4k starsChanged 5 months agoMITView on GitHub
The cli/ package (@vellumai/cli) manages the lifecycle of Vellum assistant instances — creating, starting, stopping, connecting to, and deleting them. Commands here operate on or across instances and typically require specifying which assistant to target. This contrasts with assistant/src/cli/, where commands are scoped to a single running assistant and operate on its local state (config, memory, contacts, etc.). Commands here operate on or across assistant instances — creating, starting, stopping, connecting to, and deleting them. They require specifying which assistant…
Trending
More talk lately.thin dataabout the whole repository
Who's talking about vellum-ai/vellum-assistant
- @githubfeed.bsky.social“🚀 GitHub Intelligence Drop project-golem (JavaScript • 🟢) ⭐ 592 → …”Bluesky · May 13, 2026 · 1 likes
- sudosubin/agents.nix“agent-plugins.github.vellum-ai.vellum-assistant: init at 0.12.6”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.vellum-ai.vellum-assistant: init at 0.12.6”GitHub · Oct 4, 2026
- awesome-selfhosted/awesome-selfhosted-data“Add Vellum”GitHub · Sep 15, 2026
- janhq/awesome-local-ai“Add Vellum personal AI assistant”GitHub · Sep 15, 2026
The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 14
Talked about on GitHub and Bluesky (14 times).
On GitHub · 13
- Oct 4, 2026agent-plugins.github.vellum-ai.vellum-assistant: init at 0.12.6 — sudosubin/agents.nix0 reactions
- Oct 4, 2026agent-skills.github.vellum-ai.vellum-assistant: init at 0.12.6 — sudosubin/agents.nix0 reactions
- Sep 15, 2026Add Vellum — awesome-selfhosted/awesome-selfhosted-data0 reactions · 3 comments
- Sep 15, 2026Add Vellum personal AI assistant — janhq/awesome-local-ai0 reactions
- Sep 15, 2026Add Vellum personal AI assistant — mihaiwillberich/awesome-desktop-ai-assistants0 reactions
8 more on GitHub
- Sep 15, 2026Add Vellum personal AI assistant — punkpeye/awesome-mcp-clients0 reactions
- Sep 15, 2026Add Vellum personal AI assistant — elyase/awesome-personal-ai-assistants0 reactions
- Sep 14, 2026Add Vellum to alternatives and comparison table — T31K/awesome-openclaw-alternatives0 reactions
- Aug 26, 2026feat: send a canned denial when the gateway refuses a sender — vellum-ai/imessage0 reactions
- Aug 24, 2026feat: pick the iMessage provider from a dropdown — vellum-ai/imessage0 reactions
- Aug 24, 2026feat: add Linq as a selectable iMessage provider — vellum-ai/imessage0 reactions
- Aug 14, 2026feat: engine settings, Lightpanda, and a plugin browser skill — vellum-ai/browser0 reactions
- Aug 2, 2026vellum-ai — Viktor6886/evaself0 reactions
On Bluesky · 1
- May 13, 2026🚀 GitHub Intelligence Drop project-golem (JavaScript • 🟢) ⭐ 592 → https://github.com/Arvincreator/project-golem vellum-assistant… — @githubfeed.bsky.social1 likes and repost
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository96 other files it gives its agents.
- AGENTS.mdAGENTS.md
- assistant/AGENTS.mdAGENTS.md
- clients/AGENTS.mdAGENTS.md
- gateway/AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- assistant/CLAUDE.mdCLAUDE.md
- gateway/CLAUDE.mdCLAUDE.md
- skills/assistant-migration/references/claude.mdCLAUDE.md
- add-mcp-integrationSkill
- cli-testingSkill
- releaseSkill
- updateSkill
- vellum-boundary-guardSkill
- vellum-change-reviewSkill
- vellum-feature-flag-rolloutSkill
- vellum-migration-checklistSkill
- vellum-pr-readinessSkill
- vellum-skill-authoringSkill
- vellum-test-selectionSkill
- vellum-user-facing-copySkill
- amazonSkill
- api-mappingSkill
- assistant-migrationSkill
- chat-complex-documentsSkill
- chatgpt-importSkill
- cli-discoverSkill
- conversation-launcherSkill
- daily-briefingSkill
- deepgram-voiceSkill
- deploy-fullstack-vercelSkill
- discord-app-setupSkill
- doordashSkill
- elevenlabs-voiceSkill
- email-setupSkill
- fish-audioSkill
- frontend-designSkill
- geo-auditSkill
- geo-writingSkill
- gmailSkill
- gmail-triggerSkill
- google-calendarSkill
- guardian-verify-setupSkill
- headless-claude-codeSkill
- inbox-cleanupSkill
- inbox-managementSkill
- influencerSkill
- linear-app-setupSkill
- llm-cost-optimizerSkill
- llm-provider-setupSkill
- macos-automationSkill
- mailgun-setupSkill
- mcp-setupSkill
- meme-generatorSkill
- memory-corpus-ingestSkill
- notificationsSkill
- notionSkill
- oura-setupSkill
- ouraSkill
- outlook-calendarSkill
- outlookSkill
- The first 60 shown.
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Use the shared helpers from lib/assistant-config instead of hand-rolled lookup:
- Very specific: line 27
Use parseAssistantTargetArg() from lib/assistant-target-args when parsing command arguments that may contain an unquoted multi-word display …
- Very specific: line 40
Every command must have high-quality --help output.
- Very specific: line 72
Use resolveProcessState() from lib/process.ts when checking whether a daemon or gateway should be (re)started.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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
CLI Package — Agent Instructions
Purpose
The cli/ package (@vellumai/cli) manages the lifecycle of Vellum assistant instances — creating, starting, stopping, connecting to, and deleting them. Commands here operate on or across instances and typically require specifying which assistant to target.
This contrasts with assistant/src/cli/, where commands are scoped to a single running assistant and operate on its local state (config, memory, contacts, etc.).
Scope
Commands here operate on or across assistant instances — creating, starting, stopping, connecting to, and deleting them. They require specifying which assistant to target and work without an assistant process running.
For commands scoped to a single running assistant's local state (config, memory, contacts), see assistant/src/cli/AGENTS.md.
Examples: hatch, wake, sleep, retire, ps, ssh belong here. config, memory belong in assistant/src/cli/. Contact ACL writes belong on gateway contacts (via vellum exec --service gateway), not on assistant contacts or vellum gateway.
Assistant targeting convention
New or modified commands that act on a specific assistant should accept an assistant display name or ID as an argument. Exact assistant ID matches must win over display-name matches. Unique display-name matches may resolve to the matching assistant ID, but ambiguous display names must fail with an error that lists the matching IDs.
Use the shared helpers from lib/assistant-config instead of hand-rolled lookup:
lookupAssistantByIdentifier()for commands that require an explicit target and need custom error handling.resolveTargetAssistant()for commands that may fall back to the active assistant or sole lockfile entry.formatAssistantReference()for user-facing output that should include both display name and ID when they differ.
Use parseAssistantTargetArg() from lib/assistant-target-args when parsing command arguments that may contain an unquoted multi-word display name. Do not store raw display names in activeAssistant; persist the resolved assistantId.
New or modified destructive lifecycle commands must be explicit and safe. A command that deletes, retires, archives, or removes assistant state must print the resolved assistant identity before acting and require an interactive confirmation, with a documented --yes bypass only for automation or higher-level clients that already own confirmation. Do not expose destructive lifecycle actions as vellum client slash commands.
Conventions
- Commands are standalone exported functions in
src/commands/. - Each command manually parses
process.argv.slice(3)(no framework — keep it lightweight). - Register new commands in the
commandsobject insrc/index.tsand add a help line. - User-facing output uses
console.log/console.errordirectly (no shared logger).
Help Text Standards
Every command must have high-quality --help output. Follow the same standards as assistant/src/cli/AGENTS.md § Help Text Standards, adapted for this package's manual argv parsing (no Commander.js).
Requirements
- Each command: Include a concise one-liner description in the help output, followed by an explanation of arguments/options with their formats and constraints.
- Include examples: Show 2-3 concrete invocations with realistic values.
- Write for machines: Be precise about formats, constraints, and side effects. AI agents parse help text to decide which command to run and how. Avoid vague language — say exactly what the command does and where state is stored.
Boundary: No integration-specific references
The CLI is a generic lifecycle manager. It must never contain references to specific skills, integrations, or features (e.g. "Meet", "Slack", "Telegram"). Environment variables, volume mounts, and device passthroughs defined here must use generic names (e.g. VELLUM_AVATAR_DEVICE, not VELLUM_MEET_AVATAR_DEVICE). The skill that uses a resource decides how to interpret it — the CLI just passes it through.
Cross-package imports into skills/ are forbidden. The CLI is distributed as an npm package; anything outside cli/ is not included in the tarball and will fail to resolve at runtime.
Workspace packages that cli/src never imports may still be listed in package.json dependencies and bundledDependencies when a bundled dependency depends on them (for example @vellumai/avatar-manifest, pulled in by @vellumai/local-mode); bundledDependencies only nests a file: dep when it is a direct dependency of the CLI.
Boundary: No .vellum/ directory access
The CLI must never read from or write to the .vellum/ directory (e.g. ~/.vellum/protected/, <instanceDir>/.vellum/). That directory structure is an assistant daemon / gateway implementation detail. The CLI's job is to spawn those processes and pass configuration via environment variables — not to reach into their internal storage.
For example, the signing key used for JWT auth between the daemon and gateway is persisted in the lockfile (resources.signingKey) so that client actor tokens survive daemon/gateway restarts. On first start (or when the key is missing), the CLI generates a new key via generateLocalSigningKey() in lib/local.ts, saves it to the lockfile entry, and passes it to both startLocalDaemon and startGateway as the ACTOR_TOKEN_SIGNING_KEY env var. The CLI does not read or write to the .vellum/ directory for signing keys — it uses the lockfile instead.
Exception: ~/.vellum/device.json. That file is the machine-wide shared device-identity file, co-owned by the Electron main process, the host-mode assistant, and the CLI (see packages/electron-desktop/src/device-id.ts). The boundary rule covers daemon/gateway-internal state (e.g. ~/.vellum/protected/, instance dirs), not this file.
Process liveness
Use resolveProcessState() from lib/process.ts when checking whether a daemon or gateway should be (re)started. It combines PID existence with an HTTP /healthz probe, a readiness grace period, and a isVellumProcess() guard against PID reuse — see the function's JSDoc for the full flow.
Reserve isProcessAlive() for teardown paths (sleep, retire) where you need to kill a process regardless of its health.
Docker Volume Management
The CLI creates and manages six per-instance Docker volumes with strict per-service access boundaries (least-privilege at the container level).
| Volume | Mount path | Access | Contents |
Workspace (<name>-workspace) | /workspace | Assistant: rw, Gateway: rw, CES: ro | config.json, conversations, apps, skills, db, logs, .backups/, .backup.key |
Gateway security (<name>-gateway-sec) | /gateway-security | Gateway only | trust.json, actor-token-signing-key, capability-token secrets |
CES security (<name>-ces-sec) | /ces-security | CES only | keys.enc, store.key |
Socket (<name>-socket) | /run/ces-bootstrap | Assistant + CES | CES bootstrap socket for initial handshake |
Gateway IPC (<name>-gateway-ipc) | /run/gateway-ipc | Assistant + Gateway | gateway.sock (assistant → gateway) |
Assistant IPC (<name>-assistant-ipc) | /run/assistant-ipc | Assistant + Gateway | assistant.sock (gateway → assistant) |
The assistant container's root (/) holds per-container ephemeral and persistent state: package installs (~/.bun), device.json, embed-worker PID files.
Lifecycle:
hatchcreates the six volumes.retireremoves all of them.
Mount rules: each container receives only the volumes it needs. The assistant never mounts gateway-security or ces-security. The gateway never mounts ces-security. The CES mounts the workspace volume as read-only.
Container security posture: the assistant container runs as a non-root user (UID 1001) with no elevated capabilities — --privileged, --cap-add, and --security-opt overrides are not used; the host Docker socket is not bind-mounted; default Docker seccomp and AppArmor profiles remain active. Do not add elevated capabilities without a concrete runtime requirement.
Backup paths in Docker mode: backups land on the workspace volume (VELLUM_BACKUP_DIR defaults to /workspace/.backups/, key at VELLUM_BACKUP_KEY_PATH defaults to /workspace/.backup.key), so workspace-volume destruction loses both data and backups.
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.

