CodePilot is a Python library for embedding autonomous coding agents into your own products — CLIs, FastAPI services, hosted IDEs, CI repair bots, internal dev tools. It's not a chatbot UI you install; it's a runtime you build on top of.
Instead of JSON function-calling, CodePilot drives the agent with a SEARCH/REPLACE conflict-marker protocol — the same content-addressed diff format used by tools like Aider — so file edits never break on quote-escaping or truncated JSON. One ephemeral
Ships with persistent terminal sessions (PTY multiplexer), pluggable session storage (memory/file/SQLAlchemy), and an observable hook system (stream, tool_call, tool_result, finish) so your app controls the UI while CodePilot owns the agent loop.
Want to try it without writing any code first? A prebuilt Docker workspace is available too:
Pulls the image from
Instead of JSON function-calling, CodePilot drives the agent with a SEARCH/REPLACE conflict-marker protocol — the same content-addressed diff format used by tools like Aider — so file edits never break on quote-escaping or truncated JSON. One ephemeral
codepilot.py block per step handles tool calls; everything else is a plain, reviewable text block.Ships with persistent terminal sessions (PTY multiplexer), pluggable session storage (memory/file/SQLAlchemy), and an observable hook system (stream, tool_call, tool_result, finish) so your app controls the UI while CodePilot owns the agent loop.
Want to try it without writing any code first? A prebuilt Docker workspace is available too:
curl -fsSL https://raw.githubusercontent.com/Jahanzeb-git/codepilot-cloud/main/distribution/install.sh | bash
cd my-project
codepilot-workspacePulls the image from
ghcr.io and runs a full agentic workspace on localhost. Repo: codepilot-cloudClassified in
Comments, support and feedback
About this launch
CodePilot-ai by Jahanzeb Ahmed Will be launched May 8th 2029.





