Skip to content
pi-c index
Login

index

pic

A durable coding agent in C. pic does what the Pi coding agent does (same tools, sessions, compaction, slash commands, JSON events and model catalog), and keeps every turn in a SQLite journal so a crash, a kill or a lost connection never loses work or runs a command twice.

Install

make pic           # build/pic/release/pic
make install-pic   # runs the test suite, then installs to ~/.local/bin/pic

The build uses CC (default cc); it is warning-clean under clang and gcc.

Five-minute start

pic login anthropic              # or set ANTHROPIC_API_KEY, OPENAI_API_KEY, ...
pic                              # the terminal interface in the current directory
pic ask "fix the failing test"   # one request, the answer on stdout
pic -p "list the TODOs"          # Pi's print mode
pic tui -c                       # continue the latest conversation
pic help                         # the manual, compiled in

Getting started has the rest.

Coming from Claude Code

pic runs your Claude Code hooks as they are, pic import --claude brings a Claude Code transcript in, and where Pi's keys are awkward on a Mac, pic uses Claude Code's. See coming from Claude Code.

Remote control

Watch and steer a running conversation from another terminal or a phone over ssh with pic attach and pic send; /remote-control (or pic remote-control, pic rc) shows the command and a QR code. See remote control.

Documents

License

BSD 2-Clause; see LICENSE. Vendored code and adapted Pi material keep their own licenses; see NOTICE.