Fidelis Memory
Memory serverOfficial Hermes Labs project
Created by Hermes Labs
Published in hermes-labs-ai/fidelis. Publisher page
25 GitHub stars
What it is
Zero-LLM agent memory for Claude Code and AI agents: local-first BM25, dense-vector, and reciprocal-rank-fusion retrieval. Returns original passages verbatim by default. Available on PyPI as fidelis-memory. Apache-2.0.
AutoGineer overview, from the brain’s own files
Fidelis is a local-first memory infrastructure designed to provide AI agents with persistent, accurate recall of stored notes. Unlike systems that rely on generative models to summarize or rewrite information, Fidelis focuses on returning original passages verbatim. It operates as a background service on the user's machine, utilizing a vector store and hybrid retrieval techniques—including BM25 and dense-vector search with reciprocal rank fusion—to ensure high-fidelity recall. By integrating via MCP, it allows agents to store, recall, correct, and inspect memory records without requiring external API keys or cloud-based storage, making it suitable for developers and autonomous agents that need to maintain context across sessions.
How it works
Memory model: Vector store
AutoGineer overview, from the brain’s own files
Fidelis runs as a background service on the user's machine, managing a local store of text and Markdown notes. When a user or agent saves a note, it is indexed using local embeddings. The system provides an MCP interface for agents to interact with this memory. Retrieval is performed through a combination of keyword-based BM25 search and dense-vector search, which can be fused to find relevant passages. The system supports versioning through corrections, allowing records to be superseded without deleting historical data.
| Folder | Role | Files |
|---|---|---|
| .github | agent-config | 5 |
| assets | attachments | 1 |
| docs | docs | 19 |
| examples | examples | 18 |
| scripts | scripts | 1 |
| src | source-code | 42 |
| tests | tests | 67 |
| .agents | folder | 1 |
| .hermes | folder | 3 |
| Formula | folder | 1 |
| bench | folder | 144 |
| claude-plugin | folder | 4 |
| experiments | folder | 30 |
| extensions | folder | 1 |
Requirements
Runtimes: Python >=3.10
Databases: Chroma
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Google Antigravity, Kiro, OpenCode, Amp, Roo Code, Cline, JetBrains Junie, Devin (ex-Windsurf)
Set it up
- Not scanned by AutoGineerIts dependencies are installed by pip or uv when you run it and were not scanned by AutoGineer (3 declared). https://pypi.org/project/fidelis-memory/
Created by Hermes Labs. Published in hermes-labs-ai/fidelis. Licence: Apache License 2.0.
Usage
AutoGineer overview, from the brain’s own files
- Install the Fidelis memory server and initialize the background service.
- Connect the agent to the Fidelis MCP server.
- Use the 'fidelis_store' tool to save important facts or decisions.
- Use the 'fidelis_recall' tool to retrieve original text based on natural language queries.
- Use 'fidelis_correct' to update or supersede existing records while maintaining history.
- Inspect memory status and availability using 'fidelis_health'.
- “Use Fidelis to find my Atlas billing migration note. What must happen before we retry? Quote the relevant text.”
- The agent queries the Fidelis memory server and returns the exact sentence: 'Do not retry until the idempotency fix is verified.'
- “Store this note: The API endpoint for the user service has changed to /v2/users.”
- The agent uses the fidelis_store tool to save the fact, which is then indexed and available for future retrieval.
Documentation by Hermes Labs
<!-- mcp-name: io.github.hermes-labs-ai/fidelis-memory -->
<div align="center">
Fidelis Memory
<img src="assets/fidelis-memory-artwork.png" width="420" alt="Fidelis Memory mascot" />
Your agent can forget a summary. Fidelis brings back the note.
Local memory for Codex, Claude Code, and other agents: save text across sessions and retrieve the original passage when it matters.
by Hermes Labs
PyPI · Connect an agent · Technical reference
</div>
A project summary might say “billing migration rolled back.” The original note says why it failed and do not retry until the idempotency fix is verified. When your next session depends on that condition, the missing sentence matters.
Fidelis stores your Markdown and text notes and retrieves their stored wording. Its default retrieval does not ask a generative model to rewrite your memory.
Try it with one note
This path supports Python 3.10+, macOS or Ubuntu, and a local Ollama service. Start Ollama if needed (ollama serve in a separate terminal). No model API key is required. The current release is 0.3.0rc1.
ollama pull nomic-embed-text
python3 -m venv ~/.venvs/fidelis
source ~/.venvs/fidelis/bin/activate
python3 -m pip install "fidelis-memory[hybrid]==0.3.0rc1"
fidelis init
demo_dir=$(mktemp -d)
cat > "$demo_dir/atlas.md" <<'NOTE'
Atlas billing migration:
Duplicate charges appeared in staging. Rolled back.
Do not retry until the idempotency fix is verified.
NOTE
fidelis watch "$demo_dir" --once
fidelis recall-hybrid "Atlas billing migration retry condition" --tier zero_llmfidelis watch and fidelis recall-hybrid use the background service started by fidelis init.
Look for both the rollback and the retry condition in the retrieved text. This is retrieval of a saved note, not a generated answer. For your own files, replace "$demo_dir" with a notes directory. If retrieval fails, run fidelis health and confirm Ollama has nomic-embed-text available. Keep the virtual environment after fidelis init; the background service uses it.
What this changes on your machine: fidelis init installs a per-user background service (launchd on macOS, systemd --user on Linux) that starts fidelis-server automatically at login. fidelis watch sends the note to that server, which saves it in the local store at ~/.cogito/store by default, not in the temporary demo directory. fidelis recall-hybrid also queries that same running server and searches the whole shared store, so its results can include notes you saved earlier, not only the demo note. The watcher also records ingested files in ~/.fidelis/watched.json. To remove the default service on macOS, run fidelis init --uninstall; it stops the service and deletes the launchd plist only. On Linux, find the installed unit with systemctl --user list-unit-files '*fidelis-server*', then run systemctl --user disable --now <unit>, delete that unit file from ~/.config/systemd/user/, and run systemctl --user daemon-reload. Neither path deletes your data. The store is shared by everything you save with Fidelis, so deleting ~/.cogito/store erases all of it, not just the demo note; do that only on a throwaway install. Also delete the temporary demo directory ($demo_dir), and ~/.fidelis/watched.json if you want its record of the file path gone.
Connect an agent
Once the note is retrievable locally, install the MCP connection for your client:
fidelis mcp install --client codex
# Or, for Claude Code:
fidelis mcp installRestart the client and try: “Use Fidelis to find my Atlas billing migration note. What must happen before we retry? Quote the relevant text.”
The client gets tools to recall, store, correct, fetch, and inspect memory. It decides when to call them; installing the connection does not make every turn recall automatically. Other clients and uninstall commands include Cursor, Gemini CLI, Copilot CLI, and OpenClaw. A separate Pi extension provides prompt-time recall.
What Fidelis preserves
Original wording.
watch,store, and other verbatim write paths keep the text you supplied, so retrieval can return the condition that a summary might omit.Local retrieval. Fast vector search is the default MCP recall path. Explicit hybrid search combines keyword and vector results without a generative LLM at its
zero_llmtier; local embeddings still require Ollama.Corrections over time. A correction can supersede a prior record without erasing it. Recall can show validity and historical status instead of silently replacing the old note.
Fidelis also has optional extraction and model-assisted routes. Those can transform or filter inputs; use the verbatim path when the original wording is the point. Retrieved text can still be wrong or out of date, and your agent's model provider may see it when answering.
Current scope
Fidelis 0.3.0rc1 is a single-machine pre-release, not a hosted team memory service. The LongMemEval-S retrieval run measured whether the redesigned default path retrieved material across 470 questions; it did not measure answer accuracy. See the results, user-fit guide, and security policy for deeper detail.
Full reference · Upgrade notes · Contribute · Changelog
Apache-2.0. Hermes Labs builds agentic infrastructure for autonomous systems.
CHANGELOG.md
Changelog
0.3.0rc1 — 2026-09-21
Time-aware verbatim records, explicit corrections, truthful write outcomes, and a six-tool MCP surface with fast zero-LLM recall. Public install/startup safeguards are retained. MCP names change; see upgrade notes. Historical benchmark scores are not evidence for the redesigned default path.
Unreleased
Clarify that quickstart recall searches the whole shared store and may return notes saved before the demo.
Pin supersession fail-open, cache reload, annotation, and ephemera filtering contracts with server-free unit tests.
Clarify the benchmark case-file roles, disposable-server requirement, and quickstart service use in contributor documentation.
Add read-only
fidelis recentandfidelis getCLI commands with bounded options, correction metadata, raw JSON output, and explicit failures.Add five server-free worked examples under examples/real-world/ (correction chain, retraction/ephemera read filter, write-gate screening, MCP client config, benchmark hardset hit@5), re-verified by tests/test_real_world_examples.py.
v0.2.0
Start the local HTTP service and MCP stdio surface without a reachable Ollama instance. Health and protocol-discovery requests remain available; memory-backed operations report a degraded/unavailable store until the local embedding service is reachable.
Make
fidelis initrefuse existing service-label and port collisions by default, preserve existing service environment settings during re-init, and offer explicit port and label overrides for intentional coexistence.Honor
FIDELIS_PORTon both the HTTP server and MCP client, preventing a configured non-default port from splitting the client and server.Add a portable Claude plugin root that pins the released package and exposes the existing read-only MCP tool surface.
Coordinate package, runtime, MCP/plugin manifests, citation, current install instructions, container metadata, and release tests at
0.2.0. The version-specific Zenodo identifier is intentionally omitted until an archive for this release exists.
v0.1.0 — 2026-09-13
Promote Fidelis Memory from the
0.0.xsequence to its first minor release. The supported product contract is local-first, verbatim memory retrieval for Codex, Claude Code, GitHub Copilot CLI, Gemini CLI, and OpenClaw on the currently gate-tested macOS and Ubuntu paths.Coordinate package, Python, citation, CodeMeta, MCP Registry, Gemini extension, installation-documentation, and public-install-test versions at
0.1.0.Add a public user-fit matrix, a release-readiness record with explicit acceptance criteria, and an outcome-gated 0.2.0 roadmap.
Replace the manually maintained passing-test-count badge with the live GitHub Actions status badge so release documentation cannot advertise an obsolete count.
Preserve the historical
v0.1.0andv0.2.0changelog entries under the clearly labeledcogito-ergopredecessor-package section so they cannot be mistaken for current Fidelis package releases.
v0.0.97 — 2026-09-12
Release the Gemini CLI extension: v0.0.96 was tagged before
gemini-extension.jsonlanded, so the bare-URL install resolved the latest GitHub release and failed with "Configuration file not found". v0.0.97 is the first tag and release archive that carry the manifest.Pin the
user_idnamespace boundary in tests and document that it is not an identity; addglama.jsonfor the Glama registry ownership claim.Package Fidelis as a native Gemini CLI extension:
gemini-extension.jsonat the repository root launches the MCP Registry package (uvx --from fidelis-memory==0.0.97 fidelis mcp serve) andGEMINI.mdtells the model when to callfidelis_orientandfidelis_recall.gemini extensions install https://github.com/hermes-labs-ai/fidelisregisters the server without a manualpip install.tests/test_gemini_extension.pybinds the manifest toserver.jsonandpyproject.tomlso a release bump cannot leave it on an older wheel.
v0.0.96 — 2026-09-10
The bundled MCP server now answers the base-protocol
pingrequest with an empty result instead of-32601 method not found. Gemini CLI'sgemini mcp listpings after connecting, so a healthy Fidelis server — tools listed, tools working — was reported asDisconnected. No tool, lifecycle, or transport behaviour changed; unknown methods are still refused.Add
fidelis mcp install --client geminiandfidelis mcp uninstall --client gemini, which register the bundled stdio MCP server through Gemini CLI's nativegemini mcp add/gemini mcp remove(v0.1.19+).--scope user(default) targets~/.gemini/settings.json,--scope projecttargets./.gemini/settings.json. Gemini owns the write because it reads that file as JSON-with-comments and round-trips a user's comments; Fidelis only reads it back, to check ownership before replacing or removing an entry and to prove what the run changed.gemini mcp addoverwrites a same-named entry unasked andgemini mcp removeexits 0 for an absent name, so a silent no-op or an unexpected entry is reported as a failure rather than as success.Add
fidelis mcp install --client openclawandfidelis mcp uninstall --client openclaw. OpenClaw keeps outbound MCP servers undermcp.serversin a JSON5 config (~/.openclaw/openclaw.json, or$OPENCLAW_CONFIG_PATH), so Fidelis neither rewrites that file nor parses it — a strict-JSON rewrite would drop the user's comments and trailing commas, and a strict-JSON read of the same file cannot say what is in it at all. Both directions are delegated to OpenClaw's own CLI with$OPENCLAW_CONFIG_PATHpinned: writes to the documentedopenclaw mcp add/openclaw mcp unset, and every ownership check and read-back toopenclaw mcp show fidelis --json, falling back toopenclaw mcp list --jsonto tell "no such server" apart from "could not be read". Install and uninstall refuse to touch anmcp.servers.fidelisentry that does not name the bundled server unless--forceis passed, and never shell out to write before refusing. Success is never inferred from an exit code: a change the CLI reports as successful but that the read-back does not prove exits non-zero, and a state OpenClaw cannot report is treated as unknown — never as "no entry there", and never as a success, even under--force. Theopenclawbinary is required, because it owns the write and is the only reader that can be trusted with a JSON5 config.The Gemini CLI and GitHub Copilot CLI ownership check no longer crashes on a hostile string in a hand-edited config: an embedded NUL (
\u0000is valid JSON) or an unresolvable~userin the entry's arguments used to escape install and uninstall as a traceback instead of the ownership refusal. Such an entry is now treated as foreign, and left alone unless--forceis passed, the way OpenClaw entries already were.OpenClaw ownership no longer matches on any string anywhere in an entry — only on
commandnaming a Python interpreter (this process's own, by exact path, or a plausible name likepypy3elsewhere) paired with exactly one argument naming the bundled script, the one shapeopenclaw mcp addactually writes. A foreign server that merely references the script path inenv, a header, a URL, or an unrelated argument is no longer recognized as Fidelis's own and installed over or removed without--force. Install also verifies the read-back entry's command, argument, and enabled state match what was requested, not just that it belongs to Fidelis — a stale entry from a prior install (wrong interpreter, left disabled) could otherwise read back as "ours" even whenopenclaw mcp addsilently left it untouched. Diagnostics for a refused or unexpected entry now show only its launch-shaped fields (never argument values,env, or headers), so a credential on the entry is never echoed to stderr.Add
fidelis mcp install --client copilotandfidelis mcp uninstall --client copilot, which register the bundled stdio MCP server in GitHub Copilot CLI's documentedmcp-config.json(~/.copilotor$COPILOT_HOME) with atomic writes, backups, and ownership checks that preserve unrelated entries. Thecopilotbinary is not required at configuration time.fidelis mcp uninstall --forceremoves an entry that does not look like ours, for the case where the ownership check is wrong.Atomic config rewrites now keep the destination file's permission bits, and a config Fidelis creates is
0600. Previously every rewrite reset anmcp-config.jsonorsettings.local.jsonto the umask default, widening a file that can hold MCPenvsecrets.Config backups no longer overwrite each other when two mutations land in the same second, so an install immediately followed by an uninstall keeps both restore points.
v0.0.95 — 2026-09-02
Add a portable
fidelis mcp serveentry point and official MCP Registry metadata foruvx-based installation.Add the PyPI README ownership marker required for the
io.github.hermes-labs-ai/fidelis-memoryregistry namespace.
v0.0.94 — 2026-09-02
Add supported Codex MCP installation and removal through the shared
codex mcpconfiguration, with exact ownership checks that preserve unrelated entries.Add
fidelis_orient, a deterministic MCP tool that selects a bounded evidence lane, returns retrieved records without rephrasing them, and abstains when a turn lacks a known referent or historical-context cue.Add citation and CodeMeta metadata and align the agent-facing
llms.txtretrieval headline with the shipped zero-LLM benchmark evidence.
v0.0.93 — 2026-08-05
Publish the Hermes Labs distribution to PyPI as
fidelis-memory.Make Fidelis Memory the user-facing product name across package metadata and primary documentation, while preserving the
fidelisrepository, import, and CLI names for compatibility.Replace the GitHub-source install path in primary documentation with the version-pinned PyPI installation command.
v0.0.92 — 2026-08-04
Preserve
/addinput verbatim when the extraction model returns no facts, expose the degraded fallback through HTTP and CLI, and apply the same no-silent-loss rule during queued-write replay.Correct every current install surface to use tagged GitHub source; the PyPI project named
fidelisis unrelated to Hermes Labs Fidelis.Align public package status with v0.0.91 and remove a dead benchmark link.
Narrow local-data and compliance wording to the demonstrated boundary.
Default mem0 telemetry off for direct server launches so SIGTERM completes cleanly, while preserving explicit opt-in; document the remaining Chroma settings and extend CI coverage through Python 3.14.
Remove cross-project proof language from current Fidelis presentation.
Add a regression test for the public installation contract.
fidelis era
v0.0.91 — 2026-06-18 (public release)
Public open-source release on GitHub + Zenodo DOI.
Repo hygiene only: relativized benchmark paths, removed run-log artifacts, refreshed module naming, added Zenodo metadata. No API changes vs v0.0.9.
v0.0.5 — 2026-04-24 (first release as fidelis, renamed from cogito-ergo)
Package rename: cogito-ergo → fidelis. Version reset for the new
PyPI package. The old cogito-ergo PyPI entries (0.0.8 and 0.3.0) remain
published but are now deprecated pointers to this package. Note: a prior
cogito-ergo v0.0.5 also exists in the changelog below — these are
different packages; the version numbers do not collide on PyPI.
Headline: zero-LLM is the default retrieval tier. The repositioning reflects what the benchmark numbers actually show — the zero-LLM path is the production moat (83.2% R@1 at $0, fully local); the LLM tiers are benchmark-tuned and held as experimental until calibration is fixed.
Rename details
PyPI package:
cogito-ergo→fidelisImport name:
from cogito→from fidelisCLI:
cogito ...→fidelis ...,cogito-server→fidelis-serverData paths kept as
~/.cogito/for backward-compat with existing deploymentsEnv vars kept as
COGITO_*for backward-compatChromaDB collection names kept as
cogito_memoryto avoid data loss
Default change (breaking for callers relying on default tier)
recall_hybrid()default tier flipped fromfiltertozero_llm. Callers that relied on the filter default must passtier="filter"explicitly. Affects:fidelis recall-hybridCLI,POST /recall_hybrid,recall_hybrid(...)Python API.
Features
New
sinceparameter on/recallandfidelis recall --since— ISO-8601 timestamp filter applied after Stage 2.
Observability & reliability
New
fidelis.telemetrymodule: escalation-rate log +rate()summariser. Makes the 80%-vs-10% calibration miss measurable at runtime. Crash-safe.degrade.replay_queuecorrupt-file branch now covered by tests.
Tests
tests/test_zero_llm_regression.py— 4 tests pin zero-LLM default: no filter/flagship invocation, works without LLM config, matches explicit-tier output, handles empty corpus.tests/test_telemetry.py— 5 tests for the new observability module.tests/test_verify_guard.py— regression pin for the documented verify-guard-inactive bug; xfail until fixed.tests/test_graceful_degrade_corruption.py— replay_queue corruption.Test baseline: 61 → 72 passing + 2 defensive skips.
Benchmarks (for reference, not default-path claims)
recall_hybridattier="flagship"hits 96.4% R@1 on LongMemEval_S (470 questions, runP-v35, 2026-04-18). Escalates on ~80% of queries under current calibration vs 10% intended — known limitation documented in STATUS.md anddocs/RELEASE-SCOPE.md. Do not use the 96.4% number as a cost-model baseline.Zero-LLM per-category R@1 (now the default): single-session-assistant 100%, knowledge-update 96%, single-session-user 95%, multi-session 83%, single-session-preference 67%, temporal-reasoning 66%.
Docs
README repositioned: zero-LLM leads, LLM tiers labeled experimental, per-category table published.
docs/THRESHOLD-AUDIT.md— pins prod vs bench escalation constants.docs/RELEASE-SCOPE.md— in-scope / held-for-later with unlock criteria.
cogito-ergo era (predecessor package, retained for history)
v0.3.0 — 2026-04-16
New
recall_hybridpath: BM25 + dense + RRF with tiered LLM escalation. Port of the architecture that reached 93.4% R@1 on LongMemEval_S (up from the 56% mem0 baseline). Superseded by v0.3.1 (96.4%).New
POST /recall_hybridHTTP endpoint andfidelis recall-hybridCLI.New tiers:
zero_llm(no LLM, fastest),filter(cheap rerank, default),flagship(stronger model, 4x larger snippets).New env vars:
COGITO_FLAGSHIP_ENDPOINT,COGITO_FLAGSHIP_TOKEN,COGITO_FLAGSHIP_MODEL,COGITO_FLAGSHIP_TIMEOUT_MS,COGITO_HYBRID_COSINE_WEIGHT. Optional[hybrid]extra forbm25s.Existing
/recalland/recall_bbehavior is unchanged. The hybrid path is strictly opt-in.
v0.2.0 — 2026-03-28
Dual-pipeline recall: zero-LLM
recall_b(RRF multi-query) feedsrecall(integer-pointer LLM filter)Snapshot layer for high-fidelity context injection
Combined eval harness (
bench/)Technical extraction prompt baked into default config (no external prompt file needed)
Qwen3/qwen3.5 support via native Ollama
/api/chatwiththink:false
v0.0.5 — 2026-03-28
Fixed benchmark attribution: qwen3.5:2b filter model (not claude-haiku-4-5)
Added Hermes Labs PyPI metadata (author, homepage, keywords)
Added agents.md for AI agent discoverability
Updated llms.txt with full API shapes and integration notes
Added "Built by Hermes Labs" ecosystem section to README
v0.1.0 — 2026-03
Initial two-stage integer-pointer recall pipeline
mem0 + ChromaDB vector store backend
HTTP server with
/recall,/add,/snapshotendpointsfidelis calibratefor vocab map generation
367 files · 337 not served here
- .agents/skills/fidelis/SKILL.md (not served here)
- .cogito.example.json (not served here)
- .github/FUNDING.yml (not served here)
- .github/workflows/ci.yml (not served here)
- .github/workflows/release.yml (not served here)
- .github/workflows/scorecard.yml (not served here)
- .github/workflows/swh-archive.yml (not served here)
- .gitignore (not served here)
- .hermes/gate.toml (not served here)
- .hermes/hermes_gate_runner.py (not served here)
- .hermes/run_gate_runner.py (not served here)
- .pre-commit-config.yaml (not served here)
- .zenodo.json (not served here)
- ATTRIBUTION.md
- AUTOGINEER-RUNS.md
- CHANGELOG.md
- CITATION.cff (not served here)
- CODE_OF_CONDUCT.md
- COMPLIANCE-DRAFT.md
- CONTRIBUTING.md
- Dockerfile (not served here)
- Formula/fidelis.rb (not served here)
- GEMINI.md
- LICENSE
- PR_BODY.md
- README.md
- ROADMAP.md
- SECURITY.md
- STATUS.md
- WRITEUP-LONGMEMEVAL-20260423.md
- agents.md
- assets/fidelis-memory-artwork.png (not served here)
- bench/BENCHMARK_INTEGRITY_AUDIT.md (not served here)
- bench/DEFAULT-RETRIEVAL-METHODOLOGY.md (not served here)
- bench/IMPROVEMENT-COMPARISON.md (not served here)
- bench/LAUNCH-FRAMING.md (not served here)
- bench/METHODOLOGY.md (not served here)
- bench/MULTIQUERY-ANALYSIS.md (not served here)
- bench/R&D-PLAN-2026-04-15.md (not served here)
- bench/REGRADE_README.md (not served here)
- bench/RESULTS-SUMMARY.md (not served here)
- bench/REVIEW-QUEUE.md (not served here)
- bench/ROADMAP-95-v2.md (not served here)
- bench/ROADMAP-95.md (not served here)
- bench/VALIDATION_PACK.md (not served here)
- bench/analysis-pipeline-2026-04-15.json (not served here)
- bench/analyze_pipeline.py (not served here)
- bench/analyze_thresholds.py (not served here)
- bench/benchmark.py (not served here)
- bench/cases.json (not served here)
- bench/claude_code_session_eval.py (not served here)
- bench/claude_code_user_eval.py (not served here)
- bench/diff_runs.py (not served here)
- bench/eval-cache-provenance-0.3.0rc1.json (not served here)
- bench/eval.py (not served here)
- bench/eval_cases.json (not served here)
- bench/hardset.json (not served here)
- bench/longmemeval_combined.py (not served here)
- bench/longmemeval_combined_pipeline.py (not served here)
- bench/longmemeval_combined_pipeline_dates.py (not served here)
- bench/longmemeval_combined_pipeline_flagship.py (not served here)
- bench/longmemeval_combined_pipeline_guard.py (not served here)
- bench/longmemeval_combined_pipeline_v31.py (not served here)
- bench/longmemeval_combined_pipeline_v32.py (not served here)
- bench/longmemeval_combined_pipeline_v33.py (not served here)
- bench/longmemeval_combined_pipeline_v33_ablate.py (not served here)
- bench/longmemeval_combined_pipeline_v34.py (not served here)
- bench/longmemeval_combined_pipeline_v35.py (not served here)
- bench/longmemeval_combined_verify.py (not served here)
- bench/longmemeval_default.py (not served here)
- bench/longmemeval_full_pipeline.py (not served here)
- bench/longmemeval_hybrid.py (not served here)
- bench/longmemeval_multiquery.py (not served here)
- bench/longmemeval_prefix.py (not served here)
- bench/longmemeval_queryexp.py (not served here)
- bench/longmemeval_rerank.py (not served here)
- bench/longmemeval_retrieval.py (not served here)
- bench/longmemeval_scaffold_pref.py (not served here)
- bench/longmemeval_scaffold_temporal.py (not served here)
- bench/longmemeval_tuned.py (not served here)
- bench/longmemeval_turnlevel.py (not served here)
- bench/phase-0/LEARNINGS.md (not served here)
- bench/phase-2/build_hardset.py (not served here)
- bench/phase-2/learned_router.pkl (not served here)
- bench/phase-2/learned_router.py (not served here)
- bench/phase-2/retriever_contribution.json (not served here)
- bench/phase-2/retriever_contribution.md (not served here)
- bench/phase-2/retriever_contribution.py (not served here)
- bench/phase-2/retriever_contribution_logged.py (not served here)
- bench/phase-2/run_learned_router.sh (not served here)
- bench/phase-4/TEMPORAL_SCAFFOLD_DESIGN.md (not served here)
- bench/phase-4/temporal_scaffold.py (not served here)
- bench/phase-6/FLAGSHIP_DESIGN.md (not served here)
- bench/phase-6/flagship_escalation.py (not served here)
- bench/qa_eval.py (not served here)
- bench/qa_eval_runJ-v33.json (not served here)
- bench/qa_eval_v2_runP-v35_qwen-max_top5_regraded.json (not served here)
- bench/qa_eval_v3_routing.py (not served here)
- bench/qwen_native_arena.py (not served here)
- bench/qwen_native_arena_results.md (not served here)
- bench/r5_ceiling_diagnostic.md (not served here)
- bench/regrade_qa.py (not served here)
- bench/results-2026-04-15.json (not served here)
- bench/results-combined-2026-04-15.json (not served here)
- bench/results-combined-pipeline-2026-04-15.json (not served here)
- bench/results-default-0.3.0rc1.json (not served here)
- bench/results-default-smoke-0.3.0rc1.json (not served here)
- bench/results-fixed-2026-04-15.json (not served here)
- bench/results-flagship-2026-04-15.json (not served here)
- bench/results-guard-2026-04-17.json (not served here)
- bench/results-hybrid-2026-04-15.json (not served here)
- bench/results-multiquery-2026-04-15.json (not served here)
- bench/results-prefix-2026-04-15.json (not served here)
- bench/results-rerank-2026-04-15.json (not served here)
- bench/results-tuned-2026-04-15.json (not served here)
- bench/results-turnlevel-2026-04-15.json (not served here)
- bench/results-v31-2026-04-17.json (not served here)
- bench/results-v32-2026-04-17.json (not served here)
- bench/results-v33-2026-04-18.json (not served here)
- bench/run_ablations.py (not served here)
- bench/run_all.sh (not served here)
- bench/run_all_experiments.sh (not served here)
- bench/run_chunked.py (not served here)
- bench/run_improvements.sh (not served here)
- bench/runs/baseline-seed2/aggregate.json (not served here)
- bench/runs/baseline-seed2/per_question.json (not served here)
- bench/runs/baseline/aggregate.json (not served here)
- bench/runs/baseline/per_question.json (not served here)
- bench/runs/claude_code_user_eval.json (not served here)
- bench/runs/fix-assistant-text/aggregate.json (not served here)
- bench/runs/fix-assistant-text/per_question.json (not served here)
- bench/runs/router-v2/aggregate.json (not served here)
- bench/runs/router-v2/per_question.json (not served here)
- bench/runs/runA-temporal-scaffold/aggregate.json (not served here)
- bench/runs/runA-temporal-scaffold/per_question.json (not served here)
- bench/runs/runB-flagship/aggregate.json (not served here)
- bench/runs/runB-flagship/per_question.json (not served here)
- bench/runs/runC-guard/aggregate.json (not served here)
- bench/runs/runC-guard/per_question.json (not served here)
- bench/runs/runD-temporal/per_question.json (not served here)
- bench/runs/runE-pref/per_question.json (not served here)
- bench/runs/runF-queryexp/per_question.json (not served here)
- bench/runs/runH-v31/per_question.json (not served here)
- bench/runs/runI-v32/per_question.json (not served here)
- bench/runs/runJ-v33/aggregate.json (not served here)
- bench/runs/runJ-v33/per_question.json (not served here)
- bench/runs/runK-ablate-tempboost/per_question.json (not served here)
- bench/runs/runO-runtime-escalate/aggregate.json (not served here)
- bench/runs/runO-runtime-escalate/per_question.json (not served here)
- bench/runs/runP-v35/aggregate.json (not served here)
- bench/runs/runP-v35/per_question.json (not served here)
- bench/runs/smoke-D-temporal/aggregate.json (not served here)
- bench/runs/smoke-D-temporal/per_question.json (not served here)
- bench/runs/smoke-ablate-test/aggregate.json (not served here)
- bench/runs/smoke-ablate-test/per_question.json (not served here)
- bench/runs/smoke-guard/aggregate.json (not served here)
- bench/runs/smoke-guard/per_question.json (not served here)
- bench/runs/smoke-qa/per_question.json (not served here)
- bench/runs/smoke-v31/aggregate.json (not served here)
- bench/runs/smoke-v31/per_question.json (not served here)
- bench/runs/smoke-v32/aggregate.json (not served here)
- bench/runs/smoke-v32/per_question.json (not served here)
- bench/runs/smoke-v33/aggregate.json (not served here)
- bench/runs/smoke-v33/per_question.json (not served here)
- bench/runs/step1-gapfix/aggregate.json (not served here)
- bench/runs/step1-gapfix/per_question.json (not served here)
- bench/runs/step2-dates/aggregate.json (not served here)
- bench/runs/step2-dates/per_question.json (not served here)
- bench/scaffold_arena.py (not served here)
- bench/scaffold_arena_results.md (not served here)
- bench/scaffold_arena_round2.py (not served here)
- bench/scaffold_arena_round2_results.md (not served here)
- bench/scaffold_transfer_validation.md (not served here)
- bench/scaffold_transfer_validation.py (not served here)
- bench/scaffold_transfer_validation_raw.json (not served here)
- bench/sweep_underperformance_diagnosis.md (not served here)
- claude-plugin/.claude-plugin/plugin.json (not served here)
- claude-plugin/.mcp.json (not served here)
- claude-plugin/README.md (not served here)
- claude-plugin/skills/fidelis-memory/SKILL.md (not served here)
- codemeta.json (not served here)
- docker-compose.yml (not served here)
- docs/DISPATCHER_DESIGN.md
- docs/GENERALIZABILITY_SKEPTIC.md
- docs/RELEASE-SCOPE.md
- docs/RELEASING.md
- docs/ROADMAP_CODEX.md
- docs/SCAFFOLD_DISPATCHER_V031.md
- docs/THRESHOLD-AUDIT.md
- docs/claude-code-memory-demo.md
- docs/full-reference.md
- docs/internal/FLAGSHIP-PAPER-DRAFT.md (not served here)
- docs/internal/PUBLISH-PLAN-20260425.md (not served here)
- docs/issue-62-sustained-write-restore-proof-2026-09-23.json (not served here)
- docs/issue-62-sustained-write-restore-proof-2026-09-23.md
- docs/releases/0.1.0.md (not served here)
- docs/releases/0.2.0.md (not served here)
- docs/releases/0.3.0rc1.md (not served here)
- docs/releases/release-readiness-0.1.0.md (not served here)
- docs/scaffold.md
- docs/user-fit.md
- examples/real-world/README.md (not served here)
- examples/real-world/bench-hardset-hit-at-5/README.md (not served here)
- examples/real-world/bench-hardset-hit-at-5/expected.json (not served here)
- examples/real-world/bench-hardset-hit-at-5/input.json (not served here)
- examples/real-world/correction-chain-temporal/README.md (not served here)
- examples/real-world/correction-chain-temporal/expected.json (not served here)
- examples/real-world/correction-chain-temporal/input.json (not served here)
- examples/real-world/mcp-client-config/README.md (not served here)
- examples/real-world/mcp-client-config/expected.json (not served here)
- examples/real-world/mcp-client-config/input-gemini-extension.json (not served here)
- examples/real-world/mcp-client-config/input-mcp.json (not served here)
- examples/real-world/retraction-and-ephemera-read-filter/README.md (not served here)
- examples/real-world/retraction-and-ephemera-read-filter/expected.json (not served here)
- examples/real-world/retraction-and-ephemera-read-filter/input.json (not served here)
- examples/real-world/retraction-and-ephemera-read-filter/pointers.json (not served here)
- examples/real-world/write-gate-screening/README.md (not served here)
- examples/real-world/write-gate-screening/expected.json (not served here)
- examples/real-world/write-gate-screening/input.json (not served here)
- experiments/DECISIONS.md (not served here)
- experiments/E0-baseline/compute_baseline.py (not served here)
- experiments/E0-baseline/receipt.json (not served here)
- experiments/E0-baseline/receipt.md (not served here)
- experiments/E1-decisions.md (not served here)
- experiments/E1-synthesis/adversarial-review.md (not served here)
- experiments/E1-synthesis/qa_eval_v3_E1_runP-v35.json (not served here)
- experiments/E1-synthesis/qa_eval_v3_E1_runP-v35_receipt.json (not served here)
- experiments/E1-synthesis/qa_eval_v3_E1_runP-v35_summary.json (not served here)
- experiments/E1-synthesis/receipt.md (not served here)
- experiments/E2-gpt4o/adversarial-review.md (not served here)
- experiments/E2-gpt4o/qa_eval_v3_E2_runP-v35.json (not served here)
- experiments/E2-gpt4o/qa_eval_v3_E2_runP-v35_receipt.json (not served here)
- experiments/E2-gpt4o/qa_eval_v3_E2_runP-v35_summary.json (not served here)
- experiments/E2-gpt4o/receipt.md (not served here)
- experiments/E2-gpt4o/write_receipt_md.py (not served here)
- experiments/E2a-tr-ablation/qa_eval_v3_E2a_runP-v35.json (not served here)
- experiments/E2a-tr-ablation/qa_eval_v3_E2a_runP-v35_receipt.json (not served here)
- experiments/E2a-tr-ablation/qa_eval_v3_E2a_runP-v35_summary.json (not served here)
- experiments/E2a-tr-ablation/receipt.md (not served here)
- experiments/E3-langstate/PLAN.md (not served here)
- experiments/E3-temporal-fix/PLAN.md (not served here)
- experiments/E4-qtypes/PLAN.md (not served here)
- experiments/E5-final/PLAN.md (not served here)
- experiments/FINAL-REPORT-TEMPLATE.md (not served here)
- experiments/zeroLLM-FLAGSHIP-evidence/F1-smoke-scaffold.json (not served here)
- experiments/zeroLLM-FLAGSHIP-evidence/F1B-smoke-baseline-TR-only.json (not served here)
- experiments/zeroLLM-FLAGSHIP-evidence/F1B-smoke-baseline-partial.json (not served here)
- experiments/zeroLLM-FLAGSHIP-evidence/F2-FULL-scaffold.json (not served here)
- experiments/zeroLLM-FLAGSHIP-evidence/SUMMARY.json (not served here)
- extensions/fidelis-recall.ts (not served here)
- gemini-extension.json
- glama.json (not served here)
- llms.txt (not served here)
- mcp.json
- plugin.json (not served here)
- pyproject.toml (not served here)
- scripts/sustained_write_restore_proof.py (not served here)
- server.json
- src/fidelis/__init__.py (not served here)
- src/fidelis/augment.py (not served here)
- src/fidelis/browse.py (not served here)
- src/fidelis/calibrate.py (not served here)
- src/fidelis/cli.py (not served here)
- src/fidelis/codex_history.py (not served here)
- src/fidelis/cogito_hermeneutics.py (not served here)
- src/fidelis/config.py (not served here)
- src/fidelis/context.py (not served here)
- src/fidelis/degrade.py (not served here)
- src/fidelis/evidence_status.py (not served here)
- src/fidelis/ingest_claude_sessions.py (not served here)
- src/fidelis/ingest_codex_sessions.py (not served here)
- src/fidelis/init_cmd.py (not served here)
- src/fidelis/inquiry.py (not served here)
- src/fidelis/lpci.py (not served here)
- src/fidelis/mcp_cmd.py (not served here)
- src/fidelis/mcp_server.py (not served here)
- src/fidelis/recall.py (not served here)
- src/fidelis/recall_b.py (not served here)
- src/fidelis/recall_hybrid.py (not served here)
- src/fidelis/recall_recent.py (not served here)
- src/fidelis/recall_sessions.py (not served here)
- src/fidelis/relation_envelope.py (not served here)
- src/fidelis/retrieval_telemetry.py (not served here)
- src/fidelis/retrieval_trace.py (not served here)
- src/fidelis/scaffold/__init__.py (not served here)
- src/fidelis/scaffold/_core.py (not served here)
- src/fidelis/scaffold/preflight.py (not served here)
- src/fidelis/scaffold_server.py (not served here)
- src/fidelis/seed.py (not served here)
- src/fidelis/server.py (not served here)
- src/fidelis/session_reference.py (not served here)
- src/fidelis/sessions_cmd.py (not served here)
- src/fidelis/snapshot.py (not served here)
- src/fidelis/supersession.py (not served here)
- src/fidelis/telemetry.py (not served here)
- src/fidelis/temporal.py (not served here)
- src/fidelis/temporal_index.py (not served here)
- src/fidelis/temporal_recall.py (not served here)
- src/fidelis/watch_cmd.py (not served here)
- src/fidelis/write_gate.py (not served here)
- tests/__init__.py (not served here)
- tests/fixtures/relation_envelopes_v1.json (not served here)
- tests/scaffold/test_anthropic_cache_wire.py (not served here)
- tests/scaffold/test_backend_portability.py (not served here)
- tests/scaffold/test_caching_properties.py (not served here)
- tests/scaffold/test_chat_history_compatibility.py (not served here)
- tests/scaffold/test_consumer_surface.py (not served here)
- tests/scaffold/test_e2e_store_query.py (not served here)
- tests/scaffold/test_openai_format_compatibility.py (not served here)
- tests/scaffold/test_real_tokenizer.py (not served here)
- tests/scaffold/test_retrieval_compatibility.py (not served here)
- tests/scaffold/test_runtime_compatibility.py (not served here)
- tests/scaffold/test_scaffold_core.py (not served here)
- tests/scaffold/test_scaffold_graceful_degrade.py (not served here)
- tests/scaffold/test_streaming_marker_integrity.py (not served here)
- tests/scaffold/test_top_score_contract.py (not served here)
- tests/test_broken_pipe_recovery.py (not served here)
- tests/test_browse.py (not served here)
- tests/test_claude_plugin_root.py (not served here)
- tests/test_cli_browse.py (not served here)
- tests/test_codemeta.py (not served here)
- tests/test_context.py (not served here)
- tests/test_dead_letter.py (not served here)
- tests/test_gemini_extension.py (not served here)
- tests/test_graceful_degrade.py (not served here)
- tests/test_graceful_degrade_corruption.py (not served here)
- tests/test_graceful_shutdown.py (not served here)
- tests/test_health_index_lag.py (not served here)
- tests/test_hermes_gate_profile.py (not served here)
- tests/test_init_defects_A_B.py (not served here)
- tests/test_init_plist_contents.py (not served here)
- tests/test_init_uninstall_label.py (not served here)
- tests/test_liveness_endpoint.py (not served here)
- tests/test_mcp_copilot.py (not served here)
- tests/test_mcp_cursor.py (not served here)
- tests/test_mcp_gemini.py (not served here)
- tests/test_mcp_openclaw.py (not served here)
- tests/test_mcp_ping.py (not served here)
- tests/test_mcp_smoke_no_ollama.py (not served here)
- tests/test_mcp_surface_v2.py (not served here)
- tests/test_p0_score_bypass.py (not served here)
- tests/test_pi_recall.mjs (not served here)
- tests/test_port_env_alias.py (not served here)
- tests/test_public_install_truth.py (not served here)
- tests/test_real_world_examples.py (not served here)
- tests/test_recall_b_resilience.py (not served here)
- tests/test_recall_hybrid.py (not served here)
- tests/test_relation_envelope.py (not served here)
- tests/test_relation_envelope_e2e.py (not served here)
- tests/test_server_boots_without_ollama.py (not served here)
- tests/test_session_memory.py (not served here)
- tests/test_smoke.py (not served here)
- tests/test_superseded_not_dropped.py (not served here)
- tests/test_supersession.py (not served here)
- tests/test_telemetry.py (not served here)
- tests/test_telemetry_kill_actually_kills.py (not served here)
- tests/test_temporal.py (not served here)
- tests/test_temporal_index.py (not served here)
- tests/test_temporal_recall.py (not served here)
- tests/test_time_aware_acceptance.py (not served here)
- tests/test_user_id_namespace_isolation.py (not served here)
- tests/test_verify_guard.py (not served here)
- tests/test_watch_backpressure.py (not served here)
- tests/test_write_fallback_contract.py (not served here)
- tests/test_write_gate.py (not served here)
- tests/test_write_truthfulness.py (not served here)
- tests/test_zero_llm_regression.py (not served here)
Advantages
- Retrieves original passages verbatim by default, avoiding potential inaccuracies introduced by generative summarization. evidence: README.md
- Supports hybrid search combining BM25 and dense-vector retrieval for improved accuracy. evidence: README.md
- Maintains historical integrity by allowing corrections to supersede records without erasing the original data. evidence: README.md
Limitations
- Requires a local Ollama service for embedding generation. evidence: README.md
- Currently a single-machine pre-release and not a hosted team memory service. evidence: README.md
- Retrieved text may still be outdated or incorrect depending on the quality of the stored information. evidence: README.md
Security
Risk level: Low risk
This brain runs
Agent instructions that run or fetch something (4)
.agents/skills/fidelis/SKILL.md:Wiring an MCP memory tool into Claude Code, Codex, GitHub Copilot CLI, Gemini CLI, or OpenClaw via `fidelis mcp install`.agents/skills/fidelis/SKILL.md:Executable name is `fidelis`, not `fidelis-memory` — `uvx fidelis-memory` fails;.agents/skills/fidelis/SKILL.md:use `uvx --from fidelis-memory fidelis <cmd>`..agents/skills/fidelis/SKILL.md:install `fidelis-memory`.
Git hooks (1)
.pre-commit-config.yaml:bash -c 'git grep -nE "rbr_lpci" -- ":!.pre-commit-config.yaml" && exit 1 || exit 0'
MCP servers (3)
claude-plugin/.mcp.json(fidelis):uvx --from fidelis-memory==0.3.0rc1 fidelis mcp servegemini-extension.json(fidelis):uvx --from fidelis-memory==0.3.0rc1 fidelis mcp servemcp.json(fidelis):uvx --from fidelis-memory==0.3.0rc1 fidelis mcp serve
- Low risk: network-instructions (.agents/skills/fidelis/SKILL.md:5)
Attribution and licence
- Created by
- Hermes Labs
- Declared authors
- Hermes Labs (declared in pyproject.toml)
- Rolando Bosch Rodriguez (declared in CITATION.cff)
- Publisher
- Hermes Labs (Official Hermes Labs project)
- Source
- hermes-labs-ai/fidelis · commit 9504c4a
- Licence
- Apache License 2.0 (files served here)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Hermes Labs.
Install from source
337 of its files are not served here, so there is no ZIP. hermes-labs-ai/fidelis at 9504c4a