Skip to content

VishnuVardhanCodes/devforge-ai-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

24 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

DevForge

โšก DevForge AI Software Factory

An intelligent, autonomous AI agent that generates full-stack production-ready projects from a single prompt.

Version Agent License Node React


๐Ÿค– Type a prompt. Watch the agent work. Get a complete project โ€” instantly.



๐ŸŒŸ What is DevForge?

DevForge is an AI-powered software factory built on the gitagent framework. It takes a natural language prompt (e.g., "create a chatbot app using React") and autonomously scaffolds a fully structured, ready-to-run project โ€” complete with source code, configuration, dependencies, and documentation.

It ships with a real-time React dashboard where you can:

  • Submit prompts and watch live terminal output stream in
  • See all generated files in a dynamic file explorer
  • Preview the final generated project structure

๐Ÿš€ Features

Feature Description
๐Ÿง  AI Pipeline Orchestration Multi-step pipeline that thinks, designs, codes, tests, and documents
โšก Real-time Terminal Streaming Live output logs streamed to the UI via Server-Sent Events (SSE)
๐Ÿ“ Dynamic File Explorer Real generated file tree shown in the UI after each run
๐Ÿ›  Smart Project Detection Detects project type from prompt keywords โ€” React, Node API, etc.
๐Ÿงช Test Generation Skill Auto-generates test scaffolding for generated projects
๐Ÿž Debug Skill Autonomous project debugging pipeline
๐Ÿ“ README Auto-generation Creates professional documentation per project
๐ŸŽฏ Multi-skill Agent Modular skill system โ€” add new capabilities without touching core logic

๐Ÿ— Architecture

devforge-agent/
โ”‚
โ”œโ”€โ”€ agent.yaml                  # Agent configuration (skills, version, metadata)
โ”œโ”€โ”€ SOUL.md                     # Agent identity & personality
โ”œโ”€โ”€ RULES.md                    # Agent operating constraints
โ”‚
โ”œโ”€โ”€ skills/                     # ๐Ÿง  Modular AI skills
โ”‚   โ”œโ”€โ”€ generate-react-app/     # React app scaffolding skill
โ”‚   โ”œโ”€โ”€ generate-node-api/      # Node.js REST API skill
โ”‚   โ”œโ”€โ”€ debug-project/          # Auto-debugging skill
โ”‚   โ”œโ”€โ”€ test-generator/         # Test suite generation skill
โ”‚   โ”œโ”€โ”€ pipeline-orchestrator/  # Master skill that chains others
โ”‚   โ”œโ”€โ”€ create-readme/          # Documentation generation skill
โ”‚   โ”œโ”€โ”€ deploy-project/         # Deployment automation skill
โ”‚   โ”œโ”€โ”€ project-explainer/      # Code explanation skill
โ”‚   โ””โ”€โ”€ analyze-project/        # Project analysis skill
โ”‚
โ”œโ”€โ”€ dashboard/                  # ๐Ÿ–ฅ React + Vite real-time UI
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ”œโ”€โ”€ pages/Dashboard.jsx # Main dashboard page
โ”‚   โ”‚   โ”œโ”€โ”€ components/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Terminal.jsx    # Live terminal with SSE streaming
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ FileExplorer.jsx# Dynamic real file tree viewer
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ PromptBox.jsx   # Prompt input with loading state
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Navbar.jsx      # Navigation bar
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ PreviewPanel.jsx# Output preview panel
โ”‚   โ””โ”€โ”€ server.js               # Express API bridge (port 3001)
โ”‚
โ”œโ”€โ”€ demo-output/                # ๐Ÿ“ฆ All AI-generated projects land here
โ”œโ”€โ”€ demo-prompts/               # Sample prompts for quick testing
โ”œโ”€โ”€ mock-claude.js              # Smart project generator (agent engine)
โ”œโ”€โ”€ gitclaw / gitclaw.cmd       # CLI runner scripts
โ””โ”€โ”€ run-demo.bat                # One-click demo launcher (Windows)

๐Ÿ”ง Pipeline Steps

When you submit a prompt, DevForge runs a 7-step autonomous pipeline:

Step 1 โ†’ ๐Ÿ” Analyze project requirements from prompt
Step 2 โ†’ ๐Ÿ—  Design system architecture & folder structure
Step 3 โ†’ ๐Ÿ“ฆ Create project manifest (package.json, configs)
Step 4 โ†’ ๐Ÿ›   Generate core application source code
Step 5 โ†’ ๐Ÿงช Scaffold automated test suites
Step 6 โ†’ ๐Ÿ“ Generate professional documentation (README.md)
Step 7 โ†’ โœ… Validate all files & report success

All steps stream to the UI terminal in real time. Generated files appear in the File Explorer automatically when the pipeline completes.


๐Ÿ–ฅ Supported Project Types

Prompt Keywords Generated Project
react, chatbot, ui, frontend React App with App.jsx, components/, index.css, index.html
node, api, express, todo, rest Node.js REST API with routes, middleware, .env.example
next, nextjs Next.js App Router scaffold (coming soon)
ecommerce, shop Full-stack E-commerce scaffold (coming soon)

โš™๏ธ Getting Started

Prerequisites

  • Node.js >= 18.x
  • npm >= 9.x

1. Clone the Repository

git clone https://github.com/VishnuVardhanCodes/devforge-ai-agent.git
cd devforge-ai-agent

2. Install Root Dependencies

npm install

3. Install Dashboard Dependencies

cd dashboard
npm install

4. Start the Dashboard (Dev Mode)

npm run dev

This runs both the Vite (React) frontend and the Express API bridge concurrently:

  • ๐ŸŒ Frontend: http://localhost:5173
  • ๐Ÿ”Œ API Server: http://localhost:3001

5. Generate Your First Project

  1. Open http://localhost:5173 in your browser
  2. Type a prompt in the input box (e.g., "create a chatbot application using React")
  3. Click Generate Project
  4. Watch the terminal stream live logs
  5. See your generated files appear in the File Explorer!

๐ŸŽฎ CLI Usage

You can also run DevForge from the command line:

Windows:

run-demo.bat demo-prompts\react-app.txt

Any OS:

node mock-claude.js -p "create a todo API using express"

The generated project will be saved in demo-output/.


๐Ÿ“‚ Sample Prompts

Try these prompts in the dashboard or CLI:

"create a chatbot application using react"
"build a todo REST API using express and node.js"
"generate an e-commerce backend API"
"create a react frontend with authentication"

๐Ÿง  Skills System

DevForge is built on a modular skills architecture. Each skill is a self-contained unit with its own SKILL.md prompt and configuration.

To add a new skill:

  1. Create a folder under skills/your-skill-name/
  2. Write a SKILL.md with the prompt and metadata
  3. Register it in agent.yaml under skills:
skills:
  - generate-react-app
  - generate-node-api
  - debug-project
  - your-new-skill       # โ† just add it here

๐Ÿ“ธ Dashboard Preview

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  โšก DevForge AI Software Factory                              v0.2.0   โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  ๐Ÿ“ Generated Files                     โ”‚  โ— โ— โ—  gitclaw output       โ”‚
โ”‚  demo-output/                           โ”‚                              โ”‚
โ”‚  โ””โ”€โ”€ react-chatbot/                     โ”‚  DevForge v0.2.0 initialized โ”‚
โ”‚      โ”œโ”€โ”€ ๐Ÿ“„ package.json                โ”‚  ๐Ÿš€ Received prompt...       โ”‚
โ”‚      โ”œโ”€โ”€ ๐Ÿ“„ README.md                   โ”‚  โ–ถ Invoking pipeline...      โ”‚
โ”‚      โ”œโ”€โ”€ ๐Ÿ“„ index.html                  โ”‚  โ–ถ [1/7] generate-project    โ”‚
โ”‚      โ””โ”€โ”€ ๐Ÿ“‚ src/                        โ”‚    โˆŸ Created: package.json   โ”‚
โ”‚          โ”œโ”€โ”€ ๐ŸŸก App.jsx                 โ”‚    โˆŸ Created: App.jsx        โ”‚
โ”‚          โ”œโ”€โ”€ ๐ŸŸก index.jsx               โ”‚    โˆŸ Created: ChatWindow.jsx  โ”‚
โ”‚          โ””โ”€โ”€ ๐Ÿ“‚ components/             โ”‚  โœ… Pipeline completed!       โ”‚
โ”‚              โ”œโ”€โ”€ ๐ŸŸก ChatWindow.jsx      โ”‚                              โ”‚
โ”‚              โ””โ”€โ”€ ๐ŸŸก MessageInput.jsx    โ”‚  _                           โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  ๐ŸŸข Live Preview / API Status                      localhost:3000       โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿค Contributing

Contributions, issues and feature requests are welcome!

  1. Fork the repository
  2. Create your feature branch: git checkout -b feature/amazing-skill
  3. Commit your changes: git commit -m 'Add amazing skill'
  4. Push to the branch: git push origin feature/amazing-skill
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License โ€” see the LICENSE file for details.


Built with โค๏ธ by Vishnu Vardhan Codes

โญ Star this repo if DevForge helped you build something awesome!

GitHub stars

About

DevForge is a multi-skill AI developer agent that generates, debugs, and improves real-world software projects using the gitagent standard.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors