IdeaCredIdeaCred

Shreyansh15624/ai-bot

46

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 rounds

A 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

Innovation
3 (25%)
Craft
41 (35%)
Traction
5 (15%)
Scope
49 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+0

Craft

Ci-1
Tests-2
Polish+0
Releases+0
Has License+5
Code Quality+15
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+2
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+0
Early Traction+0
Devto Reactions+0
Community Contribs+0

Scope

Commits+7
Languages+3
Subsystems+10
Bloat Penalty+0
Completeness+7
Contributors+5
Authored Files+8
Readme Code Match+3
Architecture Depth+5
Implementation Depth+8

Evidence

Commits

31

Contributors

1

Files

22

Active weeks

4

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

1

Forks

0

License

GPL-3.0