惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

有赞技术团队
有赞技术团队
小众软件
小众软件
The Cloudflare Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园_首页
酷 壳 – CoolShell
酷 壳 – CoolShell
爱范儿
爱范儿
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
雷峰网
雷峰网
Jina AI
Jina AI
博客园 - 【当耐特】
V
Visual Studio Blog
美团技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
量子位
IT之家
IT之家
G
Google Developers Blog
V
V2EX
The GitHub Blog
The GitHub Blog
月光博客
月光博客
GbyAI
GbyAI

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
GitHub - pylit-ai/opendream: Local-first memory and dream...
planetceres · 2026-06-12 · via Hacker News - Newest: "AI"

OpenDream

CI PyPI version Python versions License

Agent context that improves between sessions.

Open, local-first memory for AI agents.

Capture what happened, retrieve what matters, and review what changed. OpenDream helps agents carry useful context across projects, tools, and sessions while keeping boundaries, sources, and review visible.

Closed products are starting to dream. OpenDream makes agent memory open, local, portable, and reviewable. "Dreaming" means background memory review and cleanup, not an opaque model behavior.

OpenDream UI overview

The observability UI shows recent agent activity, selected memories, context-use audit records, review decisions, and workspace health without making you read raw JSON first. Full light and dark demo cuts: docs/showcase/ui-demos.md.

Multiple agents, one workspace memory plane

Codex, Claude Code, Cursor, and other agents can contribute across sessions in the same workspace. OpenDream keeps those events and prepared contexts in one local store with agent attribution, so a later agent can inspect and reuse what came before without replacing its built-in memory.

OpenDream session history attributed to Codex, Claude Code, and Cursor

Watch the full session and diff flow: light MP4, dark MP4, or the UI demo gallery.

OpenDream memory in real agent sessions

OpenDream recovered prior unfinished work
OpenDream context shaped an implementation recommendation
OpenDream prevented duplicate stale work

If you want to… Start here
Try it in a few commands Quick start
See multiple agents share workspace memory Shared agent memory demo
Run the CLI memory demo 90-second memory showcase
Understand the memory lifecycle Dreaming memory change control
Compare memory approaches Comparison guide
Wire it into an agent runtime Integration at a glance
Browse memory in a browser Observability UI
Contribute Contributing (expandable)

Current status: OpenDream is alpha software. Codex is currently the most tested path; other integrations depend on each host's hooks, rules, context files, or CLI surface. Current evals are fixture-driven release checks, not broad real-world benchmarks. Memory can hurt when it is stale, over-broad, or incorrectly scoped, so reviewability is part of the product goal rather than a finished claim.


Quick start

uv tool install opendream   # or: pipx install opendream
opendream init --workspace .
opendream verify activation-capture --workspace . --targets configured
opendream status --workspace .
opendream deactivate --workspace .

Run the self-contained showcase in a disposable workspace:

opendream eval showcase --scenario agent-workspace-showcase --workspace .tmp/opendream-showcase
opendream observe serve --workspace .tmp/opendream-showcase

If your installed CLI does not show activate, verify, deactivate, semantic, or eval, upgrade with uv tool upgrade opendream or reinstall from Git. After upgrading, opendream verify --help, opendream semantic --help, and opendream eval --help are quick checks that your install matches the docs.

Bleeding-edge from Git (overwrites the tool env): uv tool install --force "opendream @ git+https://github.com/pylit-ai/opendream.git".

Install checks, upgrade notes, known limitations, and clean-room provenance live in docs/launch-readiness.md, docs/known-limitations.md, and docs/provenance.md.

CLI demos for docs and operators

OpenDream's first-run path is intentionally small. These clips are useful beside command reference docs; the UI application tour above is the better first look.

Demo What it shows
OpenDream CLI quick start init with default activation, status, and deactivation in a local workspace.
Agent context retrieval prepare-context turns durable repo memory into prompt-ready agent context.
Memory safety abstention Unrelated prompts return an explicit no-match instead of injecting stale or irrelevant memory.
Showcase evaluation report The showcase eval compares stateless vs memory-assisted answers and keeps negative controls in the report.

UI demo gallery: docs/showcase/ui-demos.md. CLI demo gallery: docs/showcase/cli-demos.md. Brand motion assets: frontend/assets/animation/README.md.

Install options (venv, editable checkout, PEP 668)

PyPI (recommended once published) — use an isolated tool env to avoid system Python restrictions (PEP 668):

uv tool install opendream
# or: pipx install opendream
opendream --help

From Git (same idea; pin with @main / @v0.1.0 where your installer allows):

uv tool install "opendream @ git+https://github.com/pylit-ai/opendream.git"
# or: pipx install git+https://github.com/pylit-ai/opendream.git

Repo checkout (contributors):

make setup
.venv/bin/opendream --help

Manual equivalent: python3 -m venv .venv && .venv/bin/pip install -e . from the repo root. Module fallback: python3 -m opendream.cli --help.

If python3 is missing, install from python.org or your OS package manager.

System dependencies — OpenDream uses jq to parse JSON in hook scripts (for Claude Code integration). Install via your OS package manager:

# macOS
brew install jq

# Ubuntu / Debian
sudo apt-get install jq

# Other systems
# See: https://jqlang.github.io/jq/download/

Integration at a glance

OpenDream is an activation-first CLI.

Codex is currently the most tested path. Other integrations expose context through CLI commands, rules, hooks, or generated files depending on host support. A built-in target means OpenDream can generate the integration surface; it does not mean every host executes hooks natively.

You do not need to replace existing agent memory. OpenDream keeps a separate workspace-local store and can run alongside built-in memory from Codex, Claude Code, or another agent. Activation adds OpenDream-managed integration surfaces; preview them with activation-plan, skip them with init --no-activate-configured, or remove them later with deactivate. See the FAQ.

opendream init --workspace .
opendream verify activation-capture --workspace . --targets configured
opendream status --workspace .
opendream activate --workspace . --repair
opendream deactivate --workspace .

The lower-level runtime remains available, but it is not the main mental model.

Command Role
emit-event Append schema-valid evidence to the store
maintain Run extract + consolidate when work qualifies; returns structured status / reason when skipping (not a silent no-op)
automation ... Manage recurring projection jobs that stay separate from canonical durable memory
prepare-context Retrieval surface for the next task (prompt-ready output)

Agent integration details (workspace vs cwd, memory_layout, empty_reason / hints, JSON version): docs/agent-integrations.md.

Recommended activation workflow

  1. opendream init --workspace . — create the memory layout and activate configured agent surfaces by default.
  2. opendream activation-plan --workspace . --targets configured — optional dry-run: see which surfaces are detected. Use --targets all-supported to preview every built-in agent target.
  3. opendream verify activation-capture --workspace . --targets configured — run generated hooks in the selected workspace and prove diagnostic memory capture.
  4. opendream status --workspace . — report the latest capture verification state (never_run, passed, or failed) with the next action.
  5. opendream activate --workspace . --repair — restore drifted managed files and hook entries.
  6. opendream doctor --workspace . --surface agents — inspect managed surfaces without writing diagnostic memory.

Compatibility matrix

Agent/runtime Built-in target Integration status Notes
Claude Code and Claude CoWork claude-code Native hooks Uses Claude Code UserPromptSubmit / Stop hooks in .claude/settings.json; Claude CoWork should use this path when backed by Claude Code project hooks.
OpenAI Codex CLI codex Managed wrapper plus AGENTS.md Codex is one supported example target, not a product requirement.
Cursor cursor Instruction-only rules plus shell hooks OpenDream writes .cursor/rules/opendream.mdc; the host or agent must run the hook commands.
GitHub Copilot repository instructions github-copilot Instruction-only repository guidance plus shell hooks Useful when Copilot can read repo instructions; hook execution remains operator/host-owned.
Hermes Agent hermes Instruction-only .hermes.md plus shell hooks Hermes natively reads .hermes.md, HERMES.md, and AGENTS.md; OpenDream uses .hermes.md so it does not compete with shared repo instructions.
OpenClaw openclaw Native config and event map Uses .openclaw/config.json, an OpenDream event map, and generated pre/post hook scripts.
AGENTS.md-style community agents none yet Generic/manual Use prepare-context before work and emit-event + maintain after work, or add a small adapter once the host exposes stable hooks/config files.
Scripts, daemons, CI jobs, and custom runtimes n/a Direct CLI Call the same CLI sequence directly; no named agent adapter is required.

For a tool that was not detected yet, run e.g. opendream activate --workspace . --targets cursor once to create .cursor/rules/opendream.mdc and hook scripts.

Instruction-only targets (Cursor rules, .github/copilot-instructions.md, .hermes.md) ship the same generic pre/post shell hooks as the Codex example target; the agent must still run those commands when the host has no native OpenDream hooks.

Corrections worth knowing:

  • Treat maintain as the documented maintenance entrypoint even if the CLI exposes more commands.
  • First-party surface = this CLI. Hook/script glue is operator-owned unless you add it.
  • No first-party MCP server in this repo; docs/mcp/servers.md is a template for inventorying MCP, not a shipped server.
Agent and architecture references (optional reading)

Human-facing behavior is described in this README and in AGENTS.md. Machine-readable runtime contracts live under opendream/schema/.


Workspace, Runtime, and Observability

OpenDream stores canonical state per workspace under .opendream/. The multi-workspace catalog is a derived, machine-local convenience index; workspace memory stays the source of truth and scans only run on roots you configure.

opendream workspace list
opendream observe serve --workspace "$PWD" --port 8000

Semantic-first mode is a configuration posture, not an automatic readiness claim. If the selected semantic path cannot run, OpenDream reports a degraded state with a reason and next action; prepare-context should still use progressive disclosure and pruning evidence so recalled context stays inspectable.

Use the detailed operator guide for workspace catalog setup, upgrade/backfill flows, runtime commands, generated data locations, global/project stores, semantic mode, automation, eval notes, and full CLI examples: docs/operator-guide.md.


Documentation

Doc Purpose
docs/technical-notes/dreaming-memory-change-control.md Canonical memory lifecycle and review model
docs/comparison.md Capability-level comparison with static files, RAG, hosted APIs, and managed memory
docs/security-local-first.md Local-first defaults, explicit provider paths, and trust boundaries
docs/design-partner-workloads.md Real workflows needed to validate where memory helps or fails
docs/FAQ.md Adoption, coexistence, privacy, benchmarks, and setup questions
docs/showcase/memory-showcase.md 90-second memory demo
docs/agent-integrations.md Agent integration guide
docs/operator-guide.md Workspace catalog, runtime commands, observability, generated data, eval notes, and full CLI examples
docs/automation/dream-task-playbook.md Automation and recurring memory tasks
docs/architecture/overview.md Architecture overview
docs/benchmarks/methodology.md Benchmark methodology
docs/claims.md Evidence-backed claims
docs/known-limitations.md Known limitations
docs/provenance.md Clean-room provenance
docs/contributor-reference.md Contributor smoke tests, verification targets, release notes, and full CLI examples
SECURITY.md Security policy
CONTRIBUTING.md Contributor guide

OpenDream does not send telemetry by default. Provider/API-key paths are operator-configured execution paths and are separate from analytics or tracking.


Contributing

For local development, run:

make sync
make verify
make release-check

Contributor workflow, smoke tests, automation examples, verification targets, and maintainer release notes live in docs/contributor-reference.md. Security reports go through SECURITY.md; general contribution guidance lives in CONTRIBUTING.md.