piagent_
← ~/map

$ cat ~/map/inception.md

inception

A curator LLM replaces pi's compaction, rewriting old history every few turns to keep the context dense.

extensions✓ Oct 23

Facts

repository
github.com/pxp888/inception ↗
GitHub Stars
★ 0
Forks
0
license
—
npm / mo
—
last push
Oct 23, 2026

install

pi --extension /path/to/inception/.pi/extensions/inception/index.ts

## TL;DR

An extension that replaces pi's compaction with a Context Gardener: every N turns a curator model rewrites the history older than a protected head into a compact factual replacement, keeping the newest turns verbatim.

## Key points

## FAQ

Q Does the curator see my newest conversation?

Read-only, yes: the newest turns (the protected head, five by default) stay verbatim in context and are shown to the curator so it can judge what old state they still need, but they are outside its editing scope.

Q What happens if the curator model fails?

If curation fails or returns nothing, pi's default compaction routine runs instead.

## References

## Related entries

## Guides

Last updated: Oct 23, 2026