A Python project for experimenting with OpenAI Agents, FastAPI, and Gradio.
This project provides a simple starting point for building applications that leverage OpenAI's agent capabilities, with a web interface powered by Gradio and an API layer using FastAPI. It is designed for Python 3.12+.
- OpenAI Agents: Integrate and experiment with OpenAI's agent framework.
- FastAPI: Build robust APIs quickly and efficiently.
- Gradio: Create interactive web UIs for your models and agents.
- PDF Support: Use
pypdfto process PDF files. - Environment Management: Use
.envfiles for configuration.
- Python 3.12+
- See
pyproject.tomlfor all dependencies.
-
Clone the repository:
git clone https://github.com/agajankush/agents.git cd agents -
Install dependencies:
pip install -r requirements.txt
Or, if using a tool like uv:
uv pip install -r requirements.txt
-
Set up environment variables:
- Create
.envand fill in your OpenAI API key and other settings.
- Create