|
4 | 4 | [](https://github.com/IbraheemTuffaha/python-fastapi-template/actions/workflows/format.yml)
|
5 | 5 | [](https://github.com/IbraheemTuffaha/python-fastapi-template/blob/main/pyproject.toml)
|
6 | 6 | [](https://github.com/IbraheemTuffaha/python-fastapi-template/blob/main/LICENSE)
|
7 |
| - [](https://sonarcloud.io/summary/new_code?id=IbraheemTuffaha_python-fastapi-template) |
8 | 7 | </div>
|
9 | 8 | <div align="center">
|
10 | 9 | <a href="https://idx.google.com/import?url=https%3A%2F%2Fgithub.com%2Fshakil1819%2FgetChief-assignment">
|
|
23 | 22 | </a>
|
24 | 23 | </div>
|
25 | 24 |
|
26 |
| -- Endpoints: Create, Read, Update, Delete users |
27 |
| -- Router setup: `app/v1/routers/base.py` and `app/v1/routers/users.py` |
28 |
| -- User model: `app/v1/models/user.py` |
29 |
| -- User management: `app/v1/services/user/user_manager.py` |
| 25 | + |
| 26 | + |
| 27 | +# Multi-Agent Data Analysis System |
| 28 | + |
| 29 | +This Agentic system is designed to handle complex data analysis tasks by breaking them down into smaller subtasks and delegating them to specialized agents. The system uses a multi-agent architecture to improve performance and scalability. |
| 30 | + |
| 31 | +## System Components |
| 32 | + |
| 33 | +- **Agent Orchestrator**: The main controller that coordinates the work of the agents. |
| 34 | +- **Data Analyst Agent**: Handles data analysis tasks. |
| 35 | +- **SQL Data Analyst Agent**: Specialized in SQL-based data analysis. |
| 36 | +- **Visualization Server**: Manages the visualization of data analysis results. |
| 37 | + |
| 38 | +## Setup |
| 39 | + |
| 40 | +1. Install dependencies: |
| 41 | +```bash |
| 42 | +uv venv |
| 43 | +uv sync |
| 44 | +``` |
| 45 | + |
| 46 | +2. Set up environment variables: |
| 47 | +```bash |
| 48 | +cp .env.example .env # OPENAI_API_KEY |
| 49 | +``` |
| 50 | + |
| 51 | +3. Run the application: |
| 52 | +```bash |
| 53 | +python main.py |
| 54 | +``` |
| 55 | + |
| 56 | +## Usage |
| 57 | + |
| 58 | +1. Access the API at `http://localhost:8000`. |
| 59 | +2. Use the endpoints provided by the API to interact with the system. |
| 60 | + |
| 61 | +## Testing |
| 62 | + |
| 63 | +1. Run tests: |
| 64 | +```bash |
| 65 | +python -m pytest |
| 66 | +``` |
| 67 | + |
| 68 | +2. Run coverage report: |
| 69 | +```bash |
| 70 | +python -m pytest --cov=app |
| 71 | +``` |
| 72 | + |
| 73 | +## License |
| 74 | + |
| 75 | +MIT License |
| 76 | + |
| 77 | +## Acknowledgments |
| 78 | + |
| 79 | +- [FastAPI](https://fastapi.tiangolo.com/) |
| 80 | +- [SQLAlchemy](https://www.sqlalchemy.org/) |
| 81 | +- [Plotly](https://plotly.com/) |
| 82 | +- [OpenAI](https://openai.com/) |
| 83 | +- [IDX](https://idx.dev/) |
| 84 | +- [Pydantic_AI](https://ai.pydantic.dev/) |
| 85 | +- [LangGraph](https://github.com/langchain-ai/langgraph) |
| 86 | + |
| 87 | + |
0 commit comments