How it works
Context that travels with the code.
Teach it once
Capture how a part of your repo really works — the invariants, the gotchas, the why — as durable memory attached to the code.
Recall on touch
When an agent edits or reviews that code, GPS surfaces the relevant memory automatically, so context never has to be re-discovered.
Stays in sync
Memory is anchored to the code, not a wiki. It moves with refactors and flags itself when the ground truth changes.
Get started
Open source. Drop it in.
Install GPS and point your agent at it. No service to run, no data leaves your repo.
# add repo memory to your agent npx @invariance/gps init # recall context for a path gps recall src/pricing/tax.ts