Spaces:
Running
Running
metadata
title: Agent Generator
emoji: π€
colorFrom: blue
colorTo: indigo
sdk: docker
app_port: 7860
license: apache-2.0
pinned: false
short_description: Describe an AI team in English. Get runnable code.
tags:
- agents
- crewai
- langgraph
- watsonx
- code-generation
Agent Generator β Live Demo
This is the public demo of agent-generator running as a Hugging Face Space. It serves the same React SPA shipped with the web, desktop, and mobile builds β there is no separate demo UI to maintain.
What you can try
| Feature | Works in demo |
|---|---|
| Describe an agent team in natural language | β |
| Pick a framework (CrewAI, LangGraph, WatsonX, CrewAI Flow, ReAct) | β |
| Inspect the compatibility matrix (8 frameworks Γ 5 hyperscalers Γ 2 patterns Γ 7 models) | β |
| Browse the marketplace fixture | β |
| Generate a project + download as ZIP | β |
| Sign in with GitHub | π« disabled in demo |
| Persistent project history | π« in-memory only |
| Real run executions / Docker builds | π« demo-mode stubs |
How it works
HuggingFace Space (Docker SDK, port 7860)
ββββββββββββββββββββββββββββββββββββββββββββββββ
β GET / β frontend/dist (real SPA) β
β POST /api/plan β β
β POST /api/build β ββ agent_generator β
β POST /api/generateβ (PyPI / git+ pinned) β
β GET /api/compatibility/* (reused verbatim β
β GET /api/marketplace/* from backend/app) β
ββββββββββββββββββββββββββββββββββββββββββββββββ
- The SPA bundle is built from the same
frontend/source as the desktop and mobile shells withAG_BUILD_CHANNEL=hf. A singleIS_DEMOflag gates auth, persistence, and run history. - The generator pipeline (
planning_service β ProjectSpec β build_service) is the publishedagent-generatorPython package, pinned by CI to the deployed commit so the demo never drifts. - The compatibility matrix and marketplace endpoints are literally the production modules at
backend/app/api/{compatibility,marketplace}.py, copied in at deploy time.
Local reproduction
docker build -t agent-generator-hf hf
docker run --rm -p 7860:7860 agent-generator-hf
Open http://localhost:7860.
You can also use the Makefile targets at the repo root:
make hf-build # build the Space image locally
make hf-run # start it on :7860
Continuous deployment
Every push to master triggers .github/workflows/hf-space.yml, which:
- Builds the SPA with
AG_BUILD_CHANNEL=hf. - Stages the deploy tree (vendoring
frontend/dist/and the two reused backend modules). - Pushes to https://huggingface.co/spaces/ruslanmv/agent-generator.
A second workflow (hf-space-pr.yml) smoke-tests the same tree on pull requests without deploying.
License
Apache-2.0.