Welcome to HeroForge β an Agentic AI Workflow for generating and managing AI-powered content with structured automation. This project orchestrates AI agents to craft and validate dynamic narratives through modular workflows.
heroforge/
βββ server/
β βββ app.py # Main Flask application
β βββ agents/ # AI agent implementations
β βββ blueprints/ # Flask blueprints for modular routes
β βββ config/ # Configuration files
β βββ database/ # Database models and queries
β βββ helpers/ # Utility functions
β βββ prompts/ # AI prompt templates
β βββ utils/ # Loggers and schema definitions
β βββ workflows/ # Agentic AI Workflow logic
β βββ .env # Environment variables (OpenAI API key, etc.)
β βββ requirements.txt # Dependencies
Follow these steps to set up and run the HeroForge server:
git clone https://github.com/KaramSahoo/heroforge.git
cd heroforge/serverpython3 -m venv venv
source venv/bin/activate # On Windows use: venv\Scripts\activate
pip install -r requirements.txtCreate a .env file inside server/ and add your OpenAI API Key:
OPENAI_API_KEY=your_openai_api_key_herepython app.pyThe server should now be running at: http://127.0.0.1:8000 π
Send a POST request to /generate with a JSON payload containing the mission field.
curl -X POST "http://127.0.0.1:8000/generate" \
-H "Content-Type: application/json" \
-d '{"mission": "Save the city from an alien invasion"}'- Agentic AI Workflows: Automated pipelines to generate and manage AI-driven content.
- Modular Flask Blueprints: Organized API structure for scalability.
- Integrated Logging & Schemas: Improved debugging and structured data validation.
- Dynamic AI Prompts: Optimized for context-aware responses.
- Database-Backed Storage: Efficient query handling and data persistence.
- π Expand multi-agent collaboration.
- π Optimize inference pipelines for real-time interactions.
π‘ Contributions Welcome! Open a PR or issue to help improve HeroForge. Happy coding! π€β¨