AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI
Pi v0.52.9 adds hot-reload for extensions, short disable flag aliases, and richer tool introspection via getAllTools().
$ git clone --branch v0.52.9 https://github.com/earendil-works/pi.git # already have the repo? check out this version: $ git checkout v0.52.9
ctx.reload();
$ pi -ne -ns -np
const tools = pi.getAllTools();
for (const tool of tools) {
console.log(tool.name, tool.description, tool.parameters);
} - ›New ctx.reload() extension API method triggers a full runtime reload, enabling hot-reloading of configuration or restarting the agent programmatically.
- ›New short CLI aliases
-ne,-ns, and-npfor--no-extensions,--no-skills, and--no-prompt-templatesspeed up interactive usage and scripting. - ›Exported
/exportHTML sessions now include collapsible tool input schemas (parameter names, types, descriptions) for easier session review and sharing. - ›pi.getAllTools() now returns tool parameters in addition to name and description, enabling richer extension integrations.