A FastAPI-powered API for multi-agent GenAI workflows, including calculator, search, document retrieval, and question answering capabilities.
- Multi-Agent Architecture: Intelligent query routing to specialized agents
- Calculator Agent: Mathematical calculations and business computations
- Search Agent: Web search capabilities
- Document Retrieval Agent: Knowledge base document search
- Question Answering Agent: Context-aware question answering
- Conversation Management: Message history and conversation tracking
- Extensible Design: Easy to add new agents and capabilities
- Python 3.8+
- Docker (for containerized setup)
- FastAPI
- Uvicorn
-
Clone the repository:
git clone https://github.com/CastleInc/Agentic-App.git cd Agentic-App -
Create virtual environment:
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Run the application:
uvicorn main:app --reload
API: http://localhost:8000 Interactive docs: http://localhost:8000/docs OpenAPI schema: http://localhost:8000/redoc -
Docker Setup Build the Docker image:
docker build -t genai-agentic-app . -
Run the container:
docker run -p 8000:8000 genai-agentic-app Access the application:
Open http://localhost:8000 in your browser