
pocketcode
An open-source, highly extendable, and embeddable AI coding assistant
Repository Info
About This Server
An open-source, highly extendable, and embeddable AI coding assistant
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Pocketcode
Overview
Pocketcode is an open-source, highly extendable, and embeddable AI coding assistant. It aims to combine the strengths of powerful coding models with agentic, iterative development workflows, providing a flexible framework for integrating AI into custom development processes.
Problems Solved
- Addresses the lack of easily extendable open-source AI coding assistants.
- Simplifies the integration of AI coding workflows into diverse development environments.
- Provides a platform for customizing AI assistants with new tools (Python functions, MCP) and agentic behaviors (Modes).
Core Features
- Agentic Modes: Utilizes specialized modes (e.g., Coder, Architect) for different tasks, managed by the PocketFlow framework.
- Extensible Tooling: Easily add new capabilities through Python functions or Model Context Protocol (MCP) servers.
- Modular Design: Core components (modes, tools, workflows) are designed for loose coupling and easy extension.
- Workflow Engine: Leverages PocketFlow to manage complex sequences of operations.
- Embeddable: Core workflows can be integrated into other Python applications.
Technology Stack
- Language: Python (3.10+)
- Framework: PocketFlow
- Core Tools: Includes native tools for filesystem operations, shell command execution, Git interactions, and code search (requires
ripgrep).
Getting Started
- Prerequisites:
- Python 3.10+
ripgrepinstalled and available in your system's PATH. (See ripgrep releases)
- Setup Virtual Environment:
python -m venv .venv source .venv/bin/activate # Linux/macOS # .venv\Scripts\activate # Windows - Install Dependencies (Placeholder):
(Note:# Assuming requirements.txt will be created # pip install -r requirements.txtrequirements.txtis not yet fully defined)
Current Status
- Phase: Project Initialization & Planning.
- The core structure and initial documentation (Memory Bank) are being established. No functional code is implemented yet. See
cline_docs/progress.mdfor high-level goals.
Contributing
Pocketcode is designed for extendability. Contributions for new modes, tools, or workflow improvements are welcome (contribution guidelines TBD).
Quick Start
Clone the repository
git clone https://github.com/petarkabashki/pocketcodeInstall dependencies
cd pocketcode
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.