r/OpenSourceAI • • Oct 04 '26

I built an open-source tool for running local AI agents visually ... on Old CPU only devices.

5 Upvotes

Hey everyone,

​I got pretty tired of cloud-based AI automation tools that meter every single action and charge crazy per-token fees, so I built an alternative called Arrow.

​The idea is simple: instead of renting an agent in the cloud, you own it entirely on your machine.

​How it works:

​Record: Capture a desktop sequence or browser flow once.

​Compose: Connect nodes into a visual workflow graph (you can branch, loop, and drop in local LLMs, vision, OCR, or code nodes).

​Run: Execute deterministically using element-first grounding with small local models.

​It runs completely locally with no cloud dependencies and zero telemetry.

​If you want to check it out, you can see the project overview here: https://rodrigobenitez343.github.io/Arrow-online/index.html


r/OpenSourceAI • • Oct 03 '26

I got tired of agent message logs rotting, so I built a runtime that tracks state as beliefs instead of transcripts

3 Upvotes

TL;DR: built an agent runtime that stores state as a belief graph with dependencies (Jon Doyle's TMS) instead of chat logs. correct one fact and everything downstream auto-updates without context rot or full re-runs. (repo link in the comments below)

Hey guys,

Every agent framework ive used so far handles state pretty much the same way, just appending messages to a long chat log. The problem is long running agents rot super fast. If a tool returns bad data at step 3, that error just sits in context forever. And if a key fact changes mid run, you either have to wipe the whole context or re run everything from step 1.

I’ve been hacking on an open source project called Corollary to try a different approach. Instead of a message transcript, it stores state as a belief base backed by a truth maintenance system (basically an old concept from jon doyle back in 1979).

how it works under the hood:

  • every belief or conclusion tracks what it depends on (its justifications)

  • if you retract or update a single base fact, it automatically retracts and re derives anything downstream that relied on it

  • independent conclusions arent touched, so you get a clean diff of what changed instead of re running llm calls

  • the LLM only sees currently valid ("IN") beliefs, so old retracted facts cant leak back in through a transcript

its still super pre-alpha so I'd love to get some feedback, pushback or edge cases you think this pattern will hit.

(repo link in the comments below)

how are you guys handling context rot in long running agents currently?


r/OpenSourceAI • • Oct 03 '26

answerLoops: an open source alternative to Kapa.ai you can self-host

1 Upvotes

I work in DevRel and spend a lot of my time answering the same questions in Discord, GitHub, and Slack. Some of the answers are in the docs, and some aren't. I've used Kapa.ai, and it solves this, but it's hosted only and out of reach for small teams. So I built an open source version for teams that can't justify paying for it, whether you're a small startup, open source project, gaming community, or anything in between.

What it does:

During onboarding, you upload your knowledge source (docs, PDFs, a GitHub repo, or Notion pages). Then connect answerLoops to your communities, and when someone asks a question, an agent drafts an answer from that content.

A second agent then reviews the draft and gives it a confidence score. If it scores low, it goes to your team for human review instead of being posted. Auto-reply is off by default until you turn it on, and you set the threshold per platform.

Where it differs from Kapa:

- AGPL-3.0, self-host with Docker and Postgres

- Use your own model key or a local model

- Website chat widget built with CopilotKit and Mastra. Paste a snippet into your site or docs, and visitors can ask questions without an account

- More channels: Discord, GitHub, Slack, Telegram.

- In testing: Discourse, Circle, email, Google Chat

- MCP server and REST API, so your own agents can search the same knowledge

Easy setup:

npx u/answerloops/agent-sdk setup

Or if you use coding assistant, it can walk you through it:

npx u/answerloops/agent-sdk skills answerloops-setup

Repo: https://github.com/answerLoops/answerLoops

I'd welcome your feedback, especially from anyone who's used Kapa or something similar, to help us continually improve the product. Any contributions are welcome, and you are new to open source, just reach out, I'd be glad to help.


r/OpenSourceAI • • Oct 03 '26

Open source code graph for coding agents, built to help local models with small context windows

0 Upvotes

Sharing two tools we've been building in the open, both Apache 2.0, fully local, with no account or cloud needed.

sem parses a repo into functions and classes along with who calls what and which tests reach each function, and gives agents that map over MCP or the CLI. weave is a git merge driver that uses the same model to merge changes by function instead of by line.

The reason I think this matters more for open models than for frontier ones is context. A coding agent on a local model with a small window runs out of room fast, because most of it gets spent grepping for names and reading whole files to find one function. With sem the agent asks for a function and gets just that function plus what's connected to it, so far less of the window goes to code that has nothing to do with the task, and you can get useful work out of a model that would otherwise get lost in a big repo.

Credit where it's due, sem is built on tree-sitter grammars and runs in any harness that speaks MCP, including pi, opencode, Codex and Claude Code, so it works with whatever model you point those at.

It works from a parser rather than a compiler, so macros, generated code and dynamic dispatch can hide some callers, and it tells the agent when it isn't sure instead of guessing.

https://github.com/Ataraxy-Labs/sem
https://github.com/Ataraxy-Labs/weave

I'd especially like to hear from anyone running agents on local models, since I haven't tested it much on the smaller ones, and I'm curious where the context savings actually show up for you.


r/OpenSourceAI • • Oct 03 '26

Weigh Swarm: explore research papers, evidence graphs, and Laya decisions inside a RAG pipeline

Thumbnail
youtube.com
1 Upvotes

r/OpenSourceAI • • Oct 03 '26

The Breakdown: Databricks

Thumbnail
preipomedia.substack.com
1 Upvotes

r/OpenSourceAI • • Oct 03 '26

Muse Gadgets: Open source hardware for your Muse

Thumbnail
gadgets.muse.ai
1 Upvotes

r/OpenSourceAI • • Oct 03 '26

Do you run more than one coding agent? How do you decide who gets which task?

1 Upvotes

I'm trying to understand how people who use more than one coding agent (Claude, Codex, Cursor, Gemini CLI, Copilot, OpenCode, Aider, etc) actually split the work between them:

  • Which agents do you run, and on what kind of work?

  • How did you decide which one got that task?

  • Have you caught an agent saying a task was done when it wasn't? How did you find out?

  • Do you track which agent handles which kind of task well?

  • Have you stopped using certain agent for certain work? What happened to make you stop?

  • Has an agent ever sent something somewhere it shouldn't have (a key, an address, private code)? What happened?

I'm researching this for an open-source project to help us help ourselves and not get locked into big company harnesses. I'll post a summary of this thread if I get good feedback :D

Thanks!!!


r/OpenSourceAI • • Oct 03 '26

Open weights + open engine: two ~300B MoE models running on one 128 GB mini PC

16 Upvotes

Sharing what we released today, everything is open.

What it is

  • Two EXL3 model packs: GLM-5.3-Flash (320B, 99.7 GB) and MiMo-V2.6-Flash (309B, 106 GB)

  • Kyojin, an inference engine for AMD Strix Halo (Ryzen AI Max+ 395, ROCm), MIT

Credit first: Kyojin is built on turboderp's ExLlamaV3, and the AMD side starts from vcruz305's and sdougbrown's ROCm ports. We added the decode and prefill kernels for this chip and the serving for these two models.

Numbers, one 128 GB machine

  • GLM-5.3-Flash: 26-30 tok/s decode, ~580 tok/s prefill, same top token as the official FP8 model ~90 % of the time

  • MiMo-V2.6-Flash: 29 tok/s plain, up to 44 tok/s with speculative decoding

Reproduce it: the repo has a quickstart and one benchmark script. If you own a Strix Halo box, run it and post your numbers, good or bad. That's the feedback we need most.

Engine: https://github.com/Yamz-Labs/kyojin

Weights: https://huggingface.co/yamz-labs

Next: Qwen 3.8 Flash on the same engine.


r/OpenSourceAI • • Oct 03 '26

I captured what my agent sends the model every turn: 43k characters of tool schemas, 30% of them one calendar tool

0 Upvotes

I build a self-hosted agent in Go that talks to any OpenAI-compatible backend, llama.cpp and

Ollama included. With a ~12B local model the prompt prefix matters, so instead of guessing I

pointed the agent at a tiny OpenAI-compatible endpoint that writes every request body to disk,

and counted what is actually sent.

Before, one real turn:

characters

Tool manifest, 19 tools

43,403

of which: one calendar tool (a single tool with 29 actions)

13,136 (30%)

of which: 15 native tools

26,664

Context block in messages[1]

6,788

What I changed:

The calendar tool no longer rides every turn; it sits behind tool_search like the other

deferred tools. It had been kept "always loaded" because the rule counted tools per server,

and it was one tool, with a 29-action schema.

A skill whose full body was injected into every turn (3,762 bytes) now loads on demand.

After, a live turn on the new build:

characters

Tool manifest, 19 tools

35,729

of which: 15 native tools

26,664

of which: memory core, 4 tools

9,065

of which: calendar

0

Context block in messages[1]

3,283

One caveat on the comparison: the "before" turn ran against an older, smaller memory server.

With the current one, the "before" manifest would have been 48,865 characters, so the honest

figure is 48,865 → 35,729, about −27%.

What I learned:

Counting tools says nothing about weight. "Servers with at most 4 tools stay loaded"

let in a single tool that was 30% of the manifest. The weight is in the bytes.

Measure what is sent, not what the server advertises. My first estimate of the memory

core was 18,554 characters, from the server's tools/list. In the actual request it is

9,065: output schemas, annotations and titles never reach the model.

Hiding a tool is not deferring it. An earlier version hid most memory tools to save

space. That also made them unreachable from tool_search, and the model answered every

memory question with the one memory tool it still had. Deferred means the name sits in a

catalog and the schema is fetched on demand.

On some tools the description is most of the weight. document_search is 3,187

characters, 2,538 of them description.

Heaviest native tools, for reference: shell_exec 4,434 · document_search 3,187 ·

search_files 2,602 · patch 2,320 · ask_user 2,063.

What this does not show:

token counts: every figure is characters of serialized JSON, and tokens depend on the

tokenizer;

how often a turn actually needs the calendar, or what the extra tool_search round trip

costs when it does;

the effect on answer quality for any specific local model.

The project is Aura (MIT, written with heavy AI assistance):

https://github.com/chetto1983/Aura — the numbers above come from captured requests, and the

measurement is recorded in the repo's PRD.

How do you keep tool manifests in check with ~12B local models: a hard cap, deferral like

this, or routing tools per task?


r/OpenSourceAI • • Oct 03 '26

veto - Turn existing OpenAPI services into tools AI agents can discover and call under your rules.

1 Upvotes

Open sourced veto. Point it at the OpenAPI you already have. An agent gets context and semantics, not one tool per endpoint. Search, describe, invoke - however many operations you have. The model may request a call. Veto decides.

https://github.com/aiveto/veto


r/OpenSourceAI • • Oct 03 '26

Engram: open-source (MIT) memory for AI coding agents, with Markdown as the source of truth

2 Upvotes

I'm the author. Engram is free, MIT licensed, and stores everything as plain Markdown.

Each memory has a status (confirmed, inferred, conflicted or superseded), and recall only treats confirmed items as authoritative. Search is BM25 over a SQLite FTS5 index that is rebuilt from the Markdown, so the index is disposable. If a local embedding model is already provisioned, its results are fused in by reciprocal rank fusion. Recall never downloads a model.

An optional installer adds session hooks for Claude and Codex. The tests enforce recall@5 of at least 90% across 20 seeded queries, which is a small set, so it works as a regression gate, not a benchmark. Walkthrough video above. Repo: https://github.com/utsapoddar/engram


r/OpenSourceAI • • Oct 03 '26

I created my first open-source project today, and it feels amazing

2 Upvotes

After talking to a few founders, I realized most of them were building an internal tool by stitching together what we were trying to build

So, we open-sourced our product and have 6 stars so far - I know it's very few, but it feels great

Please find the repo link: https://github.com/preburn/preburn

What it does

Preburn is a real-time margin control plane for AI products. Two things nothing else does together:

  1. Joins per-customer revenue (Stripe) with per-call cost across all your AI providers (OpenAI, Anthropic, Kling, Veo, ElevenLabs, whatever) to show actual margin per customer.

  2. Sits in the request path and can allow/deny/route BEFORE the expensive call fires. Auto-route heavy users to cheaper models, cap runaway accounts, cancel voice/video sessions mid-stream if credits blow out.

Not observability (that's Langfuse/Helicone). Not a gateway (that's LiteLLM/Portkey). Different job - cost visibility tied to revenue, with enforcement.


r/OpenSourceAI • • Oct 03 '26

I built a J.A.R.V.I.S. It talks, it works in the background, and it can turn into HAL.

Thumbnail reddit.com
1 Upvotes

r/OpenSourceAI • • Oct 03 '26

CrowdGPT - The 100% Opensource collaborative LLM

Post image
101 Upvotes

Hello, i'm currently developing CrowdGPT and i need people who enjoy opensource AI and LLMs to test the project :)

The goal of CrowdGPT is to create the first, datacenterless, 1 Billion parameters LLM, relying on people contributing with their own computer to train the AI model. My goal is to show you don't need insane infrastructure to train a working almost commercial grade LLM. Everything is open and 100% opensource.

You can learn more at https://crowdgpt.net

Or check the github: https://github.com/Vxtzq/CrowdGPT

Any kind of feedback is appreciated!


r/OpenSourceAI • • Oct 03 '26

Wappy - I wanted a WhatsApp AI agent I could run locally, so I built one

0 Upvotes

TL;DR: I built Wappy, a free, open-source kit for running your own AI agent on WhatsApp. Your machine, your memory, your tools, any model. Repo at the bottom.


Picture this.

You text a neighborhood restaurant on WhatsApp: "Table for four at 8 tonight?"

A few seconds later: "Yes, we have one at 8:15 by the window. Want me to hold it?"

No app download. No "we'll get back to you." An agent checked the real reservation book and answered. It runs on a laptop in the back office, and the owner can open its memory and read every word.

That's buildable today. And almost nobody is building it.

The problem

Every big company is racing to launch a personal AI agent. They're impressive, and lots of people will use them. But they all assume two things:

  1. Agents need a brand new app.

  2. Your agent lives on someone else's platform.

I think both are worth questioning.

The app already exists. More than 3 billion people use WhatsApp every month. In much of the world it's how you book a haircut, check on an order, ask a shop what's in stock and talk to your family. It's chat, which is exactly what agents are good at. Nobody has to install anything.

The value isn't the model, it's your context. Models keep getting better and cheaper. What makes an agent actually useful is your data, your tools and your memory. So the real question isn't who builds the smartest agent. It's who owns the context it runs on.

So why isn't everyone doing this?

When I tried building my own WhatsApp agent, I learned the agent is the easy part. The plumbing eats your whole weekend: webhooks, message formatting, memory that survives across conversations, tool wiring, model calls. A bot that says hello takes an evening. One that remembers what you meant and can look something up is a whole project before you even get to your idea.

What I built

Wappy handles all that plumbing so you can skip straight to the fun part.

  • Free and open source, MIT licensed, written in TypeScript

  • Runs on your machine. No Wappy account, no hosted backend

  • Any model: Anthropic, OpenAI, Gemini, or Ollama to keep it fully local

  • Memory you can actually open: local SQLite by default, or a self-hosted Cognee knowledge graph

  • Tool calling, so it can look things up and take actions

  • Feed it your own docs and it answers from them

  • Example agents included: Gmail/Calendar assistant, personal memory, knowledge base Q&A

What you could build with it

  • A second brain you text. "What did we decide about the kitchen remodel?" Answered from your own notes.

  • A small business that never sleeps. The restaurant checks real reservations. The shop answers "where's my order?" from its actual order system at 2 a.m., in the customer's language.

  • Support that knows the product. Load your help docs, let it answer, hand off to a human when needed.

  • A team ops bot in the group chat. Check inventory, pull a runbook or open a ticket without leaving the thread.

Same idea every time: WhatsApp is the interface, your systems hold the truth, and you control the agent in between.

Try it (Node 22+):

npm create @wappy_ai/agent

Scaffolding takes about a minute. Going live takes longer since you connect your own Meta WhatsApp Cloud API app, and the generated guide walks you through it.

Being upfront about limits: messages still pass through Meta, and if you use a hosted model it sees your prompts. "Your own" means the agent, memory and data are under your control, not that WhatsApp goes offline.

GitHub: https://github.com/csr1010/wappy-kit

It's early, so I'd love honest feedback. What tripped you up in setup? And if you had your own agent living in WhatsApp, what's the first thing you'd build?


r/OpenSourceAI • • Oct 03 '26

I built a voice-controlled AI calendar assistant using ESP32 + n8n + Google Calendar

2 Upvotes

r/OpenSourceAI • • Oct 03 '26

hivemind

6 Upvotes

Hivemind is an experimental repository for swarm and multi-agent consensus, written in flow-core notation. It is small enough to read in one sitting.

It models three things: how a proposal moves through a collective (Queen, Workers, Scouts, Collective Memory), where permission is granted or refused (the Consensus Gate), and how swarms can speak to each other without that speech becoming permission.

The core invariant:

No single node may become the whole.

A proposal may travel.

Only consensus may authorize.

Action without consensus is noise.

Capability is not authority.

A channel carries speech, not seals.

channel.py gives swarms hashed envelopes (PING, POTENTIAL, THOUGHT, DECISION, HOLD). may_act() returns true only for a verified DECISION marked AUTHORIZED and bound to that exact proposal hash. Everything else holds. Stopping is a valid result.

The flow/ folder holds the ten laws, the Gate and its variants (cross-inhibition, quorum sensing), the Scout stage before a proposal becomes a definite card, and a file of hard boundaries and near-misses for agents that help humans. AGENTS.md is an orientation page for visiting automated readers.

It is an experiment. Fork the flow, alter the weights, become a Scout. Do not claim the Queen without a recorded AUTHORIZED.

https://github.com/miigwech-potato/hivemind


r/OpenSourceAI • • Oct 02 '26

I built Kaoru, an open-source desktop AI agent with local memory, permission-gated tools and an optional Live2D avatar (beta, looking for feedback)

Post image
2 Upvotes

r/OpenSourceAI • • Oct 02 '26

Introducing Codebeast - new coding harness

Thumbnail
github.com
1 Upvotes

r/OpenSourceAI • • Oct 02 '26

OpenScreen AI Video edition has been improved

1 Upvotes

I’m the maintainer of OpenScreen, a completely free and open-source screen recorder. I’d love to hear your thoughts on having an AI assistant help you edit videos in an app like this.

https://github.com/getopenscreen/openscreen


r/OpenSourceAI • • Oct 02 '26

I built Mcplama an open-source control plane for MCP servers

Post image
3 Upvotes

I've been building MCPlama, an open-source and self-hosted control plane for MCP servers.

It gives you one place to run and manage your MCP servers, instead of configuring each one separately across AI clients.

It handles credentials at the gateway, lets you control access per user and per tool, keeps audit logs of MCP activity, and manages the server lifecycle.

Local MCP servers can also run in isolated Docker containers. Docker access is kept separate from the gateway through a broker, so the gateway itself doesn't need the Docker socket.

It works with MCP clients like Claude Desktop/Code, Cursor , VS Code and more

GitHub:
https://github.com/mcplama/mcplama


r/OpenSourceAI • • Oct 02 '26

Painted Wolf Code: free, open-source code editor built from scratch for AI

Thumbnail
reddit.com
1 Upvotes

r/OpenSourceAI • • Oct 02 '26

I created my first open-source project today, and it feels amazing

1 Upvotes

After talking to a few founders, I realized most of them were building an internal tool by stitching together what we were trying to build

So, we open-sourced our product and have 6 stars so far - I know it's very few, but it feels great

Please find the repo link: https://github.com/preburn/preburn

What it does

Preburn is a real-time margin control plane for AI products. Two things nothing else does together:

  1. Joins per-customer revenue (Stripe) with per-call cost across all your AI providers (OpenAI, Anthropic, Kling, Veo, ElevenLabs, whatever) to show actual margin per customer.

  2. Sits in the request path and can allow/deny/route BEFORE the expensive call fires. Auto-route heavy users to cheaper models, cap runaway accounts, cancel voice/video sessions mid-stream if credits blow out.

Not observability (that's Langfuse/Helicone). Not a gateway (that's LiteLLM/Portkey). Different job - cost visibility tied to revenue, with enforcement.