pi injects docs for extending itself into the system prompt. You just tell the agent what features you want, and it knows how to do the rest.