Shreyansh15624/ai-bot
A Python AI agent with extensible function-calling, built as a Boot.dev guided project. ๐ค
What's novel
A Python AI agent with extensible function-calling, built as a Boot.dev guided project. ๐ค
Code Analysis
15 files read ยท 4 roundsA TUI-based AI coding agent that runs a ReAct loop to read, patch, execute, and search code within a sandboxed project directory, bridging Google Gemini and local Ollama models with a shared tool schema and SQLite session persistence.
Strengths
The cross-backend schema mapper and Ollama message-format adapter are genuinely non-trivial, and the path-sandbox security model (is_safe_path via commonpath) plus the gatekeeper modal pattern show thoughtful security design. The SQLite persistence layer is clean and well-structured.
Weaknesses
Multiple critical bugs break core functionality (ast.unparse typo, wrong path in subprocess call, splittext vs splitext, discarded existence check, importing a non-existent write_file module), and the test suite is entirely commented-out print statements with no real assertions. The codebase also has pervasive typos, dead code, and a monolithic 23KB TUI class.
Score Breakdown
Signal breakdown
Innovation
Craft
Traction
Scope
Evidence
Commits
31
Contributors
1
Files
22
Active weeks
4
Repository
Language
Python
Stars
1
Forks
0
License
GPL-3.0