Skip to content

About

Multi-Agent AI platform simulating collaborative software engineering with Junior, Senior, and Lead AI agents.

Resources

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AgentForge Banner

AgentForge – Multi-Agent AI Programming Simulator

AgentForge is an experimental multi-agent AI programming system that simulates a structured software engineering team using Large Language Models (LLMs).

Instead of generating code with a single prompt, AgentForge introduces:

  • Role-based AI agents
  • Iterative collaboration cycles
  • Controlled orchestration flow
  • Architecture-level oversight
  • Structured memory sharing

The project explores how AI agents can collaborate in a deterministic, system-governed workflow rather than operating as isolated prompt responses.


🧠 System Concept

AgentForge simulates a real-world engineering team composed of three specialized agents:

Agent Role Responsibility
Junior Developer Implementation Writes initial solution based on requirements
Senior Developer Code Review Reviews output, suggests improvements, identifies issues
Platform Engineer Architecture & Oversight Enforces best practices, validates structure, finalizes delivery

Each session follows an orchestration cycle:

  1. User submits a task (e.g., "Build a scalable todo app")
  2. Junior agent generates initial implementation
  3. Senior agent reviews and refines
  4. Platform Engineer enforces architectural standards
  5. Iterations continue until convergence criteria are met
  6. Final output is delivered to the user

The focus is not just code generation — but controlled multi-agent collaboration.


🎯 Core Design Goals

  • Explore deterministic orchestration in LLM systems
  • Model structured collaboration instead of free-form chat
  • Introduce role isolation and responsibility boundaries
  • Experiment with iteration control and convergence logic
  • Simulate AI-native development workflows

This is not a toy chatbot.
It is an exploration of AI-driven system design patterns.


🏗 Architecture Overview

Orchestration Principles

  • Controlled iteration loop
  • Role-based prompt isolation
  • Shared session memory
  • Deterministic execution boundaries
  • Clear agent responsibility separation

Future improvements include:

  • Token usage tracking
  • Observability & logging layer
  • Failure recovery mechanisms
  • Evaluation heuristics for convergence
  • Cost monitoring

🖥 Tech Stack

Frontend

  • React 18 + TypeScript
  • Vite
  • TanStack React Query
  • Tailwind CSS
  • shadcn/ui
  • React Hook Form + Zod

Backend (Planned / In Progress)

  • Python 3.11+
  • FastAPI
  • OpenAI API
  • Pydantic

📂 Project Structure

frontend/
  src/
    components/
    features/
      session-chat/
        components/
        hooks/
        utils/
      session-create/
    hooks/
    lib/
    pages/
    shared/
backend/
docs/

Architectural Patterns

  • Component → Hook → Utility separation
  • Feature-based modular structure
  • Barrel exports for clean imports
  • Single Responsibility Principle
  • Type-safe theming
  • Controlled state management

🎨 Design System

The interface uses a retro pixel-art aesthetic with neon color tokens:

Color Token Usage
Pink #ff3388 primary Platform Engineer
Cyan #00FFDD secondary Junior Developer
Green #33FF66 accent Senior Developer

Utility classes include:

  • pixel-border
  • neon-glow-primary
  • text-glow-secondary

🚀 Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn

Frontend Setup

cd frontend
npm install
npm run dev

Application runs at:

http://localhost:8080

🛠 Planned API Endpoints

Method Endpoint Description
POST /sessions Create session
GET /sessions/:id Retrieve session
POST /sessions/:id/iterate Execute next orchestration cycle

📌 Roadmap

  • Deterministic orchestration engine refinement
  • Token usage tracking per agent
  • Logging & observability layer
  • Retry & failure recovery logic
  • Agent evaluation heuristics
  • Full FastAPI backend implementation
  • Unit & integration testing

🤝 Contributing

Contributions are welcome.

Please:

  1. Follow existing architecture patterns
  2. Maintain separation of concerns
  3. Add documentation where needed
  4. Run linting before commits
  5. Use clear, conventional commit messages

Beginner-friendly issues will be tagged as good first issue.


👤 Author

Built and maintained by Hasnaat Iftikhar

LLM Systems Engineer focused on:

  • Multi-agent orchestration
  • AI-native development workflows
  • Structured LLM system design

🌐 Website: https://hasnaat.work
📧 Email: hasnaatfreelancing@gmail.com

Open to:

  • AI infrastructure collaboration
  • Multi-agent systems research
  • Remote platform engineering opportunities

📜 License

MIT

About

Multi-Agent AI platform simulating collaborative software engineering with Junior, Senior, and Lead AI agents.

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages