FastAPI + Socket.IO + LiteLLM backend for the agentic code editor with human-in-the-loop AI workflow
Project description
Agentic Code Editor
A next-generation, agentic code editor featuring a Human-in-the-Loop AI workflow. This project combines a high-performance Next.js frontend with a powerful Python backend orchestrating LLMs (LiteLLM) to perform autonomous coding tasks with user-approved gates.
🚀 Features
- Autonomous Agent: Research, plan, and implement code changes across your repository.
- Architect-Implementer Flow: The agent proposes a plan, you approve it, and then it implements changes step-by-step.
- Human-in-the-Loop: Every major action (terminal commands, file changes) requires your approval.
- LiteLLM Integration: Support for 100+ LLMs (OpenAI, Claude, Gemini, etc.) with standardized API usage.
- Real-time Terminal: Watch the agent execute commands and inspect logs in a live terminal.
🏗 Project Structure
.
├── agentic_code_editor/ # Core Python package (Backend & Agent)
├── frontend/ # Next.js + Tailwind UI (Source)
├── pyproject.toml # Packaging metadata
├── bundle.sh # Unified build script
└── workspace/ # Default directory for agent operations
🛠 Setup
Prerequisites
- Node.js 18+
- Python 3.10+
- LiteLLM Supported API Keys
Backend Installation
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
# Add your API keys to .env
python -m agentic_code_editor.main
Frontend Installation
cd frontend
npm install
npm run dev
The app will be available at http://localhost:3000.
📦 Package
pip install agentic-code-editor
agentic-editor
📚 Documentation
- Embedding & Integration Guide — Learn how to embed the editor in your own Flask or FastAPI applications.
📄 License
MIT © Kohul
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentic_code_editor-0.1.1.tar.gz.
File metadata
- Download URL: agentic_code_editor-0.1.1.tar.gz
- Upload date:
- Size: 945.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c50ac854292613e3aebced4e1d00913635e7f034a2d13ada6193e2eb8787fbdc
|
|
| MD5 |
faa43472838b0862123bd0184fc76f46
|
|
| BLAKE2b-256 |
c92b6a44b849961bf4cd193824da9b7e894856592ba0479628853a1577637597
|
File details
Details for the file agentic_code_editor-0.1.1-py3-none-any.whl.
File metadata
- Download URL: agentic_code_editor-0.1.1-py3-none-any.whl
- Upload date:
- Size: 963.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
269986d0fbe9f561b73d14f46964685c6684bc9647f852b36cff1d7ec460ccca
|
|
| MD5 |
b60554fbcba04f81de5dff7c7a3d21ac
|
|
| BLAKE2b-256 |
11a0c899e3ae563174db248e49a999a0ce6be2eebfa3f92127d39d44accd9445
|