Pi, unchanged
Pi's own terminal interface, engine and tools. History stays in Pi's JSONL files.
celagent Built on Pi, the open-source terminal coding agent
Saves each Pi coding-agent session to Baidu Object Storage (BOS), turn by turn. Resume it on another machine you have set up.
curl -fsSL https://github.com/hxddh/celagent/releases/latest/download/install.sh | sh Pi Coding Agent TUI · Baidu BOS
celagent celagent list celagent <id> # restore from BOS celagent task ledger Pi's own terminal interface, engine and tools. History stays in Pi's JSONL files.
Each finished turn is queued and written to BOS; conflicting writes are caught.
A failed write stays queued to retry; a truncated cached copy never replaces history.
Set up BOS; celagent doctor checks access, celagent cas-probe checks conflict detection.
On a configured machine, celagent list shows sessions; celagent <id> opens one.
After installing, check that celagent can reach your BOS bucket.
Check configuration, credentials, and BOS access
celagent doctor [bos] profile in ~/.aws/credentials; celagent rm <id> deletes a session. No. Session recovery does not set up the project files or environment on the other machine. Wait for the BOS write to succeed before relying on remote recovery.
Retryable failures stay queued, and recovery on another machine waits for a successful write. Recovery reads BOS first and uses the local Celld cache only when the session is not in BOS at all. A BOS timeout or permission error never falls back to that cache, which may be truncated.
Each session is saved in your bucket as sessions/<id>.jsonl, Pi's own history format, with tool calls and branches. Older .json sessions can still be read and are restored as text.
Run the install script at the top of this page. On Windows, run the README’s install.ps1 command in PowerShell; it installs celagent without Celld, which has no Windows package upstream. Then run celagent doctor.
celagent