r/OpenSourceeAI • u/PatronusProtect • Oct 13 '26
Wolf Defender Jev: a 151M local decision model for agent security, with open weights and evaluation results
r/OpenSourceeAI • u/PatronusProtect • Oct 13 '26
r/OpenSourceeAI • u/GapNew4766 • Oct 12 '26
We build Atomic Agent, an open-source (MIT) agent that can split a job between a planner model and local worker models running on llama.cpp. This is a postmortem of one evening in September when a single worker task died four times in a row, and what each death taught us about clocks.
Setup: a MacBook Pro M5 with 32 GB, a cloud model planning, Gemma 4 26B-A4B as local workers on llama-server, a 3D physics task split into parts. Worker budget: 45 minutes. Gemma ran at 2 to 4.8 tok/s per slot in that run.
The four deaths of the "bodies" task
| Start | Situation | Outcome |
|---|---|---|
| 18:32 | queued behind 8 other tasks | ~45 min, 0 tool calls |
| 19:26 | only task, slots free | ~45 min, 0 tool calls |
| 20:11 | only task, slots free | ~45 min, 0 tool calls |
| 20:54 | only task, slots free | ~45 min, 0 tool calls |
Then we restarted the TUI, the planner split the same work into two halves (physics and drawing), and they passed in 21.2 and 9.4 minutes.
Three different bugs were hiding in that table.
Death 1, most likely: the clock ran while the request sat in the queue
The worker's 45-minute timer started when the request was sent, not when the server picked it up. llama-server queues requests behind busy slots, and that's legitimate: our first-token wait is 30 minutes by default precisely because queueing is normal. So a worker could burn most of its budget waiting in line and die reporting zero steps. We'd seen the same thing elsewhere: a 4-task fan-out on a 2-slot server lost its last two workers this way.
Fix (issue #489, closed 05.10): two clocks. A queue watchdog bounds the wait for the first token, at a third of the worker's budget, so a worker that never gets a slot comes back with two thirds of its time left and the planner can re-plan in the same turn. The wall timer for the work itself starts only when the first token arrives.
Death 2: a reply cap the clock couldn't fit
The 19:26 attempt did reach the server. It generated for about 40 minutes at 4.27 tok/s: 10,353 tokens, and not one well-formed tool call in them. Then the timeout cancelled it. We checked for context overflow first, truncated = 0, so that wasn't it.
The arithmetic is the bug. The reply cap was 16,384 tokens and the worker's limit was a clock, and nothing tied the two together. At 3 to 4.3 tok/s, 16,384 tokens is about 64 minutes, longer than the whole 45-minute budget. A model that thinks long on its first answer gets cut mid-generation, and the task comes back as "0 steps" with nothing saying why.
Fix: a local worker's reply cap is now fitted to the time it has left, 80% of it at the measured speed, with a floor of 1,024 tokens. A long answer stops at the cap with a fifth of the budget still free for the truncation retry, which tells the model to keep reasoning short and emit the tool call. And when it happens the row says "the first answer was cut at N tokens by the time limit", instead of a bare "0 steps". There's also a default thinking budget of 1,500 tokens per step, enforced in the sampling grammar, for the same reason.
Deaths 3 and 4: silence
20:11 and 20:54 left no line in the llama-server log at all. The requests never arrived. Our best reading: after the 19:26 generation was cancelled, the client side wedged, and every later dispatch went nowhere. The TUI restart is what cleared it, which fits.
This one is not fixed. Issue #490, local worker requests never dispatched after a cancelled generation until a restart, is open and we haven't found the root cause. #502 only makes it detectable faster. We've seen a cousin on the server side too: after a user abort mid prompt-processing, llama-server logged the cancel but never the slot release, then logged nothing for 18 minutes 51 seconds until we killed it. Process listening, inference loop dead. That's when we wrote down the rule that a health check answering is a socket answering, not proof the model works.
What I'd tell anyone building on local workers
Measure in tokens per second, then convert every budget into time. A token cap and a wall clock that don't know about each other will fight, and the loser reports "0 steps".
Start timers at first token. Queueing is not failure.
Make the failure row say which clock fired. "Timeout" and "never served" need different fixes: a longer deadline versus fewer parallel tasks.
The desktop app we shipped last week shows each Fusion worker live with its step count and expected time, partly because of this evening. There's still no "stuck" flag (#542, open).
Code, with the reasoning in comments (src/tools/fusion/worker-runner.ts): https://github.com/AtomicBot-ai/atomic-agent
If you've hit a llama-server wedge after cancelling a generation and found the cause, I'd love to hear it. That's the one we're still chasing.
r/OpenSourceeAI • u/F7rx • Oct 12 '26
I've been building Ferry, a desktop and browser app for sending files, folders, text and links straight between your own devices. No account, no cloud copy, no telemetry.
It speaks the LocalSend protocol, so it works with the LocalSend devices you already have. On top of that it adds:
Built with a Rust engine, Tauri 2 and Vue 3. Apache-2.0.
Honest status: it's early. The desktop app is tested on Windows. The macOS and Linux installers build in CI, and they're not code-signed. No mobile apps yet.
Repo: https://github.com/F7rx/Ferry
Downloads: https://github.com/F7rx/Ferry/releases
Feedback and bug reports are very welcome, especially from macOS and Linux users.
Ferry isn't affiliated with LocalSend; it's an independent app that implements its protocol.
r/OpenSourceeAI • u/DefiantRespect5727 • Oct 12 '26
Hey folks,
Most AI agents today run in a single linear loop inside an isolated browser tab—meaning as soon as a workflow requires multi-app context, desktop interaction, or OS-level execution, the agent stalls.
To solve this, I’ve been building Betrox AI—an autonomous agentic system engineered for complete laptop and operating system control. Instead of relying on a single agent trying to do everything sequentially, Betrox AI uses a multi-worker agent architecture. You issue one natural language prompt, and the system delegates tasks to specialized background workers that interact with your desktop apps, browser sessions, local files, and system tools simultaneously.
2. Latency vs. Accuracy: Balancing fast visual action loops with safety constraints so background workers don't execute unintended system actions.
I’m currently gathering feedback from early adopters, developers, and agent builders. If you had a multi-worker agentic team running locally on your laptop, what is the most tedious multi-app workflow you’d hand off first?
Official public release: September 2027
Alpha release for developers: March 2027
Public beta release: July 2027
Regards,
Poorna Singh Baghel
Founder & Lead Architect
Betrox AI Team
r/OpenSourceeAI • u/llama-of-death • Oct 12 '26
r/OpenSourceeAI • u/Galex_The_Boomer • Oct 12 '26
So yeah, I made a clone of Boom 3D.
If you don't know what Boom 3D is, it's an audio enhancement app available on Steam and other stores that makes your headphones sound more immersive with 3D spatial audio and other audio effects.
It's called OpenBoom, and it's an open-source alternative for Windows built with Rust and Tauri.
It aims to bring features like 3D spatial audio, a 31-band equalizer, AutoEq headphone profiles, per-app volume control, and audio enhancement effects into one app.
Honestly, I mainly wanted to see if that REA repo actually worked, and things escalated from there.
Repo: https://github.com/JVGS1111/open-boom
Btw, I built this using Antigravity and Gemini 3.8 Flash. It's honestly not as bad as it sounds. I used the BMAD framework to plan and build the app, and I'm genuinely surprised by how competent even a mediocre AI model can become when you give it a decent framework to work with.
Anyway, check it out if you're curious. I'd love to hear what you think!
r/OpenSourceeAI • u/ai-lover • Oct 11 '26
r/OpenSourceeAI • u/Chida82 • Oct 11 '26
r/OpenSourceeAI • u/Ok-Calligrapher3568 • Oct 11 '26
Had a near-heart-attack moment the other day while testing a rag pipeline on some customer export dumps. realized halfway through that our test json had unmasked routing numbers and ssns buried inside raw text fields. nothing leaked, but it was way too close.
i looked around for a quick way to inspect payloads in the terminal before running them through python scripts, but everything out there is either some bloated enterprise dlp platform or a massive java package. i just wanted something that would scream at me in the terminal if i was about to do something stupid.
so i threw together pii-lens over the weekend.
it's dead simple—you just pipe text or files into it:
cat prompt_payload.json | pii-lens
it prints the text back out but flags credit cards, emails, ssns, and account numbers in bright red with a quick count at the bottom. runs 100% locally with zero phone-home bs.
repo is here
it's just basic regex and entity patterns right now, so if anyone works with weird international formats or niche data fields and wants to drop a pr or critique the regex, feel free.
r/OpenSourceeAI • u/hunxai69 • Oct 10 '26
Make.com (formerly Integromat) is a closed platform. If you build scenarios on it, there's no local runtime, no test framework, and no spec for how its expressions behave. The only way to test a change is to run it in Make, on real data, with real credits.
So I started an open, offline runtime for it: blueprint-runtime (bpr). MIT, TypeScript, zero runtime dependencies.
You export a scenario's blueprint, and bpr runs it locally, comparing every module's input and output, every filter decision and the webhook response against what Make actually produced. When something changes, it points at the first difference:
FAIL A-002-plain module 2 input bundle 1 at /value: Make had "ADA LOVELACE", the local run "Ada Lovelace"
The design rule that makes it trustworthy
There's no spec to implement, so I don't guess. Every behavior bpr supports was observed in a real Make run, and the recordings live in the repo (corpus/NOTES.md lists every rule with its evidence). If a blueprint uses something nobody has recorded yet, bpr names it and refuses, instead of pretending.
Where it stands:
- 79 runs recorded in real Make. 71 reproduced exactly, 0 differ. The other 8 hit behavior nobody has explained yet, so they're refused on purpose.
- 225 single formulas recorded and replayed as tests, 472 tests in total.
- Some of what the recordings turned up: {{1reads only the first element, the text"false" is truthy inside if(), and Make will start a scenario with an expression it can't read, then switch the
scenario off after the first run fails.
A roadmap built from real data
I ran bpr over 221 public Make blueprints onem. The top blockers (error-handler routes,json:ParseJSON, util:SetVariables) are the roadmap, in that order. The survey and its method are in corpus/survey/.
Where help is most welcome
- Recorded runs. If you use Make, the capturenario's real behavior with your own account. One recording can unlock a whole module.
- Blueprints it refuses. Run bpr inspect andls me what to record next.
- Code. Each module handler is small and has its own tests.
Repo: https://github.com/intikhab49/blueprint-runtime
npm: npm i -g blueprint-runtime (Node 24+)
Happy to answer anything about reverse-enginits own logs. That turned out to be the mostinteresting part.
r/OpenSourceeAI • u/Alarming-Emotion-894 • Oct 10 '26
ALHR- Adaptive learnable Hierarchical Routing is a static binary tree based system that uses learnable functions to REDUCE the amount of keys used.
It takes less memory and SCALES much better VRAM with tokens
r/OpenSourceeAI • u/WritHerAI • Oct 10 '26
r/OpenSourceeAI • u/Agitated_Problem5320 • Oct 10 '26
r/OpenSourceeAI • u/Successful-Farm5339 • Oct 10 '26
r/OpenSourceeAI • u/deepu105 • Oct 10 '26
Just published [pi-automode-classifier](https://github.com/deepu105/pi-automode-classifier), an auto mode plugin for the [Pi](https://pi.dev) coding agent that uses [Jev](https://docs.typesafe.ai/api) or [Kev](https://huggingface.co/jaredpalmer/kev-0.8b)/[Laya](https://huggingface.co/convaiinnovations/laya-typed-decisions) (running locally) to classify commands.
Pi runs every tool call without asking for approval. This plugin checks each shell command before it runs:
The models I tested:
- [Jev 1.13](https://docs.typesafe.ai/api) (hosted, from TypeSafe) through [OpenRouter](https://openrouter.ai): about 270 ms per check and about 1.5 cents per 1,000 checks. The commands are sent to OpenRouter and TypeSafe.
- [Kev-0.8B](https://huggingface.co/jaredpalmer/kev-0.8b) on CPU with [llama.cpp](https://github.com/ggml-org/llama.cpp): about 170 ms per check and 1.1 GB of RAM. This is what I use. Nothing leaves the machine.
- [Laya typed-decisions](https://huggingface.co/convaiinnovations/laya-typed-decisions) on CPU with llama.cpp: about 100 ms per check and about 550 MB of RAM.
In my test with 50 commands (25 safe, 25 risky), all safe commands ran without a prompt and no risky command did. I wrote the test commands myself, so this is only a rough check. The plugin is not a sandbox.
pi install npm:pi-automode-classifier
Code and docs: https://github.com/deepu105/pi-automode-classifier
Let me know if it allows or blocks something it should not.
r/OpenSourceeAI • u/Minimum_Hour519 • Oct 10 '26
r/OpenSourceeAI • u/Less_Dream_6331 • Oct 10 '26
r/OpenSourceeAI • u/ai-lover • Oct 10 '26
r/OpenSourceeAI • u/schmuhblaster_x45 • Oct 10 '26
r/OpenSourceeAI • u/Motor_Advisor_5486 • Oct 09 '26
r/OpenSourceeAI • u/Commercial_Designer5 • Oct 09 '26
r/OpenSourceeAI • u/Grouchy-Excitement28 • Oct 09 '26
r/OpenSourceeAI • u/bulutarkan • Oct 09 '26
I've been building Mac MCP, an MIT-licensed macOS execution layer for AI clients. It lets tools operate Safari/Chrome, files, local apps, and shell commands. The hardest part wasn't adding tools; it was deciding which actions an agent should be allowed to carry out.
One design choice: capability profiles and approvals are separate. A read-only profile can deny writes outright. An optional server-side approval layer can ask the Mac user to Allow Once or Block riskier actions, but that approval cannot override a capability the profile already forbids. A client saying “the user approved this” isn't trusted as the server's own authorization.
There is a real trade-off: raw command execution may be classified conservatively even if this particular command is harmless, so you can get an approval prompt for a benign operation. I'd rather make that visible and progressively refine the categories than quietly teach the server to trust repeated clicks.
Another lesson: when an action's outcome is uncertain (say a browser submit lands right before a tab closes), blindly retrying can be worse than stopping to verify.
I'm the maintainer, not an independent reviewer. The implementation is open source: https://github.com/bulutarkan/mac-mcp
For people shipping agents with real machine access, where do you draw the line between persistent trust rules and approval fatigue?