@artale/pi-cognee-adapter
Receipt-backed memory facade for Pi loops: remember, recall, improve, forget without new infrastructure.
Package details
Install @artale/pi-cognee-adapter from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@artale/pi-cognee-adapter- Package
@artale/pi-cognee-adapter- Version
0.1.0- Published
- Jul 5, 2026
- Downloads
- 76/mo · 16/wk
- Author
- artale
- License
- MIT
- Types
- package
- Size
- 21.2 KB
- Dependencies
- 0 dependencies · 0 peers
Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@artale/pi-cognee-adapter
Receipt-backed memory facade for Pi loops.
This is a spike, not infrastructure. It provides Cognee-style verbs over local loop artifacts without adding a daemon, cloud service, or new database.
Verbs
pi-cognee remember <path>
pi-cognee recall "what blocks deploy?"
pi-cognee work correction --task "factory status" --note "live verifier beats stale memory" --verdict accepted
pi-cognee improve --dry-run
pi-cognee forget <id> --reason "stale"
Trust rule
Memory never decides truth. Live verifiers decide truth.
Trust levels:
live: current verifier outputreceipt: deterministic stored receiptcatalog: intended state, not proofmemory: advisory/historical claimsummary: lowest trust unless source-linked
Factory/deploy/autopatch claims are marked non-authoritative unless backed by a fresh receipt.
Storage
Default store:
~/.pi/cognee/receipt-memory.jsonl
~/.pi/cognee/audit.jsonl
No cloud. No daemon. No new container.
Work data
pi-cognee work records the useful part of an agent session: event, task, verdict, and a short note. It is stored as receipt-backed JSONL so later recalls can prefer actual work traces over stale memory.
pi-cognee work test --task "moa extension" --note "bundle/register passed" --verdict pass