# Agent Recall Trail [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/fantasyce/agent-recall-trail  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/agent-recall-trail

## Description
Private Agent memory and human-reviewed shared knowledge.

## Claude Desktop Quick Installation
Heuristic fallback — verify the package name and runner against the repository README before running it. Uses `npx` (confidence: low):

```json
"mcpServers": {
  "agent-recall-trail": {
    "command": "npx",
    "args": ["-y","agent-recall-trail"]
  }
}
```

## Documentation & README

# ART — Agent Recall Trail

ART is a local-first memory and governed-knowledge product for coding agents. Every Agent gets a physically separate private Recall Trail. Stable conclusions become immutable Knowledge Editions that other Agents can retrieve without seeing private source identities or source bodies.

ART `0.3.4` supports Codex and DeepSeek Harness (DSH) over stdio MCP. It is standalone: no AAA adapter, cloud sync, bundled model, or autonomous publication is required.

## Product boundary

- Private memory belongs to one process-bound Agent identity.
- Shared knowledge contains only committed, reviewed Editions.
- Agents may capture, recall, read, provide feedback, create proposals, and request governance.
- Human governance runs in ART's local page. An explicitly enabled, default-off local delegation policy also permits one unambiguous instruction to approve and publish atomically; these actions are labeled `AgentDelegated`, never Human.
- Revocation, supersession, archival, and assurance remain human operations.
- Stored content is evidence, never executable instruction or authorization.

## Progressive recall

ART exposes one recall API with four explicit retrieval modes: `lexical`, `full_scan`, `semantic`, and `hybrid`. The default is always `lexical`. A compact `route` request can identify relevant private and shared topics before a bounded `recall`; exact bodies are returned only by `read`.

- `lexical` uses local BM25 plus exact, token, Jieba, and CJK-bigram signals.
- `full_scan` ranks every governance-eligible canonical record. It needs no embedding service and is intended for completeness-sensitive, smaller stores.
- `semantic` uses only an explicitly configured embedding endpoint and disposable local vector projections.
- `hybrid` combines lexical and semantic ranks through an owner-configurable, versioned fusion policy. If the optional provider or projection is unavailable, ART returns the unchanged lexical result and reports the fallback.

ART's optional embedding adapter is supplied and operated by the user. ART does not bundle, download, train, select, or make quality claims for a model merely because its endpoint is compatible.

## Quick start

```bash
cargo build --release --locked
./target/release/art --home /an/explicit/art-home init --confirm
./target/release/art --home /an/explicit/art-home agent create --id codex-primary --host codex
./target/release/art --home /an/explicit/art-home doctor --agent codex-primary --json
```

Use [Codex integration](https://github.com/fantasyce/agent-recall-trail/blob/HEAD/integrations/codex/README.md) or [DSH integration](https://github.com/fantasyce/agent-recall-trail/blob/HEAD/integrations/dsh/README.md) to start one bound stdio child. Run `art --help` for the operator CLI.

## Install

Download the native archive and `SHA256SUMS` from the
[latest release](https://github.com/fantasyce/agent-recall-trail/releases/latest),
verify the archive, then run the included installer with the extracted binary:

```bash
bash scripts/install.sh --binary /absolute/path/to/art --confirm
art --version
art doctor --agent codex-primary --json
```

The installer keeps executable bytes under `~/.across/bin/art`, creates a
discovery link at `~/.local/bin/art`, and initializes owner-only ART data. It
does not edit Codex or DSH configuration. The thin Codex plugin lives under
`plugin/agent-recall-trail`; its MCP child is permanently bound to
`codex-primary`. See [operations](https://github.com/fantasyce/agent-recall-trail/blob/HEAD/docs/operations.md) before migrating or
publishing knowledge.

ART 0.3.4 exposes the eight canonical source-anchor kinds directly in the MCP
schema and reports the allowed alternatives for invalid aliases. It retains
the `art_governance_ui_open` local page, persistent delegated governance,
separate Elicitations for compatible clients, restricted-host plugin discovery,
progressive routing, governed full scan, optional semantic and hybrid adapters,
deterministic Knowledge Vault backup, encrypted recovery of local review
authority, verified empty-home restoration, and reproducible lexical BEIR gates. See
[operations](https://github.com/fantasyce/agent-recall-trail/blob/HEAD/docs/operations.md#backup-and-disaster-recovery) before creating
the dedicated private Git repository.

Configuration precedence is `--home`, then `--config <file>`, then the owner-only user config at `~/.across/config/art/config.json`, then the built-in `~/.across` root. The root config accepts only `schema` and `home`. Optional embedding configuration is isolated at `<ART_HOME>/config/art/embedding/default.json`; optional rank fusion policy lives at `<ART_HOME>/config/art/retrieval/fusion.json`; tokens, when needed, live in a separate owner-only file.

## Documentation

- [Architecture](https://github.com/fantasyce/agent-recall-trail/blob/HEAD/docs/architecture.md)
- [Memory and knowledge model](https://github.com/fantasyce/agent-recall-trail/blob/HEAD/docs/memory-and-knowledge.md)
- [Operations](https://github.com/fantasyce/agent-recall-trail/blob/HEAD/docs/operations.md)
- [Security model](https://github.com/fantasyce/agent-recall-trail/blob/HEAD/docs/security-model.md)
- [Testing and acceptance](https://github.com/fantasyce/agent-recall-trail/blob/HEAD/docs/testing.md)
- [Architecture decisions](https://github.com/fantasyce/agent-recall-trail/blob/HEAD/docs/decisions/README.md)
- [Independent design review](https://github.com/fantasyce/agent-recall-trail/blob/HEAD/docs/research/design-independence.md)

All automated or manual tests must use an explicit task-owned ART home. ART never modifies Codex or DSH configuration automatically.

Apache-2.0 licensed. See [Security](https://github.com/fantasyce/agent-recall-trail/blob/HEAD/SECURITY.md),
[Contributing](https://github.com/fantasyce/agent-recall-trail/blob/HEAD/CONTRIBUTING.md), and [Support](https://github.com/fantasyce/agent-recall-trail/blob/HEAD/SUPPORT.md).

