This resulted in building a small Python package called PatchPal.
PatchPal is a Claude Code-inspired AI coding agent that helps you build software, debug issues, and automate tasks, supporting both cloud and local models. Like Claude Code, it supports agent skills, tool use, and executable Python generation, enabling interactive workflows for tasks such as data analysis, visualization, web scraping, API interactions, and topic research with synthesized findings.
One of the goals of this project is to approximate the core interaction model of Claude Code and OpenCode while remaining lean, accessible, and highly configurable.
$ ls ./patchpal
__init__.py agent.py cli.py context.py permissions.py skills.py system_prompt.md tools.py
See the GitHub README for more details: https://github.com/amaiya/patchpalEnjoy!