itwanger/PaiCLI-Python ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python terminal AI agent CLI that feels like a real product, not a demo.
I want to run it in the terminal for both interactive chatting and one off prompts, and have it be able to read and write files, search code, run shell commands, look things up on the web, and remember useful facts across sessions. It should support a ReAct style loop with tool calls, plus a planning mode where it can break a task into steps and execute them. I also want support for MCP tools, so it can connect to external services, and a way to expose its own tools through MCP too.
Make it practical for real projects, with safety checks for risky actions, audit logs, snapshots and restore, and a simple way to inspect usage and cost. If possible, include support for images and a small API server for threads and background tasks. Look up current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit