PatchPal — An Agentic Coding and Automation Assistant¶

Supporting both local and cloud LLMs, with autopilot mode and extensible tools.
PatchPal is an AI coding agent that helps you build software, debug issues, and automate tasks. 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 research with synthesized findings.
Human-in-the-loop coding agents (e.g., Claude Code, OpenCode, Aider) are typically mutually exclusive with programmatic agent frameworks (e.g., smolagents, PydanticAI). A key goal of this project is to marry both: use the same agent interactively in your terminal (patchpal) or in Python scripts (agent.run("task")), plus autopilot mode for autonomous runs.
Key Features
- Terminal Interface for interactive development
- Python API for flexibility and extensibility
- Built-In and Custom Tools
- Skills System
- Autopilot Mode using Ralph Wiggum loops
- Project Memory automatically loads project context from
~/.patchpal/<repo-name>/MEMORY.mdat startup.
PatchPal prioritizes customizability: custom tools, custom skills, a flexible Python API, and support for any tool-calling LLM.
Quick Start¶
Beyond Coding: General Problem-Solving¶
While originally designed for software development, PatchPal is also a general- purpose assistant. With web search, file operations, shell commands, and custom tools/skills, it can help with research, data analysis, document processing, log file analyses, etc.
