@agnishc/edb-agent-steer

Pi extension: intercepts mid-turn messages with a steer / queue / discard / edit prompt

Package details

extension

Install @agnishc/edb-agent-steer from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@agnishc/edb-agent-steer
Package
@agnishc/edb-agent-steer
Version
0.5.1
Published
May 5, 2026
Downloads
218/mo · 218/wk
Author
agnishc
License
MIT
Types
extension
Size
8.5 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

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

README

@agnishc/edb-agent-steer

A Pi CLI extension that intercepts messages sent while the agent is already running and presents a compact single-keypress prompt:

  ↵  "your message here"

  s steer   q queue   d discard   e edit
Action Behaviour
s steer Delivers the message before the next LLM call (same turn)
q queue Delivers the message after the agent fully finishes
d discard Throws the message away
e edit / Esc Restores the text to the editor

When the agent is idle, messages pass through normally — no prompt appears.

Also registers a /steer <text> command that bypasses the prompt and steers directly.

Install

pi install npm:@agnishc/edb-agent-steer

Usage

Just type while the agent is running. The prompt appears automatically.

/steer reconsider the approach — use a queue instead

License

MIT © Agnish Chakraborty