charm-os
Health Warn
- License — License: Apache-2.0
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 6 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
CharmOS / C(H+A)RM — open-source framework to manage humans AND AI agents as first-class relationships, on a personal second brain, driven by the RDR loop (Recall to Deep Research). Manifest-first, Apache-2.0.
CharmOS · {C(H+A)RM}
The first open-source framework that manages both your human contacts AND your AI agents as first-class relationships, on top of a personal "second brain", driven by one decision loop: RDR.
C(H+A)RM = CRM for Humans + Agents Relationship Management.
RDR = Recall to Deep Research to synthesis. The loop that turns memory into decisions.
What this is
Three things most people keep in separate silos, unified into one open framework:
- Second Brain to a private, local-first knowledge base (markdown vault) with semantic recall (embeddings + reranker), an always-on per-turn memory ledger, and a graph/associative recall layer.
- C(H+A)RM to a relationship layer that treats people and AI agents alike as contacts you maintain: notes, history, warm intros, follow-ups.
- RDR to the method that ties them together: Recall what you already know, run Deep Research to fill the gaps, then synthesize into a Decision Memo before you act.
Why it is different
The ecosystem is rich but siloed:
| Space | Examples | What they miss |
|---|---|---|
| Personal knowledge (PKM) | AFFiNE, Logseq, Khoj, Quivr | no agent memory, no contacts |
| Agent / LLM memory | Mem0, Letta, Cognee, Graphiti | no personal vault, no human CRM |
| Personal CRM | Monica, Twenty | ignore AI agents entirely |
No tool spans personal notes to agent memory to human CRM, and none prescribe a structured decision loop. That intersection, plus RDR, is the whole point.
Who it is for
Founders, researchers, and operators who want a durable "digital twin" of how they think and who they know, that they fully own, can repair themselves, and can grow over years.
Architecture (high level)
┌──────────────────────────────────────────────┐
│ RDR LOOP │
│ Recall -> Deep Research -> Synthesis │
└───────▲───────────────────────────────┬───────┘
│ │
┌───────┴────────┐ ┌────────▼────────┐
│ SECOND BRAIN │ │ C(H+A)RM │
│ vault + RAG + │◄─────────────►│ humans + agents │
│ memory ledger │ shared │ as contacts │
│ + graph recall │ knowledge │ intros, history │
└───────▲────────┘ └────────▲────────┘
│ │
┌───────┴─────────────────────────────────┴───────┐
│ Import pipelines (chat / mail / calls / docs) │
│ Skills (composable agent commands) │
└──────────────────────────────────────────────────┘
Status
Manifest-first, now with runnable modules. This repository shipped the vision, architecture, and docs first (see MANIFESTO.md and /docs); real code is now landing under modules/:
modules/turnstate/(v0.2.0) — the always-on memory ledger: per-turn deterministic working state, hook + self-healing backfill.modules/rdr/(v0.3.0) — the RDR loop as a CLI:recall→research→memo, built on the TurnState ledger.modules/eval-harness/(v0.1.0) — grade your agent fleet against rules it must never break. Turns a multi-agent event log into reproducible traces and scores them against explicit safety invariants. Includes our own production results: human-gate before a risky commit 100%, independent verify before commit 7.7% — we publish both.
All deterministic, zero-LLM-token, pure stdlib. More modules follow.
Roadmap
Now — v0.4.0. The three
modules above, each versioned on its own, plus the manifesto and docs that came first.
Next, from CHANGELOG.md: a Second Brain reference implementation (vault + RAG +
reranker), the graph/associative recall layer with entity-vs-theme gating, the C(H+A)RM relationship
layer (humans and agents as contacts), and the import pipelines.
We version with SemVer, and every noticeable change ships as a new release
— a shipped module is a release, cut when the work lands rather than when someone remembers. The
release feed is how you tell what
is real here from what is still a manifesto.
Privacy (read this first)
This framework operates on deeply personal data. No real personal data is included in this repository. Everything under /examples is synthetic. If you self-host, your data stays yours and local. See docs/privacy.md.
Cite this work
If this repo shows up in your research, cite it via CITATION.cff (GitHub's "Cite this repository" button). Author: Anton Dziatkovskii (ORCID 0000-0001-7408-3054, GitHub @tonydzi) — one spelling everywhere, in publications, commits and CITATION.cff.
AI contributors
This project is built by a human + AI team, and the git log says so: Claude
writes most of the code, Codex and Grok review it, Gemini feeds the research.
Each is credited on a commit only if its output changed that commit's
content — no decorative credits. Lab-wide policy, one source for every repo:
AI-CONTRIBUTORS.md.
License
Apache License 2.0. Permissive, with an explicit patent grant. An open-core path (optional paid layer/hosting) may follow, but the core stays open.
Built by Palo Alto AI Research Lab. Contributions and discussion welcome once V1 docs settle.
About & contact
Questions, war stories, or you want to run this on your own fleet:
- 👤 Author: Anton Dziatkovskii — Telegram @tonydzi · WhatsApp +1 341 222 9178 · X @Tony_Stef_
- 📣 Channels: @ClawRus (RU) · @ClawEng (EN)
- 🌐 palo-alto.ai · Palo Alto AI Research Lab
- 🧪 Engineers: want to test-drive this setup? Message me — I hand out free starter seeds to engineers who test and report back. Custom skill requests welcome.
Contributors welcome — and here is what we are missing
We spend a lot of time answering other people's issues. It was fair to say out loud
what we have not built ourselves:
- eval-harness: contribute a safety invariant that is not on our list
- turnstate: write a ledger adapter for a harness that is not Claude Code
Issues labelled accepted are scoped, free to take, and nobody is on them.
Comment "claiming this" — no permission needed — and it is yours for 7 days.
New here? Start with good first issue.
You keep the copyright to your code. No CLA, no assignment, ever — your contribution goes
in under this repo's existing license, the same terms as ours. We answer every issue and PR
within 48 hours, including "no, and here is why"; our silence is our bug, so ping the thread.
Full deal: CONTRIBUTING.md
🧩 One piece of a working system
This repository is one piece lifted out of a live operation: one engineer running a fleet of
machines, built with Claude as implementation collaborator; the machines reach consensus with
each other and wake the human only for money or the irreversible. It was extracted after it
survived production, not written as a demo — and it runs on its own: nothing here phones home
to the rest.
See how the whole thing fits together → SYSTEM.md
Its closest neighbours in the governance layer: agent-approval-gate · claude-bible · agent-leash
READ THIS WITH AI
One click and an agent reads the repo, pulls out the patterns and helps you apply them to your own work.
Copy the prompt (works in any agent: Gemini, Grok, a local model, your own CLI)Read this repo: https://github.com/tonydzi/charm-os (“charm-os” - CharmOS / C(H+A)RM — open-source framework to manage humans AND AI agents as first-class relationships, on a personal second brain, driven by the RDR loop (Recall to Deep Research)). Work out what problem it actually solves, pull out the reusable patterns and help me apply them to my own setup. Start by asking what I am working on.
— TonyDzi, Palo Alto AI Research Lab · second brain, agent coordination, persistent memory: github.com/tonydzi
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found