CrewAI engineering team
Crew of lead, backend, frontend and test agents that writes a trading account module and Gradio UI.
What it does
An engineering lead agent turns requirements into a design, a backend engineer writes the Python module (accounts.py with an Account class), a frontend engineer builds a Gradio app.py and a test engineer writes unit tests. Code-writing agents execute code safely in a Docker container, and the team mixes GPT-4o and Claude models.
What was built
- 01
Agents and tasks are defined in agents.yaml and tasks.yaml with roles, backstories and expected outputs.
- 02
Engineering lead produces a design; the backend agent writes accounts.py with share-price lookup.
- 03
Backend and test agents run generated code inside Docker with a maximum execution time.
- 04
Frontend agent writes a Gradio app.py that demonstrates the account module.
The pipeline, layer by layer
Five layers, one pipeline.
L1Spec
- Requirements input
L2Design
- Engineering lead agent
L3Build
- Backend engineer agent
- Frontend engineer agent
L4Verify
- Test engineer agent
- Docker code execution
L5Output
- accounts.py, app.py, tests