IdeaCredIdeaCred

bhxtnx/SelfAgent

70

๐Ÿค– Build a self-hosted AI assistant to manage files, browse web, write code, and chat via a WhatsApp-style interface using your own API keys.

What's novel

๐Ÿค– Build a self-hosted AI assistant to manage files, browse web, write code, and chat via a WhatsApp-style interface using your own API keys.

Code Analysis

15 files read ยท 4 rounds

A local AI agent framework that connects to multiple LLM providers (OpenAI, Anthropic, Google, Ollama) via raw httpx, runs an iterative tool-use loop with 20+ tools (browser automation, terminal, email, scheduling, file management), and serves a WebSocket chat UI via FastAPI.

Strengths

Clean architecture with proper separation of concerns (core agent loop, provider adapters, tool registry, layered memory), thoughtful provider fallback logic for free models, and genuinely functional tool implementations (Playwright browser, persistent terminal sessions, IMAP/SMTP email with markdown conversion, cron scheduling).

Weaknesses

The README is heavily marketing-oriented and references a downloadable zip that doesn't exist in the repo, making it misleading; test coverage is thin (only 5 test files for 117 source files) and the scheduler's cron implementation polls every 30 seconds rather than computing next-fire times, which is imprecise.

Score Breakdown

Innovation
4 (25%)
Craft
67 (35%)
Traction
6 (15%)
Scope
72 (25%)

Signal breakdown

Innovation

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

Craft

Ci+0
Tests+8
Polish+0
Releases+0
Has License+5
Code Quality+22
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+0
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+3
Languages+8
Subsystems+13
Bloat Penalty+0
Completeness+7
Contributors+5
Authored Files+12
Readme Code Match+3
Architecture Depth+5
Implementation Depth+8

Evidence

Commits

5

Contributors

1

Files

74

Active weeks

2

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

1

Forks

0

License

MIT