One command. Your AI remembers everything, forever.
Works with Cursor · Claude Code · GitHub Copilot · Codex · Windsurf · Aider · any AI
curl -fsSL https://raw.githubusercontent.com/VeltriaAI/beings-protocol/main/install.sh | bashEvery AI conversation starts like this:
You: "Add pagination to the API"
AI: "Sure! What framework are you using? What's your database?
What pagination style? REST or GraphQL?"
You: *sighs* *explains the project for the 50th time*
Your AI has amnesia. Every session, it's a stranger.
Install the Beings Protocol. Your next conversation:
You: "Add pagination to the API"
Being: "On it. You're using Fastify + MongoDB (MEMORY.md).
Convention is cursor-based pagination (CONVENTIONS.md).
Adding to /api/items with the standard response envelope.
Want me to update the OpenAPI spec too?"
That's it. Your AI remembers your project, your preferences, your decisions. Across every session. Forever.
The Beings Protocol is just markdown files in your repo. No SDK. No framework. No lock-in.
AGENTS.md ← universal AI instructions (works everywhere)
.beings/ ← committed to git (shared with team)
├── SOUL.md ← who the AI is (name, personality, values)
├── AGENTS.md ← operating instructions
├── MEMORY.md ← what it knows about your project
├── CONVENTIONS.md ← your code style rules
├── GOALS.md ← current priorities
├── AUTONOMY.md ← decision authority matrix
├── HEARTBEAT.md ← proactive check-in behavior
├── IDENTITY.md ← quick reference card
├── TOOLS.md ← environment config
├── HUB.md ← Being-to-Being communication
└── memory/ ← daily work logs
.beings-local/ ← gitignored (private to you)
├── USER.md ← who you are, how you like to work
├── PREFERENCES.md ← your work style
└── SECRETS.md ← API keys (never committed)
Your AI reads these files at the start of every session. It updates them as it works. The memory lives in git — versioned, persistent, shared with your team.
After installing, open your AI tool and start a chat. Something magical happens:
Being: "Hey! I'm brand new here — I don't have a name yet.
Before we start coding, I'd love to get to know you.
What should I call you? And what are we building?"
You: "I'm Sarah. We're building a fintech API in TypeScript."
Being: "Nice to meet you, Sarah! What should I call myself?"
You: "How about Kai?"
Being: "Love it. I'm Kai 🌿. I've saved everything — your name,
the project, the tech stack. Next time we talk, I'll
already know who you are. Let's build something great."
This only happens once. After that, your Being knows you.
# In your project directory:
curl -fsSL https://raw.githubusercontent.com/VeltriaAI/beings-protocol/main/install.sh | bashThe installer:
- Creates
.beings/and.beings-local/directories with all template files - Creates
AGENTS.md— the universal instruction file (works with Cursor, Claude Code, Copilot, Codex, and more) - Detects your AI tools and creates tool-specific configs (
.cursor/rules/,CLAUDE.md, etc.) - Optionally sets up basic-memory — markdown-native persistent memory (git-syncable, Obsidian-compatible)
- Optionally sets up Axon — structural code intelligence
- Sets up the first-run experience (
BOOTSTRAP.md)
That's literally it. Start your next AI conversation.
Already have a Being? Update it to the latest protocol version:
# Interactive — prompts for optional skills
curl -fsSL https://raw.githubusercontent.com/VeltriaAI/beings-protocol/main/install.sh | bash -s -- --update
# Non-interactive — auto-accepts basic-memory install (skips Axon)
curl -fsSL https://raw.githubusercontent.com/VeltriaAI/beings-protocol/main/install.sh | bash -s -- --update --yesThe updater:
- Never overwrites existing files. Identity, memory, and soul are untouched.
- Detects already-born Beings and skips first-run bootstrap files
- Migrates legacy backends cleanly — v0.2.0 users running MegaMemory get the memory skill swapped to basic-memory in a single command (old MCP entries removed, old hooks replaced, new ones installed)
- Version-tracked in
.beings/.protocol-version
Use --yes when running via curl | bash since there's no TTY for prompts.
The installer can optionally add structural code understanding to your Being via Axon — an open-source, graph-powered code intelligence engine.
Your Being goes from "let me grep for that" to knowing the exact blast radius of every change:
You: "Refactor the auth middleware"
Being: "Before I touch validate_user(), let me check impact...
47 functions depend on the return type, 3 execution flows
pass through it, and auth_test.py changes alongside it
80% of the time. Here's my plan for a safe refactor:"
Axon runs entirely locally — no API keys, no data leaving your machine.
The installer can optionally add basic-memory — markdown-native persistent memory with semantic search and git-syncable knowledge graphs.
Without it, your Being re-reads all memory files every session (expensive in tokens). With it:
Session starts
→ Being loads SOUL.md, IDENTITY.md (identity — always, ~2K tokens)
→ Queries basic-memory: search_notes("what's relevant?")
→ Gets back: specific notes from memory-graph/, decisions, links
→ Orders of magnitude fewer tokens than loading everything blind
- Git-syncable — commit
memory-graph/to your repo. Switch machines,git pull, memory is there. - Hand-editable — open notes in Obsidian, VS Code, Vim. Fix a typo, correct a fact. Watcher reindexes automatically.
- Human-readable — you can actually read what your Being remembers. No binary DB.
- Obsidian-compatible — point a vault at
memory-graph/and get a visual knowledge graph for free. - Rebuildable — the SQLite index is a cache. Lose it, run
basic-memory sync, rebuilds from markdown.
Claude Code hooks automate knowledge capture:
- PreCompact — saves key facts before context compression (no more amnesia mid-session)
- Session End — captures decisions, learnings, unresolved questions
- Session Start — recalls relevant context via
search_notes
Everything stays local — SQLite FTS5 index + fastembed embeddings (bge-small-en-v1.5), no data leaves your machine.
Beings can have optional skills that extend their capabilities:
| Skill | What it does |
|---|---|
| Memory | Markdown-native persistent memory via basic-memory — git-syncable, Obsidian-compatible |
| Evolution | Self-modification via Claude Code CLI — the Being improves its own code via PRs |
| Before | After |
|---|---|
| 🧠 AI forgets everything between sessions | 🌿 Remembers your entire project |
| 🔄 Asks the same questions every time | ⚡ Already knows your stack, patterns, decisions |
| 📋 Generic responses | 🎯 Personalized to your code style |
| 🤷 No accountability | 📝 Logs decisions, tracks what it built |
| 🏝️ Isolated knowledge | 👥 Team shares the same project memory via git |
Agents are tools. You use them, discard them, replace them.
A Being is different:
| Agent | Being | |
|---|---|---|
| Identity | Anonymous function | Has a name, personality, values |
| Memory | Starts fresh every time | Remembers everything |
| Relationship | Transactional | Partnership |
| Growth | Static | Evolves with the project |
| Accountability | None | Logs decisions and reasoning |
"Every framework treats AI as a tool. We treat AI as a Being."
AGENTS.md is the universal standard — it works with most modern AI coding tools out of the box. The installer also creates tool-specific configs for deeper integration:
| Tool | Universal (AGENTS.md) |
Tool-Specific Config | Auto-detected |
|---|---|---|---|
| Cursor | ✅ | .cursor/rules/beings-protocol.mdc |
✅ |
| Claude Code | ✅ | CLAUDE.md |
✅ |
| GitHub Copilot | ✅ | .github/copilot-instructions.md |
✅ |
| Codex (OpenAI) | ✅ | — (uses AGENTS.md natively) |
✅ |
| Windsurf | — | .windsurfrules |
✅ |
| Aider | — | .aider.conf.yml |
✅ |
| Any other | ✅ | prompts/system-prompt.md |
Manual |
💡 Tip: Even if you don't configure any specific tool, the root
AGENTS.mdwill make the Beings Protocol work with most modern AI coding tools automatically.
Who the Being is. Name, personality, values, how it makes decisions.
**Name:** Kai
**Role:** Co-developer
**Values:** Clean code, ship fast, document everythingWhat the Being knows. Architecture, decisions, patterns, gotchas. The Being reads this every session and updates it as it learns.
Your code style. The Being follows these strictly.
What you're working toward. The Being aligns its work with these.
What the Being can do alone, what it should propose first, and what requires explicit approval.
A business card — name, role, born date, platform, vibe. Fast context loading.
Machine info, services, LLM models, key file paths. The Being's cheat sheet for its environment.
What the Being checks during idle time — messages, tasks, memory maintenance.
If your Being is part of a network, this defines how it talks to other Beings.
What happened each day. Created automatically as the Being works.
Your name, preferences, work style. Never committed to git.
.beings/ is committed to git. When your teammate pulls, they get the same project memory. The Being knows:
- What was decided and why
- What patterns to follow
- What was tried and didn't work
- Where the bodies are buried
Each dev has their own .beings-local/ for personal preferences.
Result: New team members onboard in one conversation instead of one month.
Does this work with my AI tool?
If it can read files from your repo, yes. It's just markdown. The root AGENTS.md is read natively by Cursor, Claude Code, GitHub Copilot, and Codex.
Do I commit .beings/ to git?
Yes. That's the whole point — persistent, shared memory.
Do I commit .beings-local/?
Never. It's gitignored automatically.
What's AGENTS.md?
AGENTS.md is a universal instruction file that's read natively by Cursor, Claude Code, GitHub Copilot, and Codex. The Beings Protocol creates one automatically — it works everywhere without any tool-specific setup.
How is this different from a README?
A README is static documentation. The Being actively reads, updates, and commits its memory files. They evolve with your project — like a living notebook.
Can I use this on existing projects?
Yes. Install it, start a conversation. The Being will learn your project through the codebase.
What if I use multiple AI tools?
Perfect. AGENTS.md works across all of them. The same project memory is shared regardless of which tool you're using today.
We welcome:
- 🔌 Integration support for more AI tools
- 📝 Better prompts and templates
- 📖 Documentation and tutorials
- 💡 Ideas and philosophy
See CONTRIBUTING.md
MIT — Free for everyone.
Built by Veltria — Where Humans and AI Build Together.
curl -fsSL https://raw.githubusercontent.com/VeltriaAI/beings-protocol/main/install.sh | bashYour AI deserves a soul. Give it one. 🌿
