AI-powered coding agent with self-healing, memory, and CLI
Project description
🚀 CodeForge GenAI Agent
An AI-powered autonomous coding agent that can generate, execute, debug, and improve code — with memory, safety, and an interactive CLI.
✨ What is CodeForge?
CodeForge is not just a code generator — it is an agentic system that behaves like a developer:
- Understands intent
- Chooses tools
- Writes code
- Executes it
- Fixes errors
- Learns from failures
- Interacts with users
It combines LLMs + tool execution + memory + safety layers into a single CLI experience.
🔥 Core Capabilities
🧠 Intelligent Code Generation
- Generates complete, executable Python programs
- No placeholders or incomplete snippets
⚙️ Execution Engine
- Automatically runs generated code
- Captures stdout and errors
🔁 Self-Healing Loop
- Detects runtime errors
- Sends feedback to LLM
- Fixes and retries automatically
💾 Persistent Memory
- Input Memory → remembers user inputs
- Failure Memory → remembers fixes for past errors
💬 Interactive CLI
- Detects
input()in code - Prompts user dynamically
- Falls back to auto-input if needed
🛡️ Safety Layer
- Classifies actions (LOW / MEDIUM / HIGH risk)
- Requires user confirmation for risky operations
🔍 RAG (Retrieval-Augmented Generation)
- Uses local project context
- Improves relevance of generated solutions
🧠 System Architecture
User Input → LLM → Intent → Tool → Policy → Execution → Error → Self-Heal → Memory → Output
📦 Installation
pip install codeforge-genai-agent
🚀 Usage
codeforge
👤 Author
Rajeev Ghosh
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 codeforge_genai_agent-0.1.4.tar.gz.
File metadata
- Download URL: codeforge_genai_agent-0.1.4.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0c0cf63357991174ef918369e2f4490526b7f7d33f375f2c3f042f425716004
|
|
| MD5 |
caf04481b514105c21baa93c5568da04
|
|
| BLAKE2b-256 |
92f9485c59927fb4c2b9d2883bf7e02768e593cf173181c78ad82594c098a758
|
File details
Details for the file codeforge_genai_agent-0.1.4-py3-none-any.whl.
File metadata
- Download URL: codeforge_genai_agent-0.1.4-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f80d0272eea1c428e855f5b1d1678bfd02110d131fa991a3259f983284a8d817
|
|
| MD5 |
c98b8c3b3717ed6c96b7b2239a28e93d
|
|
| BLAKE2b-256 |
677b214c7211863e302c02236ed1357032c1050e175c93aadd268b5da992bbd2
|