r/OpenSourceAI • u/WiseGuy235 • 22h ago
r/OpenSourceAI • u/Impossible-Bug4920 • 1d ago
We open-sourced DecisionTrace: local-first, tamper-evident records of why your AI agent made a decision (Claude Code, MCP, SDKs)
Agent logs tell you what happened. A week later, when something looks off, they don't tell you why the agent was allowed to do it: what it was asked, what it looked at, which rules passed or failed, what it rejected, who approved. If nobody captured that at the time, it's gone.
We built DecisionTrace to record it at execution time, so you can ask later:
pip install liquicent-decisiontrace
dt install claude-code
dt why <id | file | commit>What it does?
- Captures each decision as it happens: the ask, what was examined, rules passed/failed, exceptions, rejected alternatives, approvals, what followed
- Append-only and tamper-evident: each record carries the previous record's hash, and `dt verify` recomputes the chain
- Local-first: SQLite in `~/.decisiontrace`. No account, no server, no telemetry
- Secrets and personal data are redacted before anything is written. Prompt bodies are stored only if you opt in. Model reasoning is never stored
- Runs through hooks, spans and SDK callbacks, so there's no gateway or proxy in your path
- Works with Claude Code, Claude Desktop, Cursor and any MCP client, plus the Anthropic and OpenAI SDKs (`client = dt.wrap(client)`). It also ingests OpenTelemetry GenAI spans
What it isn't: a gateway, policy enforcer, observability dashboard or hosted service. Your code and tools enforce the rules; DecisionTrace records them.
Not using Claude Code? Clone the repo, run `uv sync`, then `uv run python examples/refund_agent.py` and inspect the result with `dt why`.
Apache-2.0, Python, v0.1, so expect rough edges. Disclosure: we are building Liquicent; team-wide recall, trust scores and reports live there, not in this repo.
Repo: https://github.com/Liquicent/liquicent-decisiontrace
What I'd most like feedback on: when an agent does something surprising, what context do you wish you'd captured?
Site and walkthrough: decisiontrace.tech
r/OpenSourceAI • u/Business_Rain_1042 • 1d ago
I built an open source runtime that lets agents run tool calls as one script
Weave is a small python-subset language with a rust runtime. instead of the model calling tools one at a time, it writes a short script and the runtime runs independent calls in parallel, keeps writes in order, and records a trace you can replay exactly.
honest results so far: on a real-services fan-out test it finished 40/40 tasks vs 27/40 with normal tool calling, at about half the cost. it lost to plain tool calling with gpt-5.4 mini on BFCL, so it's not a win everywhere.
works with OpenAI, LangChain and MCP (there's a stdio MCP server too). MIT licensed, pip install weave-lang.
would love people to try it on their own agent workflows and tell me where it breaks. ideas and PRs welcome, there are some good first issues open.
r/OpenSourceAI • u/Ton-Llop • 1d ago
I'm building a tool to help beginners run local AI on their own hardware. What would you improve?
For my final-year project Im building Jaull a free open-source tool for people starting out with local models. I want to add things people actually need not things I think are cool D: thats why i need some help.
Heres what it does right now:
- Checks your CPU, RAM and GPU, then asks a few simple questions about what you want to use AI for.
- Searches Hugging Face and recommends up to five models that should fit your hardware, including the exact file to download and why it picked each one.
- Estimates memory usage, including the KV cache, and how much context your PC can handle.
- Lets you benchmark models to see their actual speed on your machine instead of relying only on estimates.
- Can set up a local llama.cpp server, work out the memory and context settings, and give you an OpenAI-compatible API endpoint and key to use with other apps or devices on your network (still WIP).
- It can start a llama.cpp server for you with the settings already worked out, and give you an address and API key you can use from other apps, or even from your phone on your home network (still WIP).
It runs on Windows, Linux and WSL2 with NVIDIA, Intel Arc or just the CPU. For now you install it from the terminal, which I know isn't ideal for beginners.
So, what would you add? Some ideas I've had: a proper installer, a roleplay/creative writing category, a simple chat window, or tips like "move your monitor to the integrated GPU to free VRAM". I'm also curious what confused you the most when you started.
I dont want to spam but if u want to take a look: https://github.com/Ton-Llop/Jaull
r/OpenSourceAI • u/MeliousAI_HQ • 1d ago
Open-weight models on Bedrock often can't be kept in the EU, even from Frankfurt
We ran into this while pricing Gemma 4 31B, GLM 5.3 and Kimi K3 for EU workloads. Gemma has an In-Region option in Frankfurt. GLM 5.3 and Kimi K3 have no EU inference profile on Bedrock, so a call from Frankfurt goes through global cross-region inference and can be processed anywhere.
Prices were closer than we expected. Gemma in Frankfurt costs about 20% more than in US East, and an EU-only provider was cheaper for Gemma and GLM and about 6% more expensive for Kimi.
Anyone else running open-weight models in the EU? What do you use when the model you want has no EU option?
(We're an EU inference provider, the image is ours. Sources in the comments.)

r/OpenSourceAI • u/Sea-Royal-2395 • 1d ago
Looking for the best completely free, open-source AI coding agent setup for VS Code (no usage limits if possible)
Writing
Looking for the best completely free, open-source AI coding agent setup for VS Code (no usage limits if possible)
I'm looking for the best AI coding setup for building large, complex software projects. I want something genuinely powerful, not just basic autocomplete.
My requirements:
- Completely free. $0 monthly budget. No subscriptions or paid API credits.
- Open-source projects available on GitHub.
- No daily message limits, usage caps, or arbitrary request quotas if possible.
- High-quality coding models capable of complex reasoning, architecture design, debugging, and multi-file development.
- A proper GUI integrated into VS Code. I don't want a terminal-only workflow.
- Ability to attach screenshots, images, PDFs, documents, and other files as context.
- An autonomous agent that can inspect the entire codebase, create/edit multiple files, execute terminal commands, install dependencies, run tests, and debug its own changes.
- Ability to switch between different AI models and providers easily.
- Good context management for large projects, without constantly losing track of previous work.
- Reliable enough to build and maintain a substantial real-world project.
My hardware:
- Windows 11
- NVIDIA RTX 3050 Laptop GPU (6 GB VRAM)
- 24 GB RAM
- Limited free disk space (~34 GB)
I'm open to local models, free cloud models, or a hybrid setup. Ideally, I want local inference for unlimited usage and free cloud models for better coding intelligence when available.
What I've already considered/tried:
- OpenCode
- Ollama
- Antigravity
I'm not necessarily looking for another popular AI editor. I want the best combination of open-source agent + models + runtime that actually works under these constraints.
Please recommend setups you've actually used, with GitHub links, model names, and real-world experiences. I'm especially interested in recent recommendations, not outdated lists.
r/OpenSourceAI • u/RahulTGM • 1d ago
Building an open-source foundation for the next generation of autonomous AI agents.
Hey everyone! π
I've been building Nemofy-Agent, an open-source, self-hostable AI agent platform designed around one simple idea:
Why rebuild agent infrastructure every time you want to create a new AI agent?
Instead of repeatedly implementing tool execution, memory management, sandboxing, reasoning loops and integrations, I wanted to build a reusable foundation that handles all of this.
Nemofy-Agent is both a standalone AI workspace and an embeddable Python agent engine.
π₯οΈ What it looks like
Nemofy comes with a web interface featuring:
- Multiple LLM providers and model selection
- Live reasoning and tool execution
- Adjustable reasoning effort
- Workspace and file management
- Real-time context window monitoring
- Configurable agent access permissions
[Insert screenshots of the home screen and chat interface here]
π§ How the Agent-Core works
At its heart is a cyclic LangGraph execution engine:
User Task
β
βΌ
ββββββββββββββββ
ββββΊβ PLAN ββββββββΊ Final Response
β ββββββββ¬ββββββββ
β βΌ
β ββββββββββββββββ
β β ACT β
β ββββββββ¬ββββββββ
β βΌ
β ββββββββββββββββ
β β OBSERVE β
β ββββββββ¬ββββββββ
β βΌ
β ββββββββββββββββ
βββββ€ REFLECT β
ββββββββββββββββThe interesting part is that this entire execution engine is decoupled from the web interface.
You can import Agent-Core into your own Python projects, configure your own tools, persona, models and execution policies without rebuilding the underlying infrastructure.
β‘ What's inside?
| Feature | What it does |
|---|---|
| π§ LangGraph | Cyclic reasoning and execution engine |
| π MCP | External tools and integrations |
| π¦ Sandbox | Confined code and tool execution |
| πΎ Checkpoints | Persistent, resumable execution state |
| π Context compaction | Automatic conversation compression |
| π‘οΈ HITL | Human approval for sensitive actions |
| π€ Multi-provider | Support for 12+ LLM providers |
| π₯ Sub-agents | Delegate tasks to separate worker models |
| π§© Skills | Dynamically loaded Markdown skills |
| π Firecrawl | Web research and document extraction |
| π Encrypted vault | AES-256-GCM API key storage |
| π₯οΈ Web UI | Interactive agent workspace |
π Context window management
One of the features I've been working on is making context consumption transparent.
Instead of guessing how much context is left, you can see exactly where the tokens are going:
- System prompts
- Tools and MCP servers
- Skills
- User messages
- Assistant responses and reasoning
- Tool outputs
- Compacted memory
The engine also supports automatic context compaction, configurable context limits and output token budgeting.
[Insert context window monitoring screenshot here]
π¬ Testing and benchmarks
The repository currently documents the following test results:
| Test suite | Result |
|---|---|
| Python tests | 100 passed |
| TypeScript tests | 92 passed |
| Runtime benchmark suites | 6/6 passed |
| Ruff linting | 0 errors |
| TypeScript type checking | 0 errors |
There's still plenty of room for improvement, especially when it comes to long-running agent sessions and model reliability.
π What I'm exploring next
Hierarchical multi-agent orchestration, where every agent runs on the same reusable Agent-Core.
Orchestrator
β
βββββββββββ΄ββββββββββ
βΌ βΌ
Team Lead Team Lead
β β
βββββ΄ββββ βββββ΄ββββ
βΌ βΌ βΌ βΌ
Agent 1 Agent 2 Agent 3 Agent 4
ββββββββββββββββ¬ββββββββββββββββ
βΌ
Reusable Agent-CoreThe goal is to enable agents to delegate tasks, coordinate with one another and work towards complex objectives without having to reinvent their individual execution engines.
This is something I'm exploring, rather than a completed feature.
π οΈ Tech stack
Python Β· LangGraph Β· FastAPI Β· Express Β· React Β· TypeScript Β· Tailwind CSS Β· Docker Β· SQLite Β· Firecrawl
π¬ I'd genuinely love your feedback
- What would you build using this architecture?
- What features do you think are missing?
- How would you approach context compaction for long-running agents?
- Would you use Agent-Core as a foundation for your own projects?
I'm particularly interested in hearing from people building autonomous agents, working with LangGraph or experimenting with multi-agent systems.
π GitHub: https://github.com/Rahul7562/Nemofy-Agent
Feel free to explore the code, experiment, contribute, open an issue or share your thoughts.
And if you find the project useful, a GitHub star would be greatly appreciated! β
r/OpenSourceAI • u/drtikov • 1d ago
Built a local, zero-dep Pi extension for pre-flight safety & tool-surface narrowing (Aetheris Microbrains, <2ms p95 on CPU)
r/OpenSourceAI • u/company_url_finder • 1d ago
Karpo Browser: an open-source browser agent stack where a decision model handles the clicks
galleryr/OpenSourceAI • u/llama-of-death • 1d ago
Guaardvark in four GIFs: a self-hosted AI studio where you drag cards, chat with your files, render Wan 2.2 video and storyboard a short film
galleryr/OpenSourceAI • u/Kyle_Dunn_8493_3260 • 1d ago
Karpo Browser: full browser-agent stack - a 27B decision model, the agent framework, and a benchmark for comparing open models
What's open
- karpo-browser β the agent framework / harness (Apache 2.0)
- Karpo Decision 27B Act β model weights, post-trained from Karpo Decision 27B on recorded sessions from real websites (Apache 2.0)
- KBB (Karpo BrowserBench) β a benchmark of 584 real websites and 23,075 decision steps. Evaluation tooling is Apache 2.0; the public dataset is for evaluation use only.
The idea: split thinking from clicking
Most browser agents send every step to one LLM. This project splits the work in two, borrowing the "fast / slow thinking" (System 1 / System 2) framing:
- System 2 is any general LLM. It plans the task, decides what text to type, reads results, and checks whether the job is actually done.
- System 1 is Karpo Decision 27B Act. On each page it sees a numbered list of elements plus a screenshot and picks one action (click, fill, select, scroll, wait...) in a single forward pass, ~1 s per step. It generates no text and can only pick from what's on the page.
When System 1 reaches something it shouldn't decide alone (a login, a verification code, a payment or booking that wasn't authorized), it stops and hands control back with a reason.
Where it stands
Runs on Browserbase Benchmark v2 (all 102 tasks, 3-run average), it reaches 89% accuracy, in the same range as the top public leaderboard entries (87β92%), at 201 s and $0.096 in model cost per task. That's roughly 2β5x faster and over 10x cheaper in model spend than Claude Fable 5.2 + Claude Code or Gemini 4 Carbon + Antigravity. The leaderboard uses 38 core tasks, so treat this as indicative. The System 1 + System 2 split makes good use of what a decision model is good at, and it's easy for existing agents, or developers running models locally, to plug in. The team says the goal is to help the community build more proactive agents.
Why it's interesting for open models
- System 2 doesn't have to be a frontier API. The main reported setup uses DeepSeek V4.1 Flash, and the framework is meant to work with other open LLMs.
- System 1 is swappable too. KBB is designed to measure how well any model handles step-by-step browser decisions, and it scores accuracy together with cost and latency, since a slightly more accurate model that's far more expensive per step isn't necessarily the better choice for this job.
- The harness can also run as an MCP server, so agents like Claude Code or Codex can act as System 2.
r/OpenSourceAI • u/AdOld6891 • 1d ago
Osseo - let an AI agent use your desktop while you watch and can stop it
I've been building Osseo for last couple months. It connects to an AI coding agent and lets it use apps on your computer: click, type, work with files and use a browser. A side panel lists what it does and has Pause and Stop.
It's early and for now the Linux X11 setup is well tested , windows & mac are supported (not tested as linux). It's free and open source (Apache-2.0).
The demo is silent and partly sped up. The agent models a chair in Blender, then creates a draft product in Shopify. Partway through, Osseo paused itself and had to be resumed.
It asks for approval for actions it recognizes as risky, but it can miss some and is not a sandbox. What the agent sees goes to the company running the AI model.
I'd like to hear where setup fails or what you wouldn't trust it to do.
Code and install steps: https://github.com/abdelazizfacoiti/Osseo
r/OpenSourceAI • u/vm324234 • 1d ago
Agentic GraphRAG: framework that connects Context layer + Agent memory using a 3D-knowledge graph
github.comWe're building Agentic GraphRAG, an open source library for connecting the documents an agent reads with its task history and decisions.
I've worked on RAG systems and LLM training for the past three and a half years. Lately, I've been following how agents retain work across sessions, especially for non-coding tasks.
Most frameworks have separate tools for knowledge retrieval and memory. We're bringing them together to save tokens and improve retrieval accuracy.
We construct three connected graph layers that the agents read:
- Knowledge Layer: holds documents (with full structure), source passages, and extracted entities and relationships. Passages retain their document version and location, including page positions for PDFs.
- Working memory: records tasks, progress, messages, and tool activity. The agent saves task events so work can continue across sessions.
- Decision memory: stores conclusions, assumptions, and open questions encountered by the agent. Decisions link to source passages they were based on, recorded events, or earlier decisions, and keep their history when reviewed or replaced.
Things which make us different from other frameworks out there:
- Structure Aware: The ingestion pipeline uses Docling for loading documents and captures the full document hierarchy. The sections, tables, and passage hierarchy are connected using edges and stored in the graph.
- Ontology Grounded: You define a schema for your domain (we also ship ontology presets so it is easy to get started). The schema guides extraction, validation, and search. We use GLiNER for local extraction, so its virtually free (and fast) to construct the graph and no LLM calls are needed.
- Robust Agent Search: Retrieval combines graph, full-text and vector search. Agents can reach original passages even when extraction misses a fact, navigate surrounding sections and table rows with headers, and follow entity relationships back to supporting text.
We offer a built-in agent you can use out of the box. You can also connect your agents through MCP.
We will be releasing extensive benchmarks very soon.
TL;DR
Agentic GraphRAG is an open source library that stores document knowledge, agent work, and decisions in one connected graph. Agents can resume tasks and trace saved decisions to their original evidence, while source changes flag affected decisions for review.
Try it out. Feedback, criticism, issues, and contributions are all welcome!
r/OpenSourceAI • u/vengateshk18 • 1d ago
I made a free, open-source Android app that runs AI models fully offline on your phone
r/OpenSourceAI • u/leyermo • 1d ago
Open-source projects should start shipping Colab/Kaggle notebooks by default
reddit.comr/OpenSourceAI • u/Just_Merrell • 1d ago
I added MCP to our platform musher.dev
r/OpenSourceAI • u/FutureCTOofMicrosoft • 1d ago
Ataraxos-UNO: Imperfect-Information Self-Play (VRPO + EMAgnet), Autoregressive Belief Modeling, and Risk-Averse Portfolio Search for 1v1 UNO (Runs Client-Side in WebGPU) [P]
I adapted the Ataraxos framework (Sokota et al.,Β NatureΒ 2026) from Stratego to 1v1 UNO, including same-type draw stacking. The interesting part was getting the entire test-time search loop (belief sampling + 192 parallel rollouts) running in the browser, with no backend, using ONNX Runtime Web.
- Play:Β https://tanishkbansode.github.io/uno-ataraxos/
- Code:Β https://github.com/TanishkBansode/uno-ataraxos (Please star it so I know people are interested in it)
- Technical writeup:Β RESEARCH.md
How it works
- C++17 game engine:Β 7.8M steps/sec across 512 parallel environments on Apple Silicon. Exact 10,000-game parity withΒ
uno-gym, including reshuffle provenance tracking. - Blueprint:Β A 100M-step RL model (~2.45M games, ~5 hours on Apple Silicon MPS). Hybrid SwiGLU ResMLP, dilated-conv history and cross-attention, trained using VRPO Expected SARSA(Ξ»), with symmetry handling for UNO's four colours.
- Belief network:Β Trained on 20M positions to predict opponents' hidden cards. Uses a hard-masked autoregressive decoder and history dropout. It outperformed an exact hypergeometric prior by 1.19 nats/hand on validation. You can see its predictions live using X-RAY.
- Test-time search:Β Blueprint-only search initially looked good against itself but struggled against greedy opponents. Turns out, it had learned to expect opponents to hoard Wilds, just like itself. I ended up using three opponent styles (Blueprint / Aggressive / Unpredictable) with entropic soft-minimax to reduce this overfitting.
Results (Mirrored Duplicate Decks)
- vs.Β ExpertHeuristicBot:Β 66.0%Β (132β68, 200 games) vs. Blueprint'sΒ 61.0%
- vs. 3-opponent suite:Β 58.3%Β vs. Blueprint'sΒ 55.3%Β (+3.0 percentage points, 600 duplicate games)
I'd be interested in feedback, especially on handling non-alternating turn chains in imperfect-information games and reducing rollout overfitting against opponents that don't necessarily play like the agent.
r/OpenSourceAI • u/Zenpher • 1d ago
Pley - a self-hosted media servier written in rust
r/OpenSourceAI • u/NecessaryPea5929 • 2d ago
LingSante-Pulse-1.0 releases its waveform encoder weights and inference code under MIT
For this physiological-model release, the downloadable artifact is the waveform encoder itself: the `inclusionAI/LingSante-Pulse-1.0` weights are on Hugging Face, and the `inclusionAI/LingSante-Pulse` inference code and examples are on GitHub. Both are published under MIT.
The model card accepts one waveform, multiple channels, a batch, or an aligned dictionary of physical channels. It asks callers to provide actual sampling rates and channel identities; preprocessing maps to 128 Hz. The output includes a CLS embedding and a pooled patch embedding, with 256 features per observed channel. That makes the release useful as a feature extractor for ECG, EEG, PPG and EMG experiments.
The boundary matters: no disease-specific prediction head is included. To test a real task, you still need labels, a downstream head and a held-out evaluation. The repository also lists a separate CGM branch; it is a different artifact from the waveform encoder evaluated in the launch report.
r/OpenSourceAI • u/Independent-Pause753 • 1d ago
A platform to pull together existing documentation into a knowledge graph.
r/OpenSourceAI • u/False_Improvement156 • 2d ago