Getting started
Install pk, wire it to your AI tool, and start a session.
Prerequisites
The curl installer handles all of these automatically.
1. Install
Run pk init in your project folder. It creates a knowledge store at ~/.pk/<project>/ and wires up your AI tool automatically.
2. Tell your agent what you know
Open your AI tool and tell it about your project. Your agent logs it — you never touch the CLI directly.
Log decisions you've already made, open questions, and constraints. The more context your agent has on day one, the less time it spends re-deriving what you already know.
3. Start a session
Open your AI tool and type "use pk skill". This loads the playbook that tells your agent how to search, log, and update notes.
From then on, your harness injects a session summary automatically — you don't need to ask again.
4. Set up embeddings
recommendedWithout embeddings, search only matches exact keywords — searching database latency won't find a note titled "slow queries." With embeddings, pk
uses hybrid search automatically. Set it up once.
Runs locally — no GPU required, ~274 MB download. Full setup guide →
New to AI coding tools?
The full guide walks through installing Git, Bun, your AI tool, and pk step by step.
Something broken or unclear? Open a GitHub issue