@noetic-tools/sub-harness-pi
v1.0.0
Published
Pi sub-harness for Noetic — run the Pi coding agent as a Noetic step via step.pi(...) or a pi JSON workflow node.
Downloads
187
Maintainers
Readme
@noetic-tools/sub-harness-pi
Run the Pi coding agent as a Noetic step.
Pi runs as an in-process Node library, so there is no separate CLI or sandbox to
spawn. The default runner lazily imports @pi-agent/sdk (an optional peer
dependency); install it to use the built-in runner, or pass your own runner.
import { pi } from '@noetic-tools/sub-harness-pi';
const step = harness.step.pi({
id: 'fix-bug',
harness: pi({ model: 'pi-default' }),
prompt: 'Fix the failing test in src/foo.ts',
});Install
bun add @noetic-tools/sub-harness-pi @pi-agent/sdk@pi-agent/sdk is optional — without it the default runner throws a
SubHarnessStartError, and you must supply a custom runner.
