Codrr: CrewAI-powered Full Stack Project Generator
Codrr is a CrewAI-powered agent that turns natural-language requirements into complete projects. Describe what you want to build, and a Senior Full Stack Developer agent generates the files and saves them to output/.
This walkthrough uses the prompt:
Build a simple HTML Page for Sarvan Kumar He is a fullstack dev
Run the agent with python run.py, paste the prompt above, and you should see output similar to the screenshots below.
The crew picks up your prompt and starts the task with the full generation instructions.
Figure 1: User enters a project requirement and the crew begins execution.
The Senior Full Stack Developer agent receives the task and begins calling the File Writer tool. First file: index.html.
Figure 2: The agent begins generating project files.
The agent continues generating project files including styles.css, package.json, requirements.txt, and README.md.
Figure 3: Additional files are generated through File Writer tool calls.
Each tool call confirms the file was saved under output/.
Figure 4: Generated files are successfully written to disk.
The agent summarizes what was created:
| File | Description |
|---|---|
index.html |
Portfolio page |
styles.css |
Styles |
package.json |
Project metadata (sarvan-portfolio) |
requirements.txt |
Dependency file |
README.md |
Generated project readme |
Figure 5: The agent provides a summary of generated files.
Execution finishes and the script prints the success message.
Figure 6: Crew execution completes successfully.
Figure 7: Final generated website output.
Generated files land in:
output/
├── index.html
├── styles.css
├── package.json
├── requirements.txt
└── README.md
User Requirement
↓
Crew (Agent + Task)
↓
LLM (OpenRouter)
↓
FileWriterTool
↓
output/
- You enter a project requirement at the prompt.
- A task is created with production-ready coding rules.
- The coder agent plans the project and writes files through the File Writer tool.
- When the crew finishes, the project is available in
output/.
- Python 3.10+
- An OpenRouter API key
cd agents
python -m venv .venv
# Windows
.venv\Scripts\activate
# macOS / Linux
source .venv/bin/activate
pip install -r requirements.txtCreate a .env file:
OPENROUTER_API_KEY=your_openrouter_api_key_here
MODEL=openrouter/openai/gpt-4o-mini
BASE_URL=https://openrouter.ai/api/v1
TEMPERATURE=0.2python run.pyagents/
├── run.py
├── agents.py
├── tasks.py
├── tools.py
├── assets/
├── requirements.txt
├── .env
└── output/
- Change model via
.env - Adjust agent behavior in
agents.py - Modify generation rules in
tasks.py - Add new tools in
tools.py
- CrewAI
- crewai_tools
- LiteLLM
- python-dotenv
- Authentication errors → Verify API key.
- Empty output → Use a better model or more detailed prompt.
- Files not saved → Ensure File Writer tool is called.
MIT License
Copyright (c) 2026 full-stack-coding-agent
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.







