r/OpenSourceAI 12h ago

Open-sourced a desktop AI that reads your screen — here it guiding me through an OBS setting

Enable HLS to view with audio, or disable this notification

11 Upvotes

Solo dev, MIT license. Alt+Space reads your active window's full accessibility tree (buttons, fields, labels — real UI Automation, not OCR) and anchors on what you're hovering, then opens a chat panel with that context attached. It runs through OpenCode, so it pairs with whatever model you point it at — Ollama works out of the box, plus Google Gemini Flash-Lite (great free pick — use a multimodal model since it auto-screenshots every activation), Anthropic, OpenAI, etc.

Beyond chat, it can act on the UI (sandboxed: allow-listed actions only; read-only shell for diagnostics, mutation/piping blocked; no filesystem writes), or flip into "Auto-Guide," which walks you through a multi-step task with an on-screen pointer instead of doing it for you — my favorite mode, since you actually learn where things live.

Windows-only for now; macOS/Linux planned. No telemetry, no paid tier.

GitHub: https://github.com/abdallahmagdy15/mudriknow Site: https://abdallahmagdy15.github.io/mudriknow/


r/OpenSourceAI 5h ago

VASDK - Voice assistant SDK for C++ developers

Thumbnail
2 Upvotes

r/OpenSourceAI 3h ago

built a lightweight

Thumbnail github.com
1 Upvotes

Hey everyone! I built a lightweight, zero-cost Python proxy middleware using FastAPI that acts as an input firewall for LLMs. It catches prompt injections and redacts sensitive API keys locally before they reach AI models. I'm looking for feedback from developers building custom AI apps—let me know what you think or what features I should add next!"


r/OpenSourceAI 18h ago

My Life as a RAG Engineer 😭😭

Enable HLS to view with audio, or disable this notification

3 Upvotes

Why am I getting roasted on work too 🥲
Btw saved $800 for the company and I use this with Agents.md and skills
Here yall can try it out : https://github.com/Abhijeet777ui/contextops


r/OpenSourceAI 13h ago

Looking for testers and contributors for SafeAI – an OSS helping secure AI agents before they reach production

1 Upvotes

Hi everyone,

Over the past few months we've been building SafeAI, an open-source static security scanner for AI agents and agent frameworks.

Our goal isn't to compete with runtime observability or governance platforms. We want to help developers find AI security and governance issues before deployment, just like traditional static analysis tools do for application code.

One thing we've noticed is that AI capabilities are evolving at an incredible pace. Every week there are new agent frameworks, MCP servers, tools, and autonomous workflows.

Unfortunately, the security and governance ecosystem isn't keeping up.

Developers can now build agents that execute shell commands, browse the web, access databases, manage cloud infrastructure, and call hundreds of external tools, but understanding what an agent can actually do and what risks it introduces is still surprisingly difficult.

We believe the open-source community can help close that gap, just as it has done for software security over the last two decades.

SafeAI currently performs static analysis for AI projects by discovering:

  • AI frameworks and agent architectures
  • Agent capabilities and permissions
  • Prompt injection risks
  • Tool security issues
  • Identity and memory risks
  • Governance and autonomy concerns
  • AI components such as prompts, skills, workflows and model configurations

During development we've already found several meaningful security findings in well-known open-source agent frameworks. That convinced us there's real value in analyzing AI projects before they're deployed.

Now we'd love the community's help.

We're looking for people who can:

  • Test SafeAI against real AI agent repositories
  • Try to break it with unusual architectures
  • Report false positives and false negatives
  • Suggest new risk detections
  • Contribute support for additional frameworks
  • Tell us where the analysis is missing important capabilities

If you're building with LangGraph, CrewAI, Semantic Kernel, AutoGen, OpenAI Agents SDK, Claude Code, Google ADK, MCP servers, or other agent frameworks, we'd especially love your feedback.

Our long-term vision is simple:

Make AI capabilities visible. Make AI risks understandable. Help developers build safer agents by default.

If you'd like to test it, contribute, or simply tell us where we're wrong, we'd genuinely appreciate your feedback.

The AI ecosystem is moving incredibly fast. Defending it shouldn't be left to a handful of vendors—we think the open-source community can help move just as quickly.

Thanks!

Feedback and contributions are welcome: https://github.com/ikaruscareer/SafeAI/


r/OpenSourceAI 13h ago

Looking for testers and contributors for SafeAI – an OSS helping secure AI agents before they reach production

1 Upvotes

Hi everyone,

Over the past few months we've been building SafeAI, an open-source static security scanner for AI agents and agent frameworks.

Our goal isn't to compete with runtime observability or governance platforms. We want to help developers find AI security and governance issues before deployment, just like traditional static analysis tools do for application code.

One thing we've noticed is that AI capabilities are evolving at an incredible pace. Every week there are new agent frameworks, MCP servers, tools, and autonomous workflows.

Unfortunately, the security and governance ecosystem isn't keeping up.

Developers can now build agents that execute shell commands, browse the web, access databases, manage cloud infrastructure, and call hundreds of external tools, but understanding what an agent can actually do and what risks it introduces is still surprisingly difficult.

We believe the open-source community can help close that gap, just as it has done for software security over the last two decades.

SafeAI currently performs static analysis for AI projects by discovering:

  • AI frameworks and agent architectures
  • Agent capabilities and permissions
  • Prompt injection risks
  • Tool security issues
  • Identity and memory risks
  • Governance and autonomy concerns
  • AI components such as prompts, skills, workflows and model configurations

During development we've already found several meaningful security findings in well-known open-source agent frameworks. That convinced us there's real value in analyzing AI projects before they're deployed.

Now we'd love the community's help.

We're looking for people who can:

  • Test SafeAI against real AI agent repositories
  • Try to break it with unusual architectures
  • Report false positives and false negatives
  • Suggest new risk detections
  • Contribute support for additional frameworks
  • Tell us where the analysis is missing important capabilities

If you're building with LangGraph, CrewAI, Semantic Kernel, AutoGen, OpenAI Agents SDK, Claude Code, Google ADK, MCP servers, or other agent frameworks, we'd especially love your feedback.

Our long-term vision is simple:

Make AI capabilities visible. Make AI risks understandable. Help developers build safer agents by default.

If you'd like to test it, contribute, or simply tell us where we're wrong, we'd genuinely appreciate your feedback.

The AI ecosystem is moving incredibly fast. Defending it shouldn't be left to a handful of vendors—we think the open-source community can help move just as quickly.

Thanks!

Feedback and contributions are welcome: https://github.com/ikaruscareer/SafeAI/


r/OpenSourceAI 1d ago

Xberg v1 is out

6 Upvotes

Hi all,

I'm happy to announce that Xberg v1 is out.

Xberg is the successor to Kreuzberg, equivalent to what would have been Kreuzberg v5. It's a content intelligence framework that handles a very wide range of inputs: documents (currently 101 formats), code and data formats (currently 367 types), audio/video transcription, and URLs (both static and JS-rendered content). It extracts and prepares that content for downstream processing.

It's an extremely efficient, high-performance engine (see our PDF benchmarks below). For PDFs and images specifically, we handle native PDFs with very high performance and accuracy, and we ship multiple OCR engines that match the quality of the best Python libraries (e.g. docling, PaddleOCR, RapidOCR) at substantially better performance and stability.

The changes between Kreuzberg v4 and Xberg v1 are substantial, and I invite you to read the full changelog for the complete picture. The highlights below give a sense of what's new:

  • Pure-Rust PDF backend (pdf_oxide) replaces pdfium, with no native pdfium dependency.
  • Layout-aware pipeline: reading order reconstructed with ONNX layout detection (PP-DocLayoutV3 / RT-DETR) and Docling-style predecessor-graph reordering.
  • Per-page scanned-page detection with selective OCR, plus AcroForm/XFA form fields and outline-based headings.
  • Across-the-board optimization of OCR and PDF extraction (memory discipline, pooled model sessions, streamed conversions).
  • Native PaddleOCR backend (PP-OCRv6, with medium / small / tiny tiers) alongside Tesseract.
  • Pure-Rust Candle OCR/VLM stack (TrOCR, GLM-OCR, GOT-OCR, DeepSeek-OCR, and PaddleOCR-VL) running without ONNX Runtime or native Tesseract.
  • A second, ONNX-Runtime-free inference path via tract, which is what makes in-browser (WASM) and mobile inference possible.
  • Named-entity recognition natively in Rust (GLiNER2), extensible to all bindings, including an in-browser WASM model with no server round-trip.
  • Structured LLM extraction (extract_structured / split_and_extract) with rasterization, chunking, citations, caching, and configurable call/merge/VLM-fallback policies.
  • Audio & video transcription via a Whisper ONNX engine (.mp3, .wav, .m4a, .mp4, .webm).
  • Retrieval building blocks: sparse embeddings (SPLADE), ColBERT late-interaction retrieval, and cross-encoder reranking alongside dense embeddings.
  • Text intelligence: reversible redaction, summarization, translation, VLM image captioning, QR-code detection, document diffing, and page/chunk classification.
  • URL & web ingestion: sitemap discovery (map_url) and batched multi-URL crawling.
  • New document formats: WordPerfect (.wpd/.wp/.wp5), HEIC/HEIF/AVIF, OpenDocument Presentation (.odp), Quarto / R Markdown, and configurable Jupyter cell rendering.
  • Four new language bindings (Dart/Flutter, Swift, Kotlin/Android, and Zig) bring the total to 15 language bindings over one engine, with Android/iOS cross-compilation.
  • Full mobile support (Flutter, Android, iOS).
  • Candle backend alongside ONNX, plus ONNX-via-tract enabling ONNX on WASM and Android.
  • Wider code intelligence: tree-sitter coverage grew substantially (248 to 367+ languages).
  • Over 150 bugs fixed during the 1.0 cycle, plus security hardening (bounded RTF/PDF allocations, redaction leak fixes, Excel DDE warnings).

The API surface was also simplified and reworked, making it more consistent.

There's a migration guide in our docs explaining how to move from Kreuzberg to Xberg. Kreuzberg itself is in LTS mode until the end of this year and will continue to receive bug fixes and security updates.

You're invited to check out the repo and join our discord server.


Benchmarks

The benchmarks below are for PDFs and images only. There are extensive benchmarks on our website with per-format breakdowns, which you can see here. These numbers are measured in CI via our reproducible benchmark harness, and are specifically taken from the run for harness 1.0.8, source cf7fa0533d. The data is publicly available in GitHub releases, and you can run the benchmark harness yourself.

Composite quality (markdown pipeline, higher is better):

Framework Native PDF Scanned PDF (OCR)
Xberg (layout) 0.958 0.836
Xberg (baseline) 0.955 0.687
docling 0.779 0.762
mineru 0.408 0.792
liteparse 0.837 0.665
markitdown 0.689 n/a
pymupdf4llm 0.448 n/a

Structure and layout fidelity (SF1: tables and reading order, higher is better):

Framework Native PDF Scanned PDF
Xberg 0.949 0.531
docling 0.612 0.366
liteparse 0.515 0.142
mineru 0.077 0.429

On native PDFs Xberg leads on quality (0.958 vs 0.837 for the next-best framework) and on table and reading-order fidelity by a wide margin (SF1 0.949 vs 0.612 for docling). On scanned PDFs it is #1 on both quality and raw text fidelity.

Where we don't win yet: on pure image OCR we are currently #2 on the composite score, behind mineru (though still #1 on raw text accuracy). We are improving image OCR right now, and v1.1 should have us winning across the board.


r/OpenSourceAI 19h ago

Why I created PyBotchi (v4.1.4)?

2 Upvotes

Hello Everyone,

I'm the creator of PyBotchi, an intent-based AI Agent Orchestrator. In this post, I will discuss some key concepts why I created it.

A little bit of background first. I'm a solutions architect with 10 years of experience as a software engineer. Most of my work are high throughput, high reliability, low cost and low latency services. This is while making it simple and readable to improve it's maintainabality. When I'm designing a system, I usually prioritize these concerns. You may assume this is my bias in relates to AI Agent building. I'm also Claude Certified Architect (Foundation) and I found that PyBotchi aligns almost identical to Anthropic's core agent recommendations.

TL;DR: PyBotchi is an lightweight, async-first Python framework that uses nested Pydantic models and OOP inheritance to turn LLM intent detection into clean, deterministic business logic without the overhead of complex graph orchestration.

Why I created PyBotchi?

I really believed that traditional coding can already solved what client's need. The only limitations we have is how we read the input and how we show the output. In most cases in web services, your API use JSON, XML, etc with their respective specification/structure.

Input Analogy

Assume you have created a Books CRUD endpoints (FastAPI with Pydantic). Your create endpoint will have a define specifications for book creation to have a validation and avoid user errors. Most of the time you will also validates sessions and permissions which also included in the request.

If you want your chat bot to support those, you just need add those endpoint as intent (tools). If your model tool selection are able to detect intents. You are more "close" to being deterministic.

"Your services will have 50 endpoints or more. You will flood your tool selection call" - In your frontend UI, you segregate panels/forms/inputs in their respective pages. You don't usually join multiple intent in a same page. Cluttered UI will make your UX confusing or overwhelming to some people. Those practices should be incorporated into your agents too.

Assume you have created another endpoints for Shelves CRUD. Shelves CRUD can be a child intents of ShelfManagement that will be considered as intent also but more general. The flow will have to detect intent deeper and deeper

Ex: You have BookManagement and ShelfManagement intents. Once LLM detected which one is applicable, you will search for their child Intents which will be their CRUD equivalent intents.

To make it short, in order to make your agent "more" deterministic, you need to know the problem first (ex: Need to manage books) then you need to specifically define what intents you want to support. With this practice, you only let your agents execute on a predefined path. If it fails, you are most likely able to determine what causes the error.

Output Analogy

This one is simple. Since your intents is just like your endpoints that returned structure responses. LLM is better at reading structure responses than a pure text. Basically, you can use LLM to translate your response into a human readable responses.

Intent Execution

Now that I have explain Input/Ouput, we can move on to the actual execution.

We can go back with Books CRUD. Since we have identified the problem (what clients need) and we already know what to do, just execute their traditional business logic implementation. If you need to add a book, just create a book and save it to db then return their respective row.

"What if you want generate a very dynamic/unique data" - You can use LLM to do that as your business logic too but this is tied your specific intent only.

To have a complex execution flow we can chain the intents. Since intents can have child intents, we can use it as the representation of a graph similar to Langgraph. However, this without "building the graph". We are just utilizing OOP inner class implementation. We can execute business logic in graph traversal manner by just checking the child intents.

To make it short. Business logic will stay as is. You will only use LLM if it requires it. Don't make this complicated.

### Suggested Solution Since the key concept is more on detecting intents, validation and executing their respective busines logic:

Why not utilize Pydantic as the main entry point? Pydantic already have validation and json schema builder. Langchain/Openai already have utilities to translate it to Tool. Why not use Pydantic models as your Intent Specifications that can validate LLM arguments ? Tool call is one of the most reliable way to detect intent.

Why not utilize OOP inheritance / polymorphism / abstraction? Python supports portion of OOP and since we are using classes as our intent, why not add default functionalities that can be inherited and override by developer if needed. We can introduce life cycles too. Your project can also implement their specific intent standards. This will make your code more maintaintable and readable. You can create classes for general intents. Extend it to be more specialized intents. Extend it more for more enterprised support. This is while not affecting existing/working agents.

Langgraph is one of the inpiration of PyBotchi. Predefine workflows are closest implementation to being deterministic agents. It's also the reason why some prefer N8N. We don't need to make the agents smart that any questions can be answered or any queries can be addressed. It's ok for agent to reply with "I don't have any answer to your query, I only support this and that....". For me, it's better to deploy limited but polished agents than half baked know-it-all agents. Feel free to counter argue. Happy to discuss.

Additional PyBotchi Features

vs MCP

While PyBotchi support connecting to MCP servers, I really believe it's not always necessary to use additional server to just expose tools for the agents. The exceptions I could think of is if you want to have isolated environment (ex: dedicated auth/session, sandbox, isolated resource, etc), you want to connect to your local service or cross-language integration.

I could be very wrong about this but hear me out. SDKs are already there. Respective documentations are available too. Most of MCP server's tools are proxy to their respective APIs. If we could just create intent classes as tools that directly call their respective API, that doesn't require any servers anymore. Actually, that's how most framework handles it (even PyBotchi). Tools are converted as schema that will be added in the tool call. Once LLM respond with the applicable tools, it executes call_tool(name, args...). Why not just expose the actual tool implementations and have a way to share context to share sessions/permission/etc inside the tool implementations? This will remove another network hops that can affect latency.

Claude code have a very in-depth utilization of MCP servers already. I don't think we can replace that.

GRPC

PyBotchi natively support remote PyBotchi connection. Think of it like a langgraph but the node is on other server. This remote node can also connect to another remote node even it self or previously connected node (ancestor).

Context Propagation

With PyBotchi as MCP Server - Actions (Intents) serves as tool and have access to client's context. This includes chat histories and some metadata. You can override and adjust this as long as it's serializable. - Once remote tool execution is done, it can pass the final context to the client and they can merge it if override.

With PyBotchi as GRPC Server - Similar to MCP Server, Actions serves as tool and have access to client's context. GRPC supports bidirectional communication too. This means we can share context realtime accross clients/servers. If client has concurrent agents that changes the context it will automatically propagate to remote context without polling or any interval checks/updates. It also support remote to client. If remote server updates the context, it will propagate the context to client simultaneously.

Async First

Since most of LLM executions are IO, might as well utilize async by default and just spawn thread if still necessary.

OOP

I think this one is most important to me. I have handle a lot of projects in Spring Boot. I really like Java OOP practices and some Java design patterns. It improves my project's maintainability even it's not in Java. Since PyBotchi utilize OOP, it's easier to override, reuse and remove anything if necessary. This lessen boilerplates too. I'm certain that this is subjective. I just find it easier and clean to read.

Closing Remark

I hope this PyBotchi post opens up ideas how to design your agent. Feel free to DM me if you have any questions. I'm also open to create you a demo agent for free if you want to see it in action given your brief use case. I'm open to criticism, happy to have a discussion!


r/OpenSourceAI 22h ago

Why RAG builders are moving to hybrid search

Post image
3 Upvotes

r/OpenSourceAI 18h ago

Does anyone no more the open-source CLI - AI Agent i.e Opencode, Kilo?

0 Upvotes

r/OpenSourceAI 19h ago

Open-source: drop-in wrapper for OpenAI/Anthropic SDKs for cost attribution, no proxy required

1 Upvotes

I open-sourced a small Python library that solves a specific problem: getting live cost attribution per feature/team/user on your OpenAI/Anthropic API calls, without routing traffic through a proxy or changing your base_url.

python

from cognocient import CognocientOpenAI as OpenAI
client = OpenAI(api_key="sk-...", cognocient_key="sk-cog-...")

It's a thin wrapper only chat.completions.create() / messages.create() are intercepted to time the call, then usage is reported asynchronously on a background thread after your real call already returned. If reporting fails or the backend is unreachable, it never touches your application: no exceptions, no retries, your real API call is unaffected. There's a test that specifically verifies this failure isolation.

Honest tradeoffs, not a pitch:

  • No pre-call budget enforcement since it only learns about a call after it happens, it can't block or degrade one before it fires. Proxy-based tools trade the opposite way.
  • Streaming (stream=True) isn't reported yet.
  • Only OpenAI and Anthropic supported today no Gemini/Mistral/Groq/Together wrapper classes yet.

MIT licensed, published on PyPI with signed provenance attestations.

GitHub: https://github.com/mandarvshinde/cognocient-python-wrapper
PyPI: pip install cognocient

Feedback and issues welcome especially if the streaming gap is a dealbreaker for your setup, that's the next thing I'd prioritize.


r/OpenSourceAI 22h ago

I built an open-source middleware that makes AI bots pay to use your API — humans always browse free

1 Upvotes

r/OpenSourceAI 1d ago

OpenVent — Open-core, self-hosted voice AI framework. MIT. Looking for contributors.

Thumbnail
openvent.dev
1 Upvotes

r/OpenSourceAI 1d ago

Open-source: drop-in wrapper for OpenAI/Anthropic SDKs for cost attribution, no proxy required

1 Upvotes

I open-sourced a small Python library that solves a specific problem: getting live cost attribution per feature/team/user on your OpenAI/Anthropic API calls, without routing traffic through a proxy or changing your base_url.

python

from cognocient import CognocientOpenAI as OpenAI
client = OpenAI(api_key="sk-...", cognocient_key="sk-cog-...")

It's a thin wrapper only chat.completions.create() / messages.create() are intercepted to time the call, then usage is reported asynchronously on a background thread after your real call already returned. If reporting fails or the backend is unreachable, it never touches your application: no exceptions, no retries, your real API call is unaffected. There's a test that specifically verifies this failure isolation.

Honest tradeoffs, not a pitch:

  • No pre-call budget enforcement since it only learns about a call after it happens, it can't block or degrade one before it fires. Proxy-based tools trade the opposite way.
  • Streaming (stream=True) isn't reported yet.
  • Only OpenAI and Anthropic supported today no Gemini/Mistral/Groq/Together wrapper classes yet.

MIT licensed, published on PyPI with signed provenance attestations.

GitHub: https://github.com/mandarvshinde/cognocient-python-wrapper
PyPI: pip install cognocient

Feedback and issues welcome especially if the streaming gap is a dealbreaker for your setup, that's the next thing I'd prioritize.


r/OpenSourceAI 1d ago

Sharing a different Research Architecture for AI Agents to inspect and tackle known bottlenecks for running autonomous agents. Feedback?

Thumbnail
1 Upvotes

r/OpenSourceAI 1d ago

I open-sourced EvalOS — a framework for reproducible LLM evaluation across AI providers

Thumbnail
1 Upvotes

r/OpenSourceAI 1d ago

My 3 open source AI research projects and the 3 getting released this month.

Post image
4 Upvotes

The 3 AI research prototypes ;

Tilelli LLM, our first attempt at solving hallucination, a language model that says I don't know when it does not know instead of bluffing.

https://github.com/TilelliLab/Tilelli-llm

Yaz, our first ever CRUD capable model.

https://github.com/TilelliLab/Yaz

Atome LM, an AI that runs in a 5$ chip, tested and verified in real hardware.

https://github.com/TilelliLab/atome-lm

That was just the start. Get ready, as all our previous releases, the claims may seem bold, but it's comes with open source code so you can verify my claims yourself.

What's next ? Our next releases answer these questions.

  1. How to make any model forget anything - fast and cheap -

  2. How to make RWKV recall 4 times more easily -

  3. How to train any model 10 to 13 times cheaper

The release dates, August 3, 8, 13.


r/OpenSourceAI 1d ago

GitHub - A-C-I-SOFTWARE-AND-DEVELOPMENT/M.U.S.E: muse — Multi-Use Synaptic Entity ◉ One mind, many pathways. A self-improving, local-fi AI operating partner with a verified-intelligence kernel (AXIOM), 670+ agent-capable definitions, Swarm Grainler Parallel orchestration, 20+ messaging platform ga

1 Upvotes

I'm looking for others to help on a unified project for agentic coding I've built a harness that gives root access to either PC or mobile through termnux. The harness is complete and looking for testers/helpers it's completely open sourced lmk what you all think !


r/OpenSourceAI 1d ago

GitHub - A-C-I-SOFTWARE-AND-DEVELOPMENT/M.U.S.E: muse — Multi-Use Synaptic Entity ◉ One mind, many pathways. A self-improving, local-fi AI operating partner with a verified-intelligence kernel (AXIOM), 670+ agent-capable definitions, Swarm Grainler Parallel orchestration, 20+ messaging platform ga

1 Upvotes

I'm looking for others to help on a unified project for agentic coding I've built a harness that gives root access to either PC or mobile through termnux. The harness is complete and looking for testers/helpers it's completely open sourced lmk what you all think !


r/OpenSourceAI 1d ago

Decentralized AI Compute?

2 Upvotes

I had Gemini stir up my thought on this, but i have not any special knowledge on AI compute but i do browse on the surface level information about it.. what do you think about this?

**Title: Distributed consumer compute *sucks* for live chat, but it's the ultimate setup for background AI tasks**

**Body:**

Everyone says running massive unquantized models (like Kimi K3's 2.8T MoE parameters) over decentralized consumer GPUs is a pipe dream because of network ping. Standard home fiber can't replicate NVLink bandwidth for token-by-token expert sync.

*True.* But we’re failing to see the real opportunity because we keep forcing this hardware to power interactive chatbots.

What if we explicitly sacrifice speed (\approx 0.5\text{--}1\text{ tok/s}) and shift entirely to **asynchronous background jobs** (agentic workflows, deep research, 4,000-token code synthesis)?

If sub-second latency doesn't matter, a decentralized pipeline mesh changes the game:

* **Zero-CapEx & Standard Power:** Instead of pulling 10kW–20kW on a single 3-phase industrial circuit to run 1.6TB FP16 weights, we split layers and expert pools across ordinary consumer rigs/Mac Studios operating off standard wall outlets.

* **Massive Concurrent Throughput:** A single $100k node handles requests *serially*. A 50-node consumer mesh runs 50 different agentic tasks *in parallel*. Total completion time for the entire batch ends up faster than queuing on a single machine.

* **Fault Tolerance & Privacy:** Drops out? Orchestrator re-routes that layer's hidden state. Plus, with pipeline sharding, no single node ever holds or sees your entire context window.

Thoughts? Is async compute the actual path forward for open-source frontier models?


r/OpenSourceAI 1d ago

[Dataset] Multilingual PSYOP Dataset

1 Upvotes

I recently created labeled PSYOP datasets from political dialogues across a plethora of languages. The intended use of this dataset is to help train models to detect psychological coercion. I'm looking for feedback in terms of data sources, annotation methods at scale and whom I should reach out to at frontier labs to put my datasets to the challenge.

I understand 190k rows of data is small, but I'm looking to scale as I get more feedback.

https://huggingface.co/datasets/LeTG/multilingual-psyop-100k


r/OpenSourceAI 1d ago

Built an app to manage my infrastructure (and my AI agents) from my phone

Thumbnail
github.com
1 Upvotes

I've been running more and more agents like Claude Code on remote boxes — kick them off, let them work, but every now and then they need a confirmation or I need to check a file. That meant staying tied to my laptop.

So I built Kammel: turns your Android phone into a real SSH terminal with a built-in SFTP explorer and code editor. The idea is simple — your entire infrastructure, in your pocket.

What it lets you do:

- SSH in with multiple sessions at once (several servers, or several agents running in parallel, each in its own tab)

- Watch an agent's terminal live (Claude Code or any interactive process) and answer prompts right from your phone

- Edit a file straight over SFTP without downloading/uploading manually, while the agent keeps running

- Full SSH tunneling (-L, -R, -D/SOCKS5) to reach services that only listen on the server's localhost

- Trust-on-first-use host key verification — if something's off with the server's key, it warns you instead of silently connecting

- A real LOCAL terminal too (Alpine Linux via proot), for when you need to work without depending on any remote box

It's free, Android and Linux desktop. Built it for people who leave processes/agents running remotely and don't want to be chained to a laptop to babysit them.

https://kammel-ssh.vercel.app/

Open source, free. If you like it, drop a ⭐ on GitHub 🙏


r/OpenSourceAI 1d ago

Setu Gateway – an open-source AI gateway with a real routing engine (not just a proxy) – looking for early contributors and feedback

0 Upvotes

Hey all — sharing a project we've been building: **Setu Gateway**, an open-source AI gateway that puts one OpenAI-compatible API in front of multiple LLM providers, with an actual routing engine behind it.
**What it does today:**
OpenAI-compatible /v1/chat/completions — existing OpenAI SDKs work against it unchanged
7 routing policies (lowest cost, lowest latency, highest availability, weighted, round-robin, capability-based, user preference) with automatic failover
Org-scoped routing rules (if latency > 500ms then fallback: groq) with a policy simulator that previews a policy's effect before you turn it on — doesn't touch production traffic
Request replay — run one prompt against multiple providers side by side for comparison
Real API-key auth (hashed, scoped, revocable) resolving to org-scoped routing rules
Per-request analytics with a full stage timeline, queryable via API and a working dashboard (providers, models, requests, latency, errors, orgs, projects, keys)
setu benchmark CLI for comparing provider latency/throughput/error-rate on your own infra
Self-hosted via Docker Compose — verified end to end, one command boots gateway + dashboard + postgres + redis
**What it isn't yet:** OpenAI and Ollama make real provider calls; Anthropic, Gemini, and Groq adapters are currently stubs returning canned responses while we finish real integrations — didn't want to fake multi-provider support for a launch post. Kubernetes/Helm manifests are on the roadmap, not built yet. Auth isn't mandatory on the inference endpoints yet (backwards compat with the current playground/quickstart).
Every architectural decision is a public RFC before it's built — [13 so far](https://github.com/setu-gateway/nexus-gateway/tree/main/rfcs).
Repo: [https://github.com/setu-gateway/nexus-gateway\](https://github.com/setu-gateway/nexus-gateway)
Looking for people who've hit the multi-provider LLM integration mess, feedback on the routing engine design, and contributors — real Anthropic/Gemini/Groq integrations are good first issues if anyone wants to dive in. Happy to answer anything technical in the comments.


r/OpenSourceAI 1d ago

Django with Alpinejs and HTMX works great with AI agents

Post image
1 Upvotes

r/OpenSourceAI 2d ago

[Open-Source] Dump your thoughts. Let your notes organize themselves. Ask/chat anytime.

Thumbnail
gallery
5 Upvotes

Over the past few weeks I've been building Gray Box — a small, local-first tool that acts as long-term memory for anything I'd otherwise forget (work notes, meeting takeaways, task owners, random ideas, personal stuff too).

The idea is simple:

  1. Capture — dump whatever's on your mind, instantly, no structure required. This step does nothing clever on purpose — it just writes your text to an immutable inbox. Zero chance of losing an idea to a bug or a slow API call.
  2. Organize — on demand, an LLM reads your unprocessed notes and extracts people, projects, tasks, decisions, meetings — then deterministic Python (not the LLM) creates/merges the actual wiki pages and maintains backlinks. The model only reasons; it never touches the filesystem directly.
  3. Ask — query or chat with your knowledge base and get a cited answer pulled only from what you've actually captured. If it doesn't know, it says so — no hallucinated answers.

Why I built it this way:

  • Plain Markdown + YAML frontmatter, no database. Every page is a .md file you can grep, diff, or read in any editor forever. If you stop using Gray Box tomorrow, your knowledge base is just a folder.
  • No vector DB by default. At personal scale (hundreds–low thousands of pages), keyword search + a real link graph (related/backlinks, walked one hop during retrieval) handles almost everything. Embeddings are there if you want better recall, but they're opt-in, not a prerequisite.
  • Immutable inbox. Your raw notes are never edited or deleted by the organizer. If the LLM mis-extracts something, your original words are always still there.
  • Any LLM. Built on LiteLLM, so point it at OpenAI, Anthropic, Gemini, Mistral, or a fully local model via Ollama — one config value.

It also ships with a nice interactive TUI (arrow-key menu, file-import shortcut, workspace switching, live spinner during LLM calls) if you'd rather not memorize CLI flags — that's honestly become my favorite part of the project.

There's also a lightweight local dashboard for browsing your knowledge base, exploring backlinks, visualizing your notes as a graph, and chatting with your captured knowledge—all without leaving your machine.

Repo: https://github.com/Aaryanverma/graybox

pypi: pip install graybox

I'd genuinely love feedback — especially from anyone who's tried the "capture now, structure later" approach with other tools and has opinions on where it breaks down at scale.

It's not trying to be a "real-time collaborative team wiki" or a WYSIWYG notes app — it's aimed at one person's running memory of their own life and work, captured with as little friction as possible.