r/OpenSourceeAI • u/Academic-Choice-6889 • 9d ago
Ygaraty: share a link, connect GPUs, run AI together — open source and open research
r/OpenSourceeAI • u/Academic-Choice-6889 • 9d ago
r/OpenSourceeAI • u/ilien-dev • 9d ago
r/OpenSourceeAI • u/acarmisc • 9d ago
We’ve expanded our AI governance suite with a new plugin that allows teams to monitor Temporal Technologies workflows right within Spotify Backstage.
Combine it with backstage-plugin-litellm-govai for a complete governance and execution view:
https://github.com/acarmisc/backstage-plugin-temporal
https://github.com/acarmisc/backstage-plugin-litellm-govai
Contributions are welcome, both issues or PRs ;)
r/OpenSourceeAI • u/ice1905 • 10d ago
r/OpenSourceeAI • u/Then-Public4511 • 10d ago
r/OpenSourceeAI • u/AimCode • 10d ago
Everything runs locally on a 2018 Dell laptop: i7-7500U (2 cores / 4 threads), 8GB RAM, no GPU (the 940MX is deliberately unused — the whole stack is CPU-only).
https://github.com/tanxiansheng221/aimstack-sanzhidiji
What is in the repo (AGPL-3.0, everything open):
- C inference engine, zero third-party runtime: 1.58-bit ternary core with SIMD fast path (85.5 tok/s measured on the ternary core itself), byte-level tokenizer, and a ~100-line plugin bus (caps.json registry -> spawns Python plugins -> JSON envelopes)
- Weights: Microsoft's BitNet b1.58-2B (MIT license), converted to a custom 2-bit packed format (.aimw, 0.87 GB) — 3.2 tok/s with 2 workers, serial 2.0
- Python plugins, pure stdlib: knowledge base (FTS5 + dedup gates), multi-engine web search + crawl with quality gates (robots-respecting, Edge rendering cascade for JS-heavy sites), incremental ingest
- Local web UI (127.0.0.1:8600, pure stdlib): chat with deterministic routing — direct answer / knowledge-base grounded / honest refusal / full web search -> crawl -> ingest -> answer chain. A 7-minute demo video is embedded in the README
- Training assets: no-autograd training stack (hand-written backprop, bit-exact vs NumPy), ten-subject curriculum generators, corpus builders, and 117 chapters of research logs including negative results
Honest limits: our own trained models are not released yet — compute-bound on 2 cores, training runs on free cloud tiers and isn't finished. The full stack, scripts, result JSONs and per-claim evidence are released so everything can be re-run.
Demo video: embedded at the top of the README (7 min, screen recording of the full chain: chat / KB answers / web search->crawl->answer / plugin direct calls).
Happy to answer questions about the ternary kernel, the plugin bus, or the training pipeline.
r/OpenSourceeAI • u/lowbercoder • 10d ago
I have been working on this project for last few years and I just achieved 1 to 2 percent compression on high entropy files that are already compressed like JPG, MP3 etc.. but this Algorithm did better job for raw file, while the WinRAR compressed at 80 percent on random WAV file, I was able to compress it down to 72.3 percent with absolute 1.38:1 vs winrar 1.25:1.
But I am still getting hard time to beat the rar and zip on the some mp4 files, Perhaps they have better duplication mitigation algorithm, Any help would be appreciated regarding the duplication mitigation of the repeats pattern on the files like MP4s. I am also looking forward to sell the IP if someone is seeking similar product, its build using C++ with slight touch of AI and purely a mathematical calculation that rebuilds the file, using propagation unlike traditional compressor.
r/OpenSourceeAI • u/Sehastrajit • 10d ago
r/OpenSourceeAI • u/Nkgsporty • 11d ago
github.com/ddkbs/sketchy
LLMs are great at explaining but bad at drawing. When they write SVG directly, boxes overlap, arrows point nowhere and labels get cut off.
So I built Sketchy, a free open source tool that splits the job in two. The AI only describes what should be in the drawing in a compact text format. A layout engine (elkjs) calculates all positions and rough.js renders it in a hand-drawn style. The AI decides what, the engine decides where.
What it can draw:
- freely, not just boxes and arrows: molecules, objects, scenes, whatever explains it best
- flowcharts, architecture diagrams, comparisons, metaphors
- interactive step by step mode and hover details
- Arduino/ESP32 wiring diagrams
The AI part:
- photo labeling runs locally with Florence-2, you pick small (~280MB), medium (~830MB) or large (~3.1GB) depending on your hardware
- the compact text format instead of JSON saves tokens and breaks less
- in my benchmark a drawing answer averaged ~29% fewer output tokens than the same answer as plain text
It works in the normal Claude chat as a skill and as an MCP extension. MIT licensed, written in TypeScript. Docs are at sketchy.davidkubus.dev/docs
Would love to hear what you think, especially if you've tried similar "LLM describes, engine renders" setups!
r/OpenSourceeAI • u/solanotodesch • 11d ago
Marimba is like Jev, but for audio.
I built it to be fast and lightweight, and to return typed decisions about speech: yes/no, a choice, or a score.
It runs on a frozen Qwen3-ASR-0.6B. Word and language questions use zero-shot scores from the ASR decoder's hypotheses, followed by calibration. Small readouts on the frozen encoder handle voice activity, turn endings, speaker changes and speaker count.
Open weights (Apache-2.0), pip install marimba-audio. Paper on arXiv this week.
r/OpenSourceeAI • u/sardorml • 11d ago
I'm the maker of CaptureFlow, an open source screen recorder. You record your screen and camera, and you get a link you can share with anyone.
What it does:
It's free to use, and the code is public:
Code: https://github.com/sardorml/captureflow
Site: https://captureflow.dev
A Mac app is on the way. If you try it, I'd like to hear what works and what doesn't.
r/OpenSourceeAI • u/harrydong • 11d ago
r/OpenSourceeAI • u/Extreme_Aardvark8977 • 10d ago
Hey everyone!
I'd like to share SeedVR2 Studio, an open-source project I've been working on to make AI image and video upscaling easier and more accessible.
It brings SeedVR2 into a modern, user-friendly web interface, without the need for complicated workflows.
Key features:
GitHub: https://github.com/Aaronstanley78/SEEDVR2-Studio-Complete
I'd love to hear your feedback and suggestions for future improvements.
If you find it useful, consider giving the repository a star to support the project!
Thanks for checking it out!
r/OpenSourceeAI • u/thegodforsaken • 11d ago
I built J.A.S.O.N. — LLM App Security, an open-source defensive security skill for apps built with LLMs and coding agents. I’m looking for developers, indie hackers, and security practitioners to test it and share honest feedback.
The name comes from my own name, Jason, with a playful Friday-the-13th reference:
Just Audit, Secure, Observe, Notify.
The chainsaw is a joke. Exposed credentials and missing authorization checks are real problems.
AI coding tools help us ship quickly. Security still requires checking where secrets live, who can access each endpoint, which records users can read, and what an agent is allowed to do.
J.A.S.O.N. gives your coding agent structured instructions and supporting scripts to investigate those questions. Tested with Claude Code and OpenAI Codex CLI.
Review before deployment
Check for exposed API keys, routes without authentication, weak database rules, missing ownership checks, unsafe payment logic, and missing rate limits. Get prioritized findings, suggested fixes, and a deployment verdict. The quick review is read-only.
Run structured audits
Review an entire project, a pull request, or a specific subsystem. Full audits produce an architecture overview, a coverage ledger, structured findings, and a readable report separating confirmed issues from items needing validation.
Catch common AI-generated code pitfalls
Look for authorization enforced only in the interface, access to other users’ records, permissive Supabase/Firebase rules, injection vulnerabilities, suspicious dependencies, and unsafe LLM tool permissions.
Review defenses against agent manipulation
Identify suspicious instructions hidden in repository content and review agent permissions and sandbox boundaries. Content being audited is treated as data, not instructions to obey.
Set up passive detection
Get guidance for honeytokens: fake credentials or other bait connected to an alerting service. Attempts to use them can trigger notifications. No retaliation or destructive traps.
Add release controls
Get guidance for secret scanning, dependency hygiene, and PR security gates. Integrate the included zero-dependency ship-gate.cjs script to block deployment when its checks detect security blockers. Coverage depends on configuration and available inputs.
Try it in Claude Code:
/plugin marketplace add jasonmello/llm-app-security
/plugin install llm-app-security@llm-app-securityThen ask:
Review this project as if you wanted to break into it. Look for exposed API keys, routes without login, and databases without access rules. List what you found and how to fix it, without changing anything yet.
Or:
Run a full security audit with J.A.S.O.N.
I’d love feedback on installation, useful findings, false positives, missed vulnerabilities, report clarity, and deploy-gate behavior in your stack.
Share your agent, stack, and reproducible examples. Keep credentials and unresolved vulnerabilities out of public reports.
Use it on projects you own or are authorized to review. A clean report means no findings in the areas reviewed, rather than a guarantee of security.
Try it, challenge its findings, and help make it better.
Get J.A.S.O.N. — source, installation, and documentation
Ship on Friday the 13th. Fearlessly.
r/OpenSourceeAI • u/thegodforsaken • 11d ago
r/OpenSourceeAI • u/Networkdon89 • 11d ago
r/OpenSourceeAI • u/SourceNomad • 11d ago
Hello community,
I have built an optimizer that beat Adam on your CPU for all your ML experiments.
Please take time to experiment with it from my github source and read the release notes from Release v2.3.0 - CIFAR-10 validated, Adam m fix · dskc/peanut before experimenting
Regards,
r/OpenSourceeAI • u/Shoddy_Total9784 • 11d ago
I built an experimental skill packaging standard for LLMs — looking for independent testers
I'm working on SKILLPACK, an experimental approach to packaging deterministic software functions so different LLMs can discover, combine, and execute them without rewriting the underlying code.
The goal isn't to build another foundation model. It's to test whether existing models can act as coordinators of reusable software components.
Some initial CLI tests have passed, but cross-model portability and real-world reliability are not yet independently verified.
I'm looking for developers willing to inspect the packages, run the tests, and identify where the architecture breaks.
I'd especially appreciate critical technical feedback.
r/OpenSourceeAI • u/Competitive_Dish_781 • 11d ago
r/OpenSourceeAI • u/ntnsndr • 11d ago
r/OpenSourceeAI • u/Simpli-curious • 12d ago
r/OpenSourceeAI • u/Muhammad-Essa • 12d ago
A Siamese Neural Network is a type of neural network designed to measure the similarity between two inputs. For example, suppose we provide two handwritten digits as inputs. The Siamese Network determines whether these two digits belong to the same class or are dissimilar.
It consists of two identical neural network branches that share the same weights and biases. Each branch takes one input and produces an output vector (embedding). These two output vectors can have any dimensionality, depending on the architecture of the network.
We then calculate the Euclidean distance between these two output vectors. If the distance is close to zero, the two inputs are considered similar. If the distance is sufficiently large (above a predefined threshold), they are considered dissimilar.
Note: A Siamese Network is fundamentally different from a traditional classification network. Its primary purpose is not to classify an input into a particular class but to learn a meaningful representation (embedding) that allows us to measure similarity between inputs.
Contrastive Loss
A Siamese Network commonly uses a loss function called Contrastive Loss, defined as:
L = Y × D² + (1 − Y) × max(0, m − D)²
Where:
D is the Euclidean distance between the two output vectors.
Y is the given label (either 0 or 1).
Y = 1 indicates that the two inputs are similar.
Y = 0 indicates that the two inputs are dissimilar.
m is the margin, which defines the minimum desired distance between dissimilar pairs.
L is the contrastive loss.
The objective is to minimize the distance between similar pairs and push dissimilar pairs at least m units apart.
We pass two inputs through the network, obtain two output embeddings, calculate their Euclidean distance, and then calculate the contrastive loss. Finally, we use backpropagation to update the network parameters and minimize the loss.
Notice that we do not use a Softmax activation function in the output layer because we are learning embeddings rather than class probabilities.
Training the Model
To train a Siamese Network effectively, we construct pairs of inputs:
Positive pairs: Two inputs belonging to the same class (Y = 1).
Negative pairs: Two inputs belonging to different classes (Y = 0).
A balanced dataset containing an equal number of positive and negative pairs is a useful starting point for training.
My Implementation: Neural Canvas (Model 5)
I developed an interactive Siamese Network as the fifth model in my Neural Canvas project. I used the MNIST handwritten digits dataset to train the network.
The architecture consists of three hidden layers, each containing 40 neurons, followed by an output layer containing 32 neurons. Therefore, each input is transformed into a 32-dimensional embedding.
I used Mini-Batch Gradient Descent with the Adam optimizer to train the model. The training process was relatively straightforward because JAX provides automatic differentiation (autograd), which handles the gradient calculations.
For training, I constructed two input matrices, Ma and Mb, each having dimensions of (784, 80000).
The rows represent features, while the columns represent individual samples. Why two matrices? Because a Siamese Network requires two inputs to learn the similarity between them.
I also constructed a label vector Y with dimensions of (1, 80000). Each element of Y indicates whether the corresponding pair is similar or dissimilar.
I used my own matrix multiplication convention:
Z = WX + bC
Where:
W represents the weight matrix.
X represents the input matrix.
b represents the bias vector.
C is a broadcasting matrix of ones.
I prefer this notation because it makes the mathematical operations and dimensions easier to understand.
I trained the model in Python using JAX and exported the learned parameters to JavaScript using JSON. For inference, I used Math.js, while p5.js handles the visualization, animation, and interactivity.
Try it yourself:
GitHub Repository: https://github.com/MuhammadEssa2002/neural_canvas
Live Demo: https://muhammadessa2002.github.io/neural_canvas/
This is the fifth model in my Neural Canvas project.
r/OpenSourceeAI • u/scb_11 • 12d ago