pi-curiosity

A Pi coding-agent extension that nudges evidence-based investigation, evidence-backed claims, searching for an existing implementation before building one, and human-readable project structure.

Packages

Package details

extension

Install pi-curiosity from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-curiosity
Package
pi-curiosity
Version
0.1.3
Published
Sep 15, 2026
Downloads
309/mo · 4/wk
Author
kozer
License
MIT
Types
extension
Size
5.3 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./extensions/curiosity-steering.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-curiosity

A small Pi extension that periodically nudges coding agents to investigate evidence, back every claim with evidence, reuse existing code, search for an existing implementation before building a new one, and keep new code easy for humans to find and understand.

Install

pi install npm:pi-curiosity

To try it without installing:

pi -e npm:pi-curiosity

Configure

The default is one cue every 10 tool calls. Configure the interval globally in ~/.pi/agent/settings.json:

{
  "pi-curiosity": {
    "toolInterval": 10
  }
}

A project .pi/settings.json value overrides the global value. toolInterval must be a positive integer; invalid values use the default.

The cue is injected into the next model context after the configured number of tool calls and is hidden from the visible transcript.

The cue asks the agent to search the repository and its dependencies first, then search online for an existing implementation or library, before writing new code. It applies to any task, however small, and asks the agent to report either Reused: <source> or New implementation because: <reason>. It also asks the agent to back every claim with evidence, stating what is unverified instead of asserting it.