Introduction
Pinky and the Brain CLI (patb-cli) is an interactive command-line interface and
Zed Agent Connection Protocol (ACP) bridge server for the remote "Pinky and the
Brain" agent service.
With patb-cli, you can converse with the remote agent directly from your terminal, or
integrate it seamlessly into the Zed Editor as a custom AI assistant.
Features
- Interactive CLI REPL — start a direct conversation with the agent in your terminal.
- Zed ACP Bridge — implements the ACP (JSON-RPC 2.0 over standard I/O) to function as a Zed-compatible external agent server.
- Real-Time Streaming — supports progress notifications and real-time streaming of response chunks.
- Auto-Config — loads configuration parameters (such as the API key) from
environment variables or a local
.envfile.
Architecture Overview
The CLI acts as a client wrapper and gateway for the remote agent service hosted at
d33ib4uu7f4xpi.cloudfront.net:
See Architecture for a deeper look at how the two operational modes use this flow.
Where to go next
- New to
patb-cli? Start with Installation and Configuration. - Want to use it day-to-day? See CLI Usage or Zed Bridge Usage.
- Hit a snag? Check the FAQ and Troubleshooting guides.
- Contributing or extending
patb-cli? Read the Project Structure, Architecture, and Source Code Reference.