FinPilot is a modular AI-driven assistant built using the LlamaIndex library. It leverages a Structured Planner Agent to interact with tools and execute tasks. The project also includes an MCP (Model Context Protocol) server for managing tool specifications.
git clone <repo-url>
pip install --upgrade pip
pip install uv
echo 'OPENAI_API_KEY="xyz"' > .env
uv sync # (if using Python 3.10 virtualenv)
source .venv/bin/activate # activate the virtual environmentThe MCP server provides tool specifications and handles tool-related queries. Built with the mcp[cli] package.
The agent.py script launches a Structured Planner Agent using:
- 🛠️ Tools: Loaded from the MCP server
- 🧠 LLM: OpenAI's GPT-4o
- 📜 Prompts: Custom planning instructions
uv run --active server.py
# MCP inspector:
mcp dev server.pypython agent.pyfinbot/
├── agent.py
├── prompts.py
├── requirements.txt
├── .env
├── README.md
└── mcp_server/
We use the loguru library. Tool metadata is logged at init for better traceability.
MIT License

