Metadata-Version: 2.4
Name: agentic-code-editor
Version: 0.1.1
Summary: FastAPI + Socket.IO + LiteLLM backend for the agentic code editor with human-in-the-loop AI workflow
Author-email: Kohul <kohul1993@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/krmmkr/Agentic-Code-Editor
Project-URL: Repository, https://github.com/krmmkr/Agentic-Code-Editor
Project-URL: Issues, https://github.com/krmmkr/Agentic-Code-Editor/issues
Keywords: ai,code-editor,agent,llm,fastapi,socketio
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: FastAPI
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: fastapi>=0.115.0
Requires-Dist: uvicorn[standard]>=0.30.0
Requires-Dist: python-socketio>=5.11.0
Requires-Dist: python-engineio>=4.9.0
Requires-Dist: websockets>=12.0
Requires-Dist: litellm>=1.0.0
Requires-Dist: google-adk>=0.1.0
Requires-Dist: pydantic>=2.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: sqlmodel>=0.0.22
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.21; extra == "dev"
Requires-Dist: httpx>=0.24; extra == "dev"
Requires-Dist: ruff>=0.1.0; extra == "dev"

# 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.

![Banner](https://github.com/user-attachments/assets/placeholder)

## 🚀 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

```text
.
├── 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](https://docs.litellm.ai/docs/providers)

### Backend Installation

```bash
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

```bash
cd frontend
npm install
npm run dev
```

The app will be available at `http://localhost:3000`.

## 📦 Package

```bash
pip install agentic-code-editor
agentic-editor
```

## 📚 Documentation

- [Embedding & Integration Guide](docs/EMBEDDING_GUIDE.md) — Learn how to embed the editor in your own Flask or FastAPI applications.

## 📄 License

MIT © Kohul
