Dreamd README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Dreamd listing page.

dreamd

CI OpenSSF Scorecard OpenSSF Best Practices Release npm crates.io License: Apache 2.0 MCP-compatible Platforms

dreamd MCP server

Every memory, traced. Every removal, on record.

dreamd is the audit and trust layer for what your AI agents learn. It is self-hosted, so the record stays on your hardware, it works with any MCP-aware agent on any model, and it shows where each memory came from.

Want to shape what comes next? Talk to us about a design partnership in Discussions.

The problem. Coding agents now write their own memories. When one picks up a bad lesson, most teams can't tell where it came from or whether it's really gone.

What dreamd does today. dreamd records the source of every memory your agents write and logs every removal in a signed record, all on your own machines. The core is open source under Apache-2.0. Claude Code, Cursor, Cline and other MCP-aware agents share one .agent/ folder in your repo:

  • Trace it. dreamd blame <query> shows the stored memories behind an answer. Every lesson cites the events it came from.
  • Remove it. dreamd forget <event-id> takes a memory and the lesson state built from it out of the live record and search, and writes a receipt. It does not remove every copy: earlier git commits keep one until you rewrite them, and What works today lists the other places a copy can stay.
  • Review it. Memory is plain JSONL and Markdown, committed with your code, so you review what agents learned in a pull request and take back a dream cycle with dreamd undo-cycle.

What's next. Trust labels on every memory, and a managed plan where we keep your dreamd servers healthy while your data never leaves the building. Neither has shipped yet; see What's next.

Who it's for. First, coding teams of about ten or more developers running several coding agents. Next, teams that run agents for other people and won't send that memory to someone else's cloud.

Self-hosted, single binary, Apache-2.0, no telemetry.

Terminal
npx -y dreamd-mcp setup   # scaffold .agent/ and wire your harness once per user

dreamd blame finds the memory behind a bad answer, dreamd forget removes it and writes a receipt, and the same query no longer returns it

Recorded live on dreamd 1.2.0, sped up 1.5x: blame finds the event behind a bad answer, forget removes it with a receipt, and the same query comes back without it. Tape: docs/assets/blame-forget.tape.


Quick start

You need Node for npx, and a project with a root marker (.git/, Cargo.toml, package.json or pyproject.toml). In a brand-new folder, run git init first.

bash
cd ~/your-project
npx -y dreamd-mcp setup

# Commit the store, so `git clean -fd` cannot delete memory (setup prints this)
git add .agent .gitignore && git commit -m "Add dreamd memory" -- .agent .gitignore

.agent/ holds the memory, and only .agent/.dreamd/ is gitignored. To keep memory out of git instead, add .agent/ to .gitignore.

Reload your harness. setup wired the dreamd MCP server once for your user account: in ~/.claude.json for Claude Code and ~/.cursor/mcp.json for Cursor, so the harness spawns npx -y dreamd-mcp itself in every folder. Ask the agent to search memory for something it learned earlier: it calls search_nodes and gets each hit with the harness that wrote it.

In your next project, run npx -y dreamd-mcp setup again to scaffold that project's .agent/ store. The user-level config is already wired and is left as it is. In a folder with no store, the tools answer that it is not set up.

setup prompts when it has a TTY. In scripts, pass --yes --harness claude|cursor|both (--harness none or --no-write-mcp scaffolds without touching any MCP config). For a team that commits its harness config to the repo, --scope project writes .mcp.json and .cursor/mcp.json in the project instead, as setup did before 1.5.0. When several agents write at once, run the shared daemon too: npx -y dreamd-mcp watch.

Adapters: Claude Code · Cursor · Cline

Claude Code saves a lesson to dreamd; OpenCode, in a fresh session, finds it with search_nodes

Recorded live, sped up 1.5x: Claude Code writes the lesson, OpenCode reads it back through the same .agent/ folder. Tape: docs/assets/demo.tape.


The audit loop

Say an agent keeps repeating advice you know is wrong.

bash
# 1. Find the memories behind it
npx -y dreamd-mcp blame "deploy without tests" --explain

# 2. Check the lesson it came from and what that lesson cites
cat .agent/semantic/LESSONS.md
npx -y dreamd-mcp doctor --provenance

# 3. Preview, then remove the bad event (stop the daemon first; forget refuses while it runs)
npx -y dreamd-mcp forget evt_... --dry-run
npx -y dreamd-mcp forget evt_... --proof forget-receipt.json

# 4. Review the change like code
git diff .agent/

After a forget, the ledger keeps the removed event's id in its old edge lines, on purpose: the ledger is append-only and holds ids, never content, so it keeps the record that the event once existed. doctor --provenance prints those edges as forgotten, with the removal record that explains them, and passes (docs/provenance.md).

The npm shim does not put dreamd on PATH, so every command here runs as npx -y dreamd-mcp <cmd>. With a dreamd binary installed (see Install), drop the prefix.


Why auditable memory

Memory is the layer of an agent stack you usually can't see into. A prompt can be read and a model can be swapped, but when memory goes wrong there is rarely a way to tell what the agent believed, where that belief came from, or what else it touched.

That matters more now that memory is an attack surface. The OWASP Top 10 for Agentic Applications lists memory and context poisoning (ASI06): an attacker, a bad tool result or a plain mistake plants a "fact" that the agent keeps acting on in later sessions. The defenses OWASP points to start with knowing the source of every memory and being able to remove one cleanly (OWASP agentic top 10).


What works today

Released in v1.5.0, on npm (dreamd-mcp) and crates.io (dreamd). Linux, macOS and Windows. CI runs lint, test on Linux, macOS and Windows, build, a binary-size gate, an upgrade-and-forget end-to-end test and DCO.

You need todreamd gives you
See what drove an answerdreamd blame <query> lists the stored memories behind a recall, with ids, timestamps, skill_action, content, layer and score. dreamd recall --explain prints the salience factors for each hit, and recall --without <id> shows the answer without a suspect memory
Know where a lesson came fromEvery lesson in LESSONS.md cites the episodic events it was promoted from, and the provenance ledger records which event fed which lesson and index entry
Check the record is consistentdreamd doctor --provenance recomputes the ledger's Merkle root, compares it with the roots each dream cycle and forget stored, and lists orphan, missing and corrupt edges and any stored root whose signature is missing or does not verify. Read-only
Remove a bad memorydreamd forget <event-id> removes the event and the lesson state built from it from the live log, LESSONS.md and recall. It also clears the copies dreamd keeps under .agent/ (decay archive, autosnaps and memory branches, index segments), then reads every file under .agent/ again and prints verified: complete_in_store, or verified: partial with each file that still holds the event (exit 3). It lists the git commits whose memory files still hold the event, with a git filter-repo command you can run to rewrite them; dreamd never rewrites history itself. It also counts the commits whose message names the event's id, and the command takes the id off dream cycle commits' cited: and pinned: lines. That command was run on a test repository (DMD-79): it can also change files outside .agent/ and empties whole past versions of LESSONS.md, as provenance.md explains. --dry-run shows what would change; --proof <path> writes a signed forget-receipt/1.2 listing what was cleared, what remains and the places the rescan does not read
Review what agents learned.agent/ is committed with your code, and each dream cycle commits its output as dreamd: cycle YYYY-MM-DD. Review new lessons with git diff or in a pull request, and undo a cycle with dreamd undo-cycle <commit>
See whether lessons helpdreamd report counts repeat failures per cluster before and after its lesson (docs/report.md)
Let someone else check the recorddreamd proof <id> writes a membership proof under a signed stored root, and dreamd verify checks proofs, forget receipts and a copy of the provenance files offline, with --key to require your key. dreamd audit export --out <dir> writes one folder to hand an auditor: the ledger, stored roots and removal records, with a signed manifest, checked with dreamd verify --bundle <dir> (docs/provenance.md)
Read everything yourselfPlain JSONL and Markdown. cat, grep and git log work on every byte

To undo a whole dream cycle, stop the daemon and run dreamd undo-cycle <commit> with its dreamd: cycle commit. It puts back the LESSONS.md, pins and archived events the cycle changed, keeps every event appended before or after it, and refreshes the recall index. An event forget removed is never brought back. --dry-run prints the plan. A clone or a worktree of the project has the committed memory; with a daemon running, run dreamd init once in it (GUIDE §9).

What dreamd does not do. It does not detect or block poisoned writes, and it does not filter injected lesson content (SECURITY.md). source_harness is asserted by the caller, not verified. Stored ledger roots and the forget receipt are signed with a per-user key in ~/.agent/provenance_key.json; a signature shows who wrote a record, not that it is true, and the key holder can rewrite and sign again. There are no trust labels yet. forget does not remove every copy of a memory: git history, dream cycle commit messages, clones and remotes, agent transcripts, model providers that received the text, logs and backups can keep it, and the receipt records the removal, not that every copy is gone (docs/provenance.md). dreamd makes bad memory traceable and removable; it does not make it impossible.

Benchmarks. WasTrue tests whether a memory system updates a fact that later changes; the harness here is a scaffold and no results are published yet (scripts/benchmark/README.md). The coding recall oracle is a 12-episode in-repo check, not a general benchmark and not a study result. python3 scripts/benchmark/coding_oracle.py prints dreamd_only=12 both=0 stuffing_only=0 neither=0 n=12: after one dreamd dream --no-llm, k=32 recall packed to the same token budget found the 12 episodes that context stuffing missed.


What's next

Direction, not dated commitments. Full view: ROADMAP.md.

  • Recall with its source (target: 1.6). Recall a 90-day-old detail together with the event it came from.
  • Outcome trace (target: 1.7). Name the lessons behind a failed task.
  • Public benchmark. Public recall scores for several memory systems, with predictions registered before any run, and the WasTrue results (does memory update a fact that later changed?). Then measure whether learned lessons improve task success over time.
  • Proofs an auditor can check (target: 2.0). dreamd proof and dreamd verify shipped in 1.4.5 (What works today). dreamd audit export shipped in 1.4.6 and writes one bundle to hand over. Still to come: a standalone verifier and a WASM build.
  • Trust labels (target: 2.0). A label on every memory saying where it came from and how far to trust it, joined along provenance edges. An opt-in review, which a team switches on, holds a lesson below the trust threshold for review instead of promoting it. Needs its own spec first.
  • Verified removal (after 2.0). A removal that also reaches earlier git commits and snapshots. Today forget reaches the live record and search, and git history keeps a copy until you rewrite it.
  • Managed self-hosting. A plan where we keep your dreamd servers healthy while they run on your own hardware, so your memory never leaves the building. Not offered yet.
  • Vector recall. Hybrid lexical and vector scoring, as derived state over the natural-language record.

Install

npm (recommended)

Terminal
npx -y dreamd-mcp setup   # scaffold .agent/ and write the per-user harness MCP config
npx -y dreamd-mcp         # MCP server (stdio): your harness spawns this

The npm package downloads a prebuilt binary for Linux x86_64 and macOS. On native Windows the shim exits 1 and names WSL2. A dreamd.exe built from source, or taken from a GitHub release asset, runs learn, the dream cycle, and the Tantivy index there. See docs/windows.md. From 1.2.1 the shim forwards every dreamd command.

stdio is the default transport. dreamd mcp --bind 127.0.0.1:<port> is an opt-in Streamable HTTP server at /mcp. It is unauthenticated, and it is only in source builds with --features mcp-http. See docs/mcp-transports.md.

Upgrading from 1.4.x

Nothing in your store changes: the record schema (1.0.0) and the index schema are the same, so there is no migration and no index rebuild.

  1. Replace a running daemon. A client refuses a daemon of another version, so a 1.4.x dreamd watch left running answers every MCP call with version mismatch. Run npx -y dreamd-mcp update, then npx -y dreamd-mcp watch if you use the daemon. If a dreamd service unit runs it, also run the service install and service restart commands update prints. With a cargo-installed dreamd, stop the old daemon and run dreamd watch.
  2. Reload your MCP harness.

Your project .mcp.json, .cursor/mcp.json and CLAUDE.md or AGENTS.md block from an earlier setup keep working as they are. To switch to the per-user install, run npx -y dreamd-mcp setup in a project once: it adds the dreamd entry to ~/.claude.json and ~/.cursor/mcp.json and the block to ~/.claude/CLAUDE.md, and leaves the project files byte for byte. Where a project and the user config both name dreamd, the harness uses the project entry, and both run the same npx -y dreamd-mcp. You can then remove the dreamd entry and block from the project files, or keep them if your team commits them. An offline host keeps the hand-written config from docs/air-gapped.md: do not run a plain setup there.

Cargo

bash
cargo install dreamd --version ^1.5

That requirement installs the newest 1.5 release and skips the 0.0.0 name reservation on crates.io. Rust 1.95.0 or newer. From a git checkout, cargo install --path crates/dreamd-cli builds this tree; see CONTRIBUTING.md. If you upgrade a cargo-installed binary in place and run the daemon under the per-user service, restart it with dreamd service restart (docs/install.md).

No outbound network

For an on-premises or air-gapped host, copy the release tarball across, check its checksum and signed provenance, and point the agent harness at the binary instead of npx. docs/air-gapped.md has the steps, tested in CI with the network cut.


Privacy

No telemetry: dreamd sends no usage data anywhere. Your memory stays on your machine, with one exception: when ANTHROPIC_API_KEY or OPENAI_API_KEY is set (or a key is in secrets.toml), dreamd dream sends the episodes behind a new lesson to that provider to write it, and --no-llm turns this off. The only other network call is the npx launcher downloading the dreamd binary from GitHub releases.


How agents learn

Agents write episodes (what happened, how painful it was, how important) through MCP append_node. The dream cycle clusters episodes by skill_action and promotes a recurring pattern into a lesson in LESSONS.md. You run it with npx -y dreamd-mcp dream. Nothing runs it on a timer, and there is no MCP tool for it. With an API key it composes the lesson with an LLM under a $0.10 per-cycle spend cap; without one it writes a deterministic lesson and makes no network call. Either way the lesson cites the events it came from, and every output is staged and committed through one redo WAL, so a crash leaves the store as it was or rolls the cycle forward.

Recall ranks episodes and lessons with BM25 × salience (age decay, pain, importance, recurrence). Recall is deliberately lexical; vector recall is not shipped (docs/vectors.md). Formula: docs/salience.md.


What dreamd writes

LocationContentsCommit?
<project>/.agent/Episodic JSONL, semantic lessons, personal prefsYes (this is the shared memory)
<project>/.agent/.dreamd/Local index, daemon state, config.toml, provenance ledger, decay archive (snapshots/), memory branches (branches/)No (gitignored by init); git clean -fdX deletes it, see troubleshooting
~/.claude.jsonThe dreamd entry under mcpServers (Claude Code), from setup. Every other byte of the file is keptNo
~/.claude/CLAUDE.mdThe dreamd block that tells each Claude Code session to search memory, from setupNo
~/.cursor/mcp.jsonThe dreamd entry for Cursor, from setupNo
~/.agent/registry.tomlWhich projects have a storeNo
~/.agent/dreamd.sockDaemon API socket (while running)No
~/.agent/star-askedSet after setup has asked for a GitHub star, once per userNo

setup scaffolds the store by calling init, then writes the harness MCP config and the dreamd block in your user files (above). For Cursor it also writes .cursor/rules/dreamd-recall.mdc in the project, because Cursor has no user-level rule file. With --scope project, it writes .mcp.json and .cursor/mcp.json in the project instead, and for Claude Code a dreamd block in the project. With an AGENTS.md at the project root, the block goes there, and a missing CLAUDE.md becomes the one line @AGENTS.md, which Claude Code needs to keep loading AGENTS.md; a CLAUDE.md of your own that does not import AGENTS.md keeps the block instead. Without an AGENTS.md, the block goes into CLAUDE.md. Both are idempotent. To uninstall from a machine, run npx -y dreamd-mcp uninstall. On a tty it waits for y; pass --yes in a script. Without a tty and without --yes it exits 2 and changes nothing. Project .agent/ stores are left in place. npx -y is npx's flag, not dreamd's --yes. npx -y dreamd-mcp init --uninstall-project drops only the registry entry; dreamd init puts it back and does not rewrite the store.


All inspection commands

The MCP surface is two tools (search_nodes, append_node). Everything else is CLI over the same files. dreamd <cmd> --help is the reference for flags.

CommandWhat it does
dreamd recall <query>Ranked search as a markdown table. --explain prints the salience factors per hit; --without <id> / --without-cluster <prefix> drop hits before top-k, so you can see the answer without a suspect memory
dreamd blame <query>Which stored memories drove a query's ranking: id, timestamp, skill_action, content, bm25, salience, total, layer. --json for one compact array
dreamd scoreTop memories by salience alone, no query
dreamd salience-driftSalience distribution, top clusters, and drift against the snapshot from seven days earlier. See docs/observability.md
dreamd reportRepeat failures per cluster, before and after its lesson. See docs/report.md
dreamd dream --dryPrint the LESSONS.md the next cycle would write, without writing
dreamd undo-cycle <commit>Take back one dream cycle without git revert. --dry-run prints the plan. Refuses while the daemon is running
dreamd forget <event-id>Remove one episodic event and the lesson state built from it. --dry-run writes nothing; --proof <path> writes a signed receipt (forget-receipt/1.2). Refuses while the daemon is running. What it clears and what it leaves: What works today
dreamd doctor --provenanceRecompute the provenance ledger's Merkle root and list orphan edges, missing edges and corrupt lines. Read-only. See docs/provenance.md
dreamd memory branch|checkout|branches|delete|diff|bisectDeprecated in 1.2.0, removed in 2.0. .agent/ is plain files, so use git. See docs/branching-guide.md

Architecture (one paragraph)

Agents talk to dreamd over MCP. On Linux and macOS the MCP server proxies to a single-writer daemon (dreamd watch) over HTTP on a Unix domain socket, or runs in-process when no daemon is present. On Windows it proxies to loopback dreamd watch and exits 2 when that daemon is down. One writer lock covers every process that writes a project. The coordinator appends to AGENT_LEARNINGS.jsonl and feeds a Tantivy BM25 index; recall ranks hits with the salience formula, and each hit carries source_harness and skill_action. Details: ARCHITECTURE.md · SPEC.md · docs/http-api.md. Warm recall latency (local Criterion benches) is in PERF.md.


FAQ

Other tools store memory as files too. What's different? Files are the substrate, not the feature. dreamd adds the trace: lessons that cite their source events, a provenance ledger you can check, blame for any recall, and forget that removes an event together with the lesson state built from it.

Does dreamd stop memory poisoning? No. It makes a poisoned memory findable and removable, and it keeps a record. It does not screen what agents write. See SECURITY.md.

Do I need Rust? No. npx -y dreamd-mcp downloads a prebuilt binary for Linux x86_64 and macOS. The Linux binary is static, with no glibc requirement, and is checked on Ubuntu 20.04, Ubuntu 22.04, Debian 12 and Alpine 3.20. Rust is only needed to build from source (and for native Windows).

Where does memory live? In <project>/.agent/. The daemon state and index under .agent/.dreamd/ are local and gitignored. You can read and edit the JSONL and Markdown by hand. To fix a line by hand, stop dreamd's writer for the project first (dreamd watch, or the harness session running dreamd mcp), edit the line, then run dreamd doctor --repair. Until the repair, the index keeps the old text and scores, and dreamd doctor reports index_freshness: stale content. Add new records through append_node or POST /api/v1/learn, not by writing the file.

What if I want a full wipe? See Full fresh store. There is no dreamd reset --all. dreamd uninstall asks for y on a tty (--yes in a script) before it stops processes and clears caches. dreamd service uninstall --purge deletes the daemon home ~/.agent/ and never a project .agent/ store; it refuses while ~/.agent/ holds one, which a dreamd before 1.4.0 could leave there (docs/install.md).

Windows? dreamd watch serves the HTTP API on loopback TCP with a bearer token from auth.json. Learn, the dream cycle and the Tantivy index run there. The directory flush follows the Unix call order and is not a power-loss proof. There is no prebuilt npm binary for Windows. Details: docs/windows.md.

Is everything free forever? The Apache-2.0 core is open source and free. Paid self-hosted features and a managed self-hosting plan may come later (What's next). There is no hosted SaaS: memory stays on your machines.

More: docs/troubleshooting.md.


Platforms

Linux, macOS and Windows. Windows serves over loopback TCP. See docs/windows.md.

The prebuilt Linux x86_64 binary is one static build with no glibc requirement, checked on Ubuntu 20.04, Ubuntu 22.04, Debian 12 and Alpine 3.20. Linux arm64 has no prebuilt binary.


Release history

VersionWhat
v1.5.0 (2026-12-03)Install once per user: dreamd setup wires ~/.claude.json, ~/.cursor/mcp.json and ~/.claude/CLAUDE.md (--scope project keeps the project files); forget also reports commit messages, the git reflog, the daemon log and partial copies under .agent/, and its git filter-repo command rewrites those messages; doctor --provenance passes after a forget; the test suite passes on Windows
v1.4.6 (2026-11-30)Audit handover: dreamd audit export writes one signed bundle an auditor checks offline with dreamd verify --bundle; dreamd holdout runs a randomized pilot for dreamd report; ed25519-dalek 3.0 clears RUSTSEC-2026-0620 with the same keys and signatures; air-gapped install guide and compliance map
v1.4.5 (2026-11-29)The trust baseline: forget clears the copies dreamd keeps under .agent/, reads .agent/ again and names the git commits that keep a copy; stored ledger roots and the forget receipt are signed; new dreamd report, undo-cycle, proof and verify; several lessons per cycle with lesson_clusters; rmcp 3.12.0 clears five advisories
v1.4.1 (2026-11-27)In daemon mode, a project whose path ends in a space or tab is refused instead of reaching another folder; after update, an installed dreamd service still starts, and one whose binary is gone is reported; a SIGTERM to npm exec for npx -y dreamd-mcp watch also stops the native daemon
v1.4.0 (2026-11-20)Recall takes any text, in one order, with k at most 100; each project is redacted and configured by its own config; an API key goes only to its own vendor; a dream cycle keeps a hand-edited LESSONS.md and commits only on a branch; every client call has a deadline and checks the daemon's version first; setup keeps a repo's AGENTS.md loaded in Claude Code
v1.3.2 (2026-11-17)dreamd watch opens a project again when git clean -fdX deletes its .agent/.dreamd/, and no dreamd process writes into a store that replaced its own; an empty dedup key no longer drops learnings; watch no longer deletes a file at DREAMD_SOCK that is not a socket
v1.3.1 (2026-11-16)A failed dream cycle no longer blocks the next one; an event's content can no longer forge a lesson; the first requests to a project, at once or after it idles, no longer fail on the daemon's own writer lock; an idle dreamd mcp session no longer holds a connection to the daemon
v1.3.0 (2026-11-07)Recall ranks the event that has a multi-word query's missing words, and a fat skill_action parent no longer outweighs a more painful child (SPEC.md v0.2); recall hits carry their id; the dream cycle's git commit runs again; a client and a daemon of different versions say so
v1.2.2 (2026-11-04)dreamd setup through npx names npx -y dreamd-mcp … commands, and its card lists everything it wrote with an Undo line for each
v1.2.1 (2026-11-03)Static Linux binary with no glibc requirement (runs on Ubuntu 20.04 and 22.04, Debian 12 and Alpine); fixes from the 1.2.0 torture session; the npm shim forwards every dreamd command
v1.2.0 (2026-10-29)Windows dream cycle and Tantivy index; audit fixes (writer lock, atomic dream cycle, faithful log rewrites, index coverage); deprecates dreamd memory branch commands, vectors enable and dream --auto for removal in 2.0. No 1.1.0 tag
v1.0.1 (2026-10-21)Dependency security fixes
v1.0.0 (2026-10-02)Provenance ledger and doctor --provenance, dreamd forget, dreamd blame, recall --without, salience-drift, explain=1 citations on HTTP recall
v0.1.1 (2026-09-14)LLM dream cycle, LESSONS.md semantic layer, Windows watch and learn, dreamd service
v0.1.0 (2026-08-05)BM25 lexical recall, Linux and macOS, deterministic dream cycle, npm dreamd-mcp

Full notes: CHANGELOG.md.


Documentation

DocWhat
GUIDE.md20-minute walkthrough, including inspect and undo
docs/README.mdFull documentation index
docs/air-gapped.mdSelf-hosted and air-gapped install, with no outbound network
docs/compliance.mdOne-page map from GDPR, the EU AI Act, FINRA and CSA guidance to dreamd features, and what decay and retention keep
docs/provenance.mdProvenance ledger format and what doctor --provenance checks
docs/observability.mdRecall citations, blame, counterfactual recall and salience drift
SECURITY.mdThreat model, including the lesson-injection surface
docs/http-api.mdREST API (Unix socket / Windows loopback TCP)
docs/configuration.mdTOML config and env vars
docs/troubleshooting.mdCommon failures
SPEC.mdOn-disk contract
docs/salience.mdSalience formula deep-dive
ARCHITECTURE.mdEngineering decisions
CONTRIBUTING.mdDev setup and RFC process

About dreamd

Mission. dreamd makes what AI agents learn accountable. We build the self-hosted record of every memory an agent writes, so the people who run agents can see where each lesson came from and know when a bad one was removed.

Vision. Agents will run the world's systems, and every one of them should answer to a record its owner controls. We start with coding teams and the regulated organizations that keep their data in their own buildings, and grow into the trust layer for what agents do: open at the core, running on the customer's own hardware, owned by no model maker.


Support dreamd

dreamd is open source under Apache-2.0 and built by a small team. A star on the repo helps others find it. When a memory goes wrong, a post in Discussions with the blame output helps us fix it. Sponsorship funds core maintenance. You can sponsor dreamd on:

Sponsors

Sponsors are listed here as they join: companies by logo and backers by name. Tiers are on GitHub Sponsors.

Contributing

Bugs, questions and ideas are welcome in Discussions, and the core team turns them into changes, so outside pull requests are not merged; see CONTRIBUTING.md for where each belongs and for building from source. By participating you agree to the Code of Conduct. Security reports: SECURITY.md, never a public thread.

License

Apache-2.0. See LICENSE and NOTICE.