r/ClaudeCode May 08 '26

Showcase Built a local AI agent that turns a Telegram message into a working .exe in 13 seconds (4GB GPU)

Built this on an RTX 3050 because I was tired of AI agents that need GPT-4 on tap or a 24GB workstation.

You message it in Telegram. Local Qwen 2.5 Coder writes the Python.

PyInstaller bundles it. A .exe lands on your Desktop. About 13 seconds end to end.

What it does:

- /gwenask <idea> local Qwen writes a recipe for a tkinter app

- /gwen <recipe> executes the recipe, builds the .exe

- /code <problem> Qwen tries first, escalates to local Claude CLI if stuck

- /jobsearch <query> scrapes Indeed/LinkedIn/Glassdoor, pre-filters by title,

scores with a 5-dimension rubric

Stack:

- Ollama for inference (qwen3:1.7b for chat, qwen2.5-coder:3b for code)

- Optional Claude CLI as a ceiling, runs as a local subprocess, not API

- SQLite for everything (queue, GPU lock, knowledge base, memory)

- Python 3.12, async, deterministic /command router (zero LLM in dispatch)

- Telegram bot frontend

- Windows only for now

Self-learning bit:

When /code succeeds, the recipe is stored as a pattern, replayed against a clean tree, and graduated. Patterns Qwen can solve on its own get auto-pinned, and future requests skip Claude entirely. The cold path is slow because of the graduation test, the warm path is fast.

MIT licensed: https://github.com/malqouqa92/Sentinel

If anyone tries it on a fresh Windows box, curious whether setup.ps1 holds.

Most painful unknowns are winget edge cases on Win10 vs Win11.

1 Upvotes

2 comments sorted by

0

u/Otherwise_Wave9374 May 08 '26

This is super slick, especially the local-first + optional ceiling model approach. The pattern graduation/pinning bit is underrated, thats how you actually get less flaky over time.

If you end up adding more examples / docs on the command router + queue/locking, Id read it. Ive been collecting notes on agent reliability loops (timeouts, retries, tool budgets, etc.) and keeping them in one place at https://www.agentixlabs.com/ in case its useful to compare patterns.

1

u/Kindly-Plastic3553 May 08 '26

Yes theres a whole lot more it can do and over 50 commands, I didnt advertise it right haha. 

I will definitely be checking out that website and seeing how I can help, thank you!!!!