Distill
Memory framework
First committed by Siddhant-K-code
Published in Siddhant-K-code/distill. Publisher page
198 GitHub stars
What it is
Context intelligence layer for LLM agents: persistent memory with write-time dedup, sensitivity tagging, conflict detection, and hierarchical decay. ~12ms. No LLM calls. MIT.
AutoGineer overview, from the brain’s own files
Distill is a framework designed to serve as a context intelligence layer for LLM agents. It provides persistent memory capabilities, allowing agents to maintain context across sessions. The system includes features for deduplication, sensitivity tagging, conflict detection, and hierarchical decay of information. It is designed to integrate with various environments, including Claude Desktop and Cursor, via an MCP server, and provides REST API endpoints for broader agentic applications.
How it works
Memory model: Hybrid
AutoGineer overview, from the brain’s own files
Distill functions as a memory layer that manages agent context through a series of internal packages. It handles data ingestion, deduplication, and embedding to organize information. The system uses a memory model that supports persistent storage and retrieval, allowing agents to access relevant context. It includes tools for session management, token-budgeted context windows, and handoff capabilities for decision-to-documentation workflows.
| Folder | Role | Files |
|---|---|---|
| .github | agent-config | 5 |
| docs | docs | 17 |
| examples | examples | 4 |
| pkg | source-code | 115 |
| scripts | scripts | 5 |
| tools | scripts | 2 |
| cmd | folder | 34 |
| grafana | folder | 1 |
| internal | folder | 119 |
| mcp | folder | 4 |
| research | folder | 105 |
| testdata | folder | 27 |
Requirements
Apps: Docker
Runtimes: Go
Databases: Pinecone, Qdrant, Redis, SQLite, Weaviate
API keys (by name): COHERE_API_KEY, DISTILL_API_KEY, OPENAI_API_KEY, PINECONE_API_KEY
Works with: Claude apps
Set it up
This brain runs code automatically: 1 script. Review Makefile before opening the folder in Claude Code. No step below turns a hook on for you.
Makefile:$(GO) install $(GOFLAGS) -ldflags "$(LDFLAGS)" .
- Not scanned by AutoGineerThe author’s MCP configuration (README.md) also starts it in a way AutoGineer does not offer. Read that file: AutoGineer did not scan that path; what it runs is listed under “This brain runs”. https://github.com/Siddhant-K-code/distill/blob/2417e00dabe498eb8187f4544f001d5a49fbdb45/README.md
- Not scanned by AutoGineerThe author’s README also describes installing it from a clone of its repository. Read its install section: AutoGineer did not scan that path. https://github.com/Siddhant-K-code/distill/blob/2417e00dabe498eb8187f4544f001d5a49fbdb45/README.md#go-install
- Not scanned by AutoGineerThe author’s README also describes installing it with go install. Read its install section: AutoGineer did not scan that path. https://github.com/Siddhant-K-code/distill/blob/2417e00dabe498eb8187f4544f001d5a49fbdb45/README.md#go-install
First committed by Siddhant-K-code. Published in Siddhant-K-code/distill. Licence: MIT License.
Usage
AutoGineer overview, from the brain’s own files
- Integrating persistent memory into LLM agent workflows.
- Managing context windows across multiple agent sessions.
- Implementing deduplication and sensitivity tagging for agent data.
- Using the MCP server to connect agent memory to desktop clients.
- Automating decision-to-documentation bundles via handoff capabilities.
- “Retrieve the context from the last session regarding the project architecture.”
- The agent accesses the persistent memory layer to provide the relevant architectural details stored in the previous session.
- “Summarize the recent decisions made in the current development sprint.”
- The agent uses the handoff capability to bundle and present the documented decisions stored within the system.
Documentation by Siddhant-K-code
Read the documentation at the source
docs/handoff-v0.md
Distill Handoff v0 alpha
Status: experimental, review-only contract for Markdown in local repositories.
Handoff freezes a consequential conversation and its reference docs into a portable request, then deterministically verifies and packages an external agent's proposal for human review.
Running a first retrospective test? Use the tester-ready pilot kit. This document remains the authoritative protocol and failure-boundary reference.
Use Handoff with any agent
Handoff is currently an agent-independent CLI and file protocol. It is not an
autonomous agent or a transparent Copilot, Claude Code, Codex, Cursor, or MCP
integration: you run prepare, give its private bundle to the agent you already
use, save that agent's proposal.json, and run verify yourself.
Keep the prepared request immutable. If an agent writes workspace metadata, run
it from a disposable parent containing a request copy and a separate proposal
output, then verify the retained request against that external proposal.
flowchart TD
subgraph trusted["Trusted local runner"]
sources["Conversation + Markdown docs"] --> prepare["distill handoff prepare"]
prepare --> bundle["Private request bundle<br/>(only artifact sent to the agent)"]
prepare --> digest["Trusted copy of request digest<br/>(retained outside agent boundary)"]
verify["distill handoff verify"]
end
subgraph agent["Agent-controlled boundary"]
models["Copilot / Claude Code / Codex / Cursor / local agent"]
proposal["proposal.json"]
models --> proposal
end
bundle --> models
proposal --> verify
digest --> verify
verify --> artifacts["review.md + receipt +<br/>checksum-bound patches"]
artifacts --> review["Human review"]
review --> optional["Optional manual apply / branch / PR"]Give the request bundle to your agent with this prompt:
Read agent-instructions.md in the supplied Handoff request bundle. Using only
the bundled contents, output one canonical proposal.json that matches
proposal.schema.json exactly. Do not modify the source docs; write no files
other than proposal.json.Retain an independently trusted copy of the digest printed by prepare. The
bundle and proposal may contain the same value, but neither is authoritative for
--expected-request-sha256; never source it from the proposing agent or output.
Contract and guarantees
V0 alpha accepts one exported .md conversation and a non-empty local docs tree
containing only .md files. It is an evaluation-stage protocol, not an agent
framework, repository writer, general patch engine, adoption claim, or
release-readiness signal.
For the same normalized request bundle and canonical proposal on a supported macOS/Linux runtime, Handoff produces byte-identical review artifacts, receipts, patches, and checksums. It validates exact identities and evidence ranges, safe target paths, source hashes, a bounded unified-diff syntax, clean in-memory application, non-overlap, and review-only routing.
Decision extraction and patch drafting remain probabilistic external-agent work
and are outside that guarantee. Distill does not call a model or provider,
access the network, infer a decision, draft or apply a patch, modify source docs,
approve a proposal, commit, push, or merge. Every accepted proposal and
candidate route is exactly require_review.
Prepare, propose, and verify
distill handoff prepare --conversation <file> --docs <dir> --out <fresh-dir>
distill handoff verify --request <bundle/handoff.request.json> \
--expected-request-sha256 <trusted-prepare-digest> \
--proposal <proposal.json> --out <fresh-dir>prepare validates and normalizes the conversation and docs with
utf8-nfc-lf-v1, then atomically publishes a private request:
handoff.request.json
agent-instructions.md
proposal.schema.json
inputs/conversation.md
inputs/docs/<relative Markdown paths>
SHA256SUMSThe bundle contains no absolute paths, cwd, timestamp, hostname, username,
inode, or environment data. Its normalized files are the authoritative
snapshot; verify never revisits the original working tree. The printed
request SHA-256 is an out-of-band trust anchor, so a proposal repeating a
request hash is not trusted. Any changed or unexpected bundle content fails
verification.
The agent emits one canonical proposal matching the bundled draft-2020-12
schema: either sorted candidate_decisions or no_decision with a reason.
Each candidate binds its decision, exact conversation evidence and byte/line
ranges, frozen target identities, normalized single-file patch, and
route: "require_review".
The stable candidate ID is decision_ plus the lowercase SHA-256 of
distill-handoff/candidate/v0alpha1\n followed by the canonical candidate JSON
with id set to "". Canonical JSON uses schema field order, two-space
indentation, no HTML escaping, and one final LF.
The accepted diff subset may modify exactly one existing Markdown target. Creation, deletion, traversal, rename/copy, mode changes, binary/submodule patches, Git metadata, overlapping candidates, and malformed or stale patches fail closed.
verify applies patches only in memory against the frozen snapshot and
atomically publishes:
review.md
handoff.receipt.json
patches/<candidate-id>.patch
SHA256SUMSNo-decision output omits patches/. The receipt and checksums bind the request,
proposal, review, verified candidate facts, patched-result hashes, and every
published patch. Reviewers must still judge whether the evidence represents a
real committed decision and whether the proposed change is correct; applying a
patch or creating a branch or PR is always a separate manual action.
Five-to-ten-minute offline trial
This uses only checked-in fixtures and local commands:
make build
work="$(cd "$(mktemp -d)" && pwd -P)"
prepare_output="$(./distill handoff prepare \
--conversation testdata/handoff-v0/retry-policy/conversation.md \
--docs testdata/handoff-v0/retry-policy/docs \
--out "$work/request")"
request_sha256="$(printf '%s\n' "$prepare_output" |
sed -n 's/.* request_sha256=\([0-9a-f]*\) .*/\1/p')"
cp testdata/handoff-v0/retry-policy/proposal.json "$work/proposal.json"
./distill handoff verify \
--request "$work/request/handoff.request.json" \
--expected-request-sha256 "$request_sha256" \
--proposal "$work/proposal.json" \
--out "$work/review"
cat "$work/review/review.md"The fixture proposal stands in for external-agent output; Distill does not
invoke an agent. Repeat with api-deprecation or brainstorming (a valid
no-decision package), or run all three deterministic fixtures with:
make handoff-v0-demoNegative fixtures are under
testdata/handoff-v0/negative/{unsupported-evidence,stale-target}.
Failure, security, and privacy boundary
All validation failures are explicit and nonzero. Handoff rejects unsafe or colliding paths, unsupported files, invalid UTF-8, NUL and display-control injection, special files, symlinks, unsafe ownership/modes/ACLs, stale or unanchored identities, fabricated evidence, malformed patches, direct-allow routes, existing outputs, and unexpected bundle files.
Outputs are built in a sibling staging directory, synchronized, reverified, and published by atomic no-replace rename. Failure before publication leaves no success-shaped destination. A rare post-publication parent-directory sync failure reports that publication occurred but durability is unconfirmed; inspect the named output rather than retrying blindly.
The private request contains the full normalized conversation and docs
snapshot. Protect, transmit, and retain it like the originals. Handoff uses
0700 for request/review directories and 0600 for files, rejects
access-granting ACLs, and fails if those protections drift before verification.
It performs no redaction, secret scanning, encryption, upload, telemetry, or
network access; processes under the same OS account remain inside the local
trust boundary.
457 files · 445 not served here
- .github/FUNDING.yml (not served here)
- .github/dependabot.yml (not served here)
- .github/workflows/ci.yml (not served here)
- .github/workflows/docker.yml (not served here)
- .github/workflows/release.yml (not served here)
- .gitignore (not served here)
- .golangci.yml (not served here)
- .goreleaser.yml (not served here)
- .mailmap (not served here)
- ATTRIBUTION.md
- AUTOGINEER-RUNS.md
- CHANGELOG.md
- Dockerfile (not served here)
- FAQ.md (not served here)
- LICENSE
- Makefile (not served here)
- README.md (not served here)
- cmd/analyze.go (not served here)
- cmd/api.go (not served here)
- cmd/api_memory.go (not served here)
- cmd/api_pipeline.go (not served here)
- cmd/api_session.go (not served here)
- cmd/api_test.go (not served here)
- cmd/build.go (not served here)
- cmd/completion.go (not served here)
- cmd/config.go (not served here)
- cmd/distill-jev-final/main.go (not served here)
- cmd/distill-jev-final/main_test.go (not served here)
- cmd/distill-jev-pilot/main.go (not served here)
- cmd/distill-jev-pilot/main_test.go (not served here)
- cmd/distill-local-context-control-v2/main.go (not served here)
- cmd/distill-local-context-control-v2/main_test.go (not served here)
- cmd/distill-local-context-control/main.go (not served here)
- cmd/distill-local-context-control/main_test.go (not served here)
- cmd/distill-typesafe-jev-pilot/main.go (not served here)
- cmd/distill-typesafe-jev-pilot/main_test.go (not served here)
- cmd/handoff.go (not served here)
- cmd/handoff_test.go (not served here)
- cmd/lock.go (not served here)
- cmd/mcp.go (not served here)
- cmd/mcp_memory.go (not served here)
- cmd/mcp_session.go (not served here)
- cmd/memory.go (not served here)
- cmd/openapi.yaml (not served here)
- cmd/pipeline.go (not served here)
- cmd/query.go (not served here)
- cmd/root.go (not served here)
- cmd/serve.go (not served here)
- cmd/session.go (not served here)
- cmd/sync.go (not served here)
- cmd/verify.go (not served here)
- docker-compose.yml (not served here)
- docs/README.md
- docs/distill-lock-v0.md
- docs/examples/langchain.md (not served here)
- docs/examples/rag-pipeline.md (not served here)
- docs/guides/deployment.md (not served here)
- docs/guides/getting-started.md (not served here)
- docs/guides/mcp.md (not served here)
- docs/guides/memory.md (not served here)
- docs/guides/sessions.md (not served here)
- docs/handoff-dogfood-pr-112.md
- docs/handoff-pilot-kit.md
- docs/handoff-v0.md
- docs/local-context-control-v1-status-and-v2-amendment.md
- docs/local-context-control-v1.md
- docs/local-context-control-v2.md
- docs/reference/api.md (not served here)
- docs/reference/configuration.md (not served here)
- examples/analyze_vectors.sh (not served here)
- examples/basic_api.sh (not served here)
- examples/session_api.sh (not served here)
- examples/with_pinecone.sh (not served here)
- fly.toml (not served here)
- go.mod (not served here)
- go.sum (not served here)
- grafana/dashboard.json (not served here)
- internal/artifact/acl_darwin.go (not served here)
- internal/artifact/acl_darwin_test.go (not served here)
- internal/artifact/acl_linux.go (not served here)
- internal/artifact/acl_linux_test.go (not served here)
- internal/artifact/acl_unsupported.go (not served here)
- internal/artifact/canonical.go (not served here)
- internal/artifact/filesystem.go (not served here)
- internal/artifact/ownership_unix.go (not served here)
- internal/artifact/ownership_unsupported.go (not served here)
- internal/artifact/publish.go (not served here)
- internal/artifact/publish_test.go (not served here)
- internal/artifact/rename_noreplace_darwin.go (not served here)
- internal/artifact/rename_noreplace_linux.go (not served here)
- internal/artifact/rename_noreplace_unsupported.go (not served here)
- internal/jevpilot/canonical.go (not served here)
- internal/jevpilot/client.go (not served here)
- internal/jevpilot/jevpilot_test.go (not served here)
- internal/jevpilot/package.go (not served here)
- internal/jevpilot/prepare.go (not served here)
- internal/jevpilot/receipt.go (not served here)
- internal/jevpilot/runner.go (not served here)
- internal/jevpilot/types.go (not served here)
- internal/studyfinal/analysis.go (not served here)
- internal/studyfinal/authorization.go (not served here)
- internal/studyfinal/canonical.go (not served here)
- internal/studyfinal/canonical_test.go (not served here)
- internal/studyfinal/contamination.go (not served here)
- internal/studyfinal/corpus.go (not served here)
- internal/studyfinal/corpus_test.go (not served here)
- internal/studyfinal/custody.go (not served here)
- internal/studyfinal/decision.go (not served here)
- internal/studyfinal/decision_analysis_test.go (not served here)
- internal/studyfinal/gates.go (not served here)
- internal/studyfinal/ledger.go (not served here)
- internal/studyfinal/ledger_lock_unix.go (not served here)
- internal/studyfinal/ledger_lock_unsupported.go (not served here)
- internal/studyfinal/manifest.go (not served here)
- internal/studyfinal/ownership_unix.go (not served here)
- internal/studyfinal/ownership_unsupported.go (not served here)
- internal/studyfinal/package.go (not served here)
- internal/studyfinal/receipt_schema.go (not served here)
- internal/studyfinal/rename_noreplace_darwin.go (not served here)
- internal/studyfinal/rename_noreplace_linux.go (not served here)
- internal/studyfinal/rename_noreplace_unsupported.go (not served here)
- internal/studyfinal/runner.go (not served here)
- internal/studyfinal/runner_package_test.go (not served here)
- internal/studyfinal/schedule.go (not served here)
- internal/studyfinal/schedule_test.go (not served here)
- internal/studyfinal/security_regression_test.go (not served here)
- internal/studyfinal/types.go (not served here)
- internal/studylocal/adapter.go (not served here)
- internal/studylocal/authorization.go (not served here)
- internal/studylocal/canonical.go (not served here)
- internal/studylocal/context.go (not served here)
- internal/studylocal/corpus.go (not served here)
- internal/studylocal/fs_owner_root_unix.go (not served here)
- internal/studylocal/fs_owner_root_unsupported.go (not served here)
- internal/studylocal/fs_owner_unix.go (not served here)
- internal/studylocal/fs_owner_unsupported.go (not served here)
- internal/studylocal/model.go (not served here)
- internal/studylocal/offline_test.go (not served here)
- internal/studylocal/package.go (not served here)
- internal/studylocal/preflight.go (not served here)
- internal/studylocal/projection.go (not served here)
- internal/studylocal/protocol.go (not served here)
- internal/studylocal/rename_noreplace_darwin.go (not served here)
- internal/studylocal/rename_noreplace_linux.go (not served here)
- internal/studylocal/rename_noreplace_unsupported.go (not served here)
- internal/studylocal/results.go (not served here)
- internal/studylocal/runner.go (not served here)
- internal/studylocal/runtime_manifest.go (not served here)
- internal/studylocal/runtime_test.go (not served here)
- internal/studylocal/runtime_tree.go (not served here)
- internal/studylocal/schedule.go (not served here)
- internal/studylocal/types.go (not served here)
- internal/studylocalv2/adapter.go (not served here)
- internal/studylocalv2/adapter_check.go (not served here)
- internal/studylocalv2/authorization.go (not served here)
- internal/studylocalv2/canonical.go (not served here)
- internal/studylocalv2/context.go (not served here)
- internal/studylocalv2/corpus.go (not served here)
- internal/studylocalv2/framing.go (not served here)
- internal/studylocalv2/fs_owner_unix.go (not served here)
- internal/studylocalv2/fs_owner_unsupported.go (not served here)
- internal/studylocalv2/known_answers.go (not served here)
- internal/studylocalv2/model.go (not served here)
- internal/studylocalv2/offline_test.go (not served here)
- internal/studylocalv2/package.go (not served here)
- internal/studylocalv2/preflight.go (not served here)
- internal/studylocalv2/projection.go (not served here)
- internal/studylocalv2/protocol.go (not served here)
- internal/studylocalv2/public_result.go (not served here)
- internal/studylocalv2/public_result_test.go (not served here)
- internal/studylocalv2/rename_noreplace_darwin.go (not served here)
- internal/studylocalv2/rename_noreplace_linux.go (not served here)
- internal/studylocalv2/rename_noreplace_unsupported.go (not served here)
- internal/studylocalv2/results.go (not served here)
- internal/studylocalv2/runner.go (not served here)
- internal/studylocalv2/runtime_manifest.go (not served here)
- internal/studylocalv2/runtime_test.go (not served here)
- internal/studylocalv2/schedule.go (not served here)
- internal/studylocalv2/types.go (not served here)
- internal/studypilot/acl_darwin.go (not served here)
- internal/studypilot/acl_linux.go (not served here)
- internal/studypilot/artifacts.go (not served here)
- internal/studypilot/artifacts_test.go (not served here)
- internal/studypilot/canonical.go (not served here)
- internal/studypilot/corpus.go (not served here)
- internal/studypilot/policy.go (not served here)
- internal/studypilot/receipt.go (not served here)
- internal/studypilot/receipt_test.go (not served here)
- internal/studypilot/rename_noreplace_darwin.go (not served here)
- internal/studypilot/rename_noreplace_linux.go (not served here)
- internal/studypilot/rename_noreplace_unsupported.go (not served here)
- internal/studypilot/safe_fs_unix.go (not served here)
- internal/studypilot/safe_fs_unsupported.go (not served here)
- internal/studypilot/security_test.go (not served here)
- internal/studypilot/types.go (not served here)
- internal/studypilot/validate.go (not served here)
- main.go (not served here)
- mcp/README.md (not served here)
- mcp/claude_desktop_config.example.json (not served here)
- mcp/claude_desktop_config_full.example.json (not served here)
- mcp/claude_desktop_config_with_vectordb.example.json (not served here)
- openapi.yaml (not served here)
- pkg/batch/batch.go (not served here)
- pkg/batch/batch_test.go (not served here)
- pkg/cache/cache.go (not served here)
- pkg/cache/cache_test.go (not served here)
- pkg/cache/memory.go (not served here)
- pkg/cache/patterns.go (not served here)
- pkg/cache/prefix.go (not served here)
- pkg/cache/prefix_test.go (not served here)
- pkg/cache/redis.go (not served here)
- pkg/cache/stability.go (not served here)
- pkg/cache/stability_test.go (not served here)
- pkg/cache/ttl.go (not served here)
- pkg/cache/ttl_test.go (not served here)
- pkg/commits/commits.go (not served here)
- pkg/commits/commits_test.go (not served here)
- pkg/compress/bench_test.go (not served here)
- pkg/compress/compress.go (not served here)
- pkg/compress/compress_test.go (not served here)
- pkg/compress/extractive.go (not served here)
- pkg/compress/placeholder.go (not served here)
- pkg/compress/pruner.go (not served here)
- pkg/config/config.go (not served here)
- pkg/config/config_test.go (not served here)
- pkg/contextlab/bench_test.go (not served here)
- pkg/contextlab/broker.go (not served here)
- pkg/contextlab/cluster.go (not served here)
- pkg/contextlab/mmr.go (not served here)
- pkg/contextlab/selector.go (not served here)
- pkg/dedup/kmeans.go (not served here)
- pkg/embedding/cohere/client.go (not served here)
- pkg/embedding/cohere/register.go (not served here)
- pkg/embedding/interface.go (not served here)
- pkg/embedding/ollama/client.go (not served here)
- pkg/embedding/ollama/client_test.go (not served here)
- pkg/embedding/ollama/register.go (not served here)
- pkg/embedding/openai/client.go (not served here)
- pkg/embedding/openai/register.go (not served here)
- pkg/embedding/registry.go (not served here)
- pkg/embedding/registry_test.go (not served here)
- pkg/graph/builder.go (not served here)
- pkg/graph/graph.go (not served here)
- pkg/graph/graph_test.go (not served here)
- pkg/handoff/assets.go (not served here)
- pkg/handoff/handoff_test.go (not served here)
- pkg/handoff/patch.go (not served here)
- pkg/handoff/patch_test.go (not served here)
- pkg/handoff/prepare.go (not served here)
- pkg/handoff/proposal.go (not served here)
- pkg/handoff/proposal.schema.json (not served here)
- pkg/handoff/render.go (not served here)
- pkg/handoff/request.go (not served here)
- pkg/handoff/types.go (not served here)
- pkg/handoff/validation.go (not served here)
- pkg/handoff/verify.go (not served here)
- pkg/ingest/pipeline.go (not served here)
- pkg/lock/acl_darwin.go (not served here)
- pkg/lock/acl_darwin_test.go (not served here)
- pkg/lock/acl_linux.go (not served here)
- pkg/lock/acl_linux_test.go (not served here)
- pkg/lock/acl_unsupported.go (not served here)
- pkg/lock/build.go (not served here)
- pkg/lock/canonical.go (not served here)
- pkg/lock/config.go (not served here)
- pkg/lock/filesystem.go (not served here)
- pkg/lock/invalid_path_linux_test.go (not served here)
- pkg/lock/lock.go (not served here)
- pkg/lock/lock_test.go (not served here)
- pkg/lock/ownership_unix.go (not served here)
- pkg/lock/ownership_unsupported.go (not served here)
- pkg/lock/rename_noreplace_darwin.go (not served here)
- pkg/lock/rename_noreplace_linux.go (not served here)
- pkg/lock/rename_noreplace_unsupported.go (not served here)
- pkg/lock/runtime.go (not served here)
- pkg/lock/types.go (not served here)
- pkg/lock/validate.go (not served here)
- pkg/lock/verify.go (not served here)
- pkg/logging/logging.go (not served here)
- pkg/logging/logging_test.go (not served here)
- pkg/math/simd.go (not served here)
- pkg/memory/cache_events.go (not served here)
- pkg/memory/conflict_test.go (not served here)
- pkg/memory/decay.go (not served here)
- pkg/memory/expiry_test.go (not served here)
- pkg/memory/helpers.go (not served here)
- pkg/memory/memory_test.go (not served here)
- pkg/memory/relevance_test.go (not served here)
- pkg/memory/sensitivity_test.go (not served here)
- pkg/memory/sqlite.go (not served here)
- pkg/memory/store.go (not served here)
- pkg/metrics/callsite.go (not served here)
- pkg/metrics/callsite_test.go (not served here)
- pkg/metrics/metrics.go (not served here)
- pkg/metrics/metrics_test.go (not served here)
- pkg/pinecone/client.go (not served here)
- pkg/pipeline/pipeline.go (not served here)
- pkg/pipeline/pipeline_test.go (not served here)
- pkg/retriever/interface.go (not served here)
- pkg/retriever/pinecone/client.go (not served here)
- pkg/retriever/qdrant/client.go (not served here)
- pkg/sensitivity/sensitivity.go (not served here)
- pkg/sensitivity/sensitivity_test.go (not served here)
- pkg/session/cache_boundary.go (not served here)
- pkg/session/session.go (not served here)
- pkg/session/session_test.go (not served here)
- pkg/session/sqlite.go (not served here)
- pkg/sse/sse.go (not served here)
- pkg/sse/sse_test.go (not served here)
- pkg/summarize/hierarchy.go (not served here)
- pkg/summarize/importance.go (not served here)
- pkg/summarize/summarize.go (not served here)
- pkg/summarize/summarize_test.go (not served here)
- pkg/telemetry/telemetry.go (not served here)
- pkg/telemetry/telemetry_test.go (not served here)
- pkg/types/chunk.go (not served here)
- pkg/types/vector.go (not served here)
- render.yaml (not served here)
- research/context-is-a-build-artifact/README.md (not served here)
- research/context-is-a-build-artifact/final-amendment-v1.json (not served here)
- research/context-is-a-build-artifact/final-amendment-v1.md (not served here)
- research/context-is-a-build-artifact/final-contamination-ledger-v1.md (not served here)
- research/context-is-a-build-artifact/final-external-gates-v1.md (not served here)
- research/context-is-a-build-artifact/final-external-gates-v2.md (not served here)
- research/context-is-a-build-artifact/final-receipt-schema-v1.json (not served here)
- research/context-is-a-build-artifact/final-source-registry-v1.json (not served here)
- research/context-is-a-build-artifact/local-control-amendment-v1.md (not served here)
- research/context-is-a-build-artifact/local-control-preregistration-v1.md (not served here)
- research/context-is-a-build-artifact/local-control-preregistration-v2.md (not served here)
- research/context-is-a-build-artifact/local-control-public-aggregate-v1.json (not served here)
- research/context-is-a-build-artifact/local-control-public-evidence-v1.SHA256SUMS (not served here)
- research/context-is-a-build-artifact/local-control-result-schema-v1.json (not served here)
- research/context-is-a-build-artifact/local-control-result-schema-v2.json (not served here)
- research/context-is-a-build-artifact/local-control-result-v2.md (not served here)
- research/context-is-a-build-artifact/pilot-protocol-v1.md (not served here)
- research/context-is-a-build-artifact/pilot-schema.json (not served here)
- research/context-is-a-build-artifact/pilot/README.md (not served here)
- research/context-is-a-build-artifact/preregistration.md (not served here)
- research/context-is-a-build-artifact/receipt-validation.md (not served here)
- research/context-is-a-build-artifact/related-work.md (not served here)
- research/context-is-a-build-artifact/schema.go (not served here)
- research/context-is-a-build-artifact/typesafe-jev-provider-v1.md (not served here)
- research/handoff-capability-control/README.md (not served here)
- research/handoff-capability-control/prompt.txt (not served here)
- research/handoff-capability-control/proposals/negative-1.json (not served here)
- research/handoff-capability-control/proposals/negative-2.json (not served here)
- research/handoff-capability-control/proposals/negative-3.json (not served here)
- research/handoff-capability-control/proposals/positive-1.json (not served here)
- research/handoff-capability-control/proposals/positive-3.json (not served here)
- research/handoff-capability-control/protocol.md (not served here)
- research/handoff-capability-control/responses/positive-1.json (not served here)
- research/handoff-capability-control/responses/positive-3.json (not served here)
- research/handoff-capability-control/results.json (not served here)
- research/handoff-repeatability-pr-112/README.md (not served here)
- research/handoff-repeatability-pr-112/proposals/copilot-gpt-5.6-sol-run-1.json (not served here)
- research/handoff-repeatability-pr-112/proposals/copilot-gpt-5.6-sol-run-2.json (not served here)
- research/handoff-repeatability-pr-112/proposals/copilot-gpt-5.6-sol-run-3.json (not served here)
- research/handoff-repeatability-pr-112/protocol.md (not served here)
- research/handoff-repeatability-pr-112/results.json (not served here)
- research/handoff-semantic-draft-compiler/README.md (not served here)
- research/handoff-semantic-draft-compiler/SHA256SUMS (not served here)
- research/handoff-semantic-draft-compiler/canonical-drafts/negative-1.json (not served here)
- research/handoff-semantic-draft-compiler/canonical-drafts/negative-2.json (not served here)
- research/handoff-semantic-draft-compiler/canonical-drafts/negative-3.json (not served here)
- research/handoff-semantic-draft-compiler/canonical-drafts/positive-1.json (not served here)
- research/handoff-semantic-draft-compiler/canonical-drafts/positive-2.json (not served here)
- research/handoff-semantic-draft-compiler/canonical-drafts/positive-3.json (not served here)
- research/handoff-semantic-draft-compiler/collect-results.py (not served here)
- research/handoff-semantic-draft-compiler/compiler.go (not served here)
- research/handoff-semantic-draft-compiler/compiler_test.go (not served here)
- research/handoff-semantic-draft-compiler/drafts/negative-1.json (not served here)
- research/handoff-semantic-draft-compiler/drafts/negative-2.json (not served here)
- research/handoff-semantic-draft-compiler/drafts/negative-3.json (not served here)
- research/handoff-semantic-draft-compiler/drafts/positive-1.json (not served here)
- research/handoff-semantic-draft-compiler/drafts/positive-2.json (not served here)
- research/handoff-semantic-draft-compiler/drafts/positive-3.json (not served here)
- research/handoff-semantic-draft-compiler/frozen-manifest.json (not served here)
- research/handoff-semantic-draft-compiler/main.go (not served here)
- research/handoff-semantic-draft-compiler/prompt.txt (not served here)
- research/handoff-semantic-draft-compiler/proposals/negative-1.json (not served here)
- research/handoff-semantic-draft-compiler/proposals/negative-2.json (not served here)
- research/handoff-semantic-draft-compiler/proposals/negative-3.json (not served here)
- research/handoff-semantic-draft-compiler/proposals/positive-1.json (not served here)
- research/handoff-semantic-draft-compiler/proposals/positive-2.json (not served here)
- research/handoff-semantic-draft-compiler/proposals/positive-3.json (not served here)
- research/handoff-semantic-draft-compiler/protocol.md (not served here)
- research/handoff-semantic-draft-compiler/responses/negative-1.json (not served here)
- research/handoff-semantic-draft-compiler/responses/negative-2.json (not served here)
- research/handoff-semantic-draft-compiler/responses/negative-3.json (not served here)
- research/handoff-semantic-draft-compiler/responses/positive-1.json (not served here)
- research/handoff-semantic-draft-compiler/responses/positive-2.json (not served here)
- research/handoff-semantic-draft-compiler/responses/positive-3.json (not served here)
- research/handoff-semantic-draft-compiler/results.json (not served here)
- research/handoff-semantic-draft-compiler/reviews/negative-1/SHA256SUMS (not served here)
- research/handoff-semantic-draft-compiler/reviews/negative-1/handoff.receipt.json (not served here)
- research/handoff-semantic-draft-compiler/reviews/negative-1/review.md.bytes.json (not served here)
- research/handoff-semantic-draft-compiler/reviews/negative-2/SHA256SUMS (not served here)
- research/handoff-semantic-draft-compiler/reviews/negative-2/handoff.receipt.json (not served here)
- research/handoff-semantic-draft-compiler/reviews/negative-2/review.md.bytes.json (not served here)
- research/handoff-semantic-draft-compiler/reviews/negative-3/SHA256SUMS (not served here)
- research/handoff-semantic-draft-compiler/reviews/negative-3/handoff.receipt.json (not served here)
- research/handoff-semantic-draft-compiler/reviews/negative-3/review.md.bytes.json (not served here)
- research/handoff-semantic-draft-compiler/reviews/positive-1/SHA256SUMS (not served here)
- research/handoff-semantic-draft-compiler/reviews/positive-1/handoff.receipt.json (not served here)
- research/handoff-semantic-draft-compiler/reviews/positive-1/patches/decision_179c38986244e95383ae56153d464e8328b2e3b55419716a1070339ac75c429f.patch.bytes.json (not served here)
- research/handoff-semantic-draft-compiler/reviews/positive-1/review.md.bytes.json (not served here)
- research/handoff-semantic-draft-compiler/reviews/positive-2/SHA256SUMS (not served here)
- research/handoff-semantic-draft-compiler/reviews/positive-2/handoff.receipt.json (not served here)
- research/handoff-semantic-draft-compiler/reviews/positive-2/patches/decision_ca5c754c61dcc9a2b18a5c5e72f5e82920746f1ddbc91d6ff88bf5fe943573e6.patch.bytes.json (not served here)
- research/handoff-semantic-draft-compiler/reviews/positive-2/review.md.bytes.json (not served here)
- research/handoff-semantic-draft-compiler/reviews/positive-3/SHA256SUMS (not served here)
- research/handoff-semantic-draft-compiler/reviews/positive-3/handoff.receipt.json (not served here)
- research/handoff-semantic-draft-compiler/reviews/positive-3/patches/decision_6c0bb5bec4490ae8972a87407345b532683d0ba4f30bf0305c3cf83657d95ed4.patch.bytes.json (not served here)
- research/handoff-semantic-draft-compiler/reviews/positive-3/review.md.bytes.json (not served here)
- research/handoff-semantic-draft-compiler/run-study.py (not served here)
- research/handoff-semantic-draft-compiler/semantic-draft.schema.json (not served here)
- research/handoff-temporal-state-guard-pr-112/README.md (not served here)
- research/handoff-temporal-state-guard-pr-112/prompt.txt (not served here)
- research/handoff-temporal-state-guard-pr-112/proposals/copilot-gpt-5.6-sol-run-1.json (not served here)
- research/handoff-temporal-state-guard-pr-112/proposals/copilot-gpt-5.6-sol-run-2.json (not served here)
- research/handoff-temporal-state-guard-pr-112/proposals/copilot-gpt-5.6-sol-run-3.json (not served here)
- research/handoff-temporal-state-guard-pr-112/protocol.md (not served here)
- research/handoff-temporal-state-guard-pr-112/results.json (not served here)
- scripts/completions.sh (not served here)
- scripts/test-release-workflow.sh (not served here)
- scripts/validate-release-version.sh (not served here)
- scripts/validate-release-workflow.sh (not served here)
- scripts/validate-release.sh (not served here)
- testdata/distill-lock-v0/config.json (not served here)
- testdata/distill-lock-v0/sources/code/example.go (not served here)
- testdata/distill-lock-v0/sources/docs/duplicate-a.md (not served here)
- testdata/distill-lock-v0/sources/docs/duplicate-b.md (not served here)
- testdata/distill-lock-v0/sources/excluded/ignored.txt (not served here)
- testdata/distill-lock-v0/sources/line-endings/crlf.txt (not served here)
- testdata/distill-lock-v0/sources/line-endings/lf.txt (not served here)
- testdata/distill-lock-v0/sources/unlisted/note.txt (not served here)
- testdata/handoff-v0/api-deprecation/conversation.md (not served here)
- testdata/handoff-v0/api-deprecation/docs/reference/api.md (not served here)
- testdata/handoff-v0/api-deprecation/proposal.json (not served here)
- testdata/handoff-v0/brainstorming/conversation.md (not served here)
- testdata/handoff-v0/brainstorming/docs/architecture/cache.md (not served here)
- testdata/handoff-v0/brainstorming/proposal.json (not served here)
- testdata/handoff-v0/dogfood-pr-112/conversation.md (not served here)
- testdata/handoff-v0/dogfood-pr-112/docs/handoff-v0.md (not served here)
- testdata/handoff-v0/dogfood-pr-112/expected-decisions.md (not served here)
- testdata/handoff-v0/dogfood-pr-112/proposal.json (not served here)
- testdata/handoff-v0/dogfood-pr-112/review/SHA256SUMS (not served here)
- testdata/handoff-v0/dogfood-pr-112/review/handoff.receipt.json (not served here)
- testdata/handoff-v0/dogfood-pr-112/review/review.md (not served here)
- testdata/handoff-v0/negative/stale-target/proposal.json (not served here)
- testdata/handoff-v0/negative/unsupported-evidence/proposal.json (not served here)
- testdata/handoff-v0/retry-policy/conversation.md (not served here)
- testdata/handoff-v0/retry-policy/docs/runbook/retries.md (not served here)
- testdata/handoff-v0/retry-policy/proposal.json (not served here)
- testdata/sample.jsonl (not served here)
- tools/local-context-control-mlx-v2.py (not served here)
- tools/local-context-control-mlx.py (not served here)
Advantages
- Provides persistent context memory across sessions. evidence: docs/README.md
- Supports token-budgeted context windows. evidence: docs/README.md
Limitations
- Requires configuration of environment variables or CLI flags for operation. evidence: docs/README.md
Security
Risk level: No risk found
This brain runs
Install scripts (1)
Makefile(make install):$(GO) install $(GOFLAGS) -ldflags "$(LDFLAGS)" .
MCP servers (1)
README.md(distill):/path/to/distill mcp --memory --session
Attribution and licence
- First committed by
Siddhant-K-code
- Publisher
- Siddhant Khare (Community)
- Source
- Siddhant-K-code/distill · commit 2417e00
- Licence
- MIT License (files served here)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
- Contributors
- Siddhant-K-code
AutoGineer is not affiliated with or endorsed by Siddhant-K-code.
Install from source
445 of its files are not served here, so there is no ZIP. Siddhant-K-code/distill at 2417e00