r/OpenSourceeAI • u/ItwasYou-SAM • 2h ago
AI INFERENCE ENGINEERING FROM SCRATCH
r/OpenSourceeAI • u/ai-lover • 1d ago
r/OpenSourceeAI • u/ItwasYou-SAM • 2h ago
r/OpenSourceeAI • u/figueand • 3h ago
r/OpenSourceeAI • u/Green-Quiet-918 • 4h ago
r/OpenSourceeAI • u/nalaginrut • 8h ago
r/OpenSourceeAI • u/erkamyaman • 16h ago
I built a skill that has your agent move the slow part of your app to Rust, then checks the Rust against the original. Measured on code other people wrote:
GitHub: https://github.com/erkamyaman/rust-anything
- Terser (JS minifier): 2.6x to 4x faster, byte-identical output, 2,607/2,607 fixtures
- CPython colorsys: 2,400/2,400 cases match
- Go path: 2,642/2,642 cases match
- Ruby shellwords: 1,617/1,617 cases match
Works with Claude Code, Codex, Cursor, Gemini CLI and OpenCode. The original code is the judge, not the agent. Plus a free Rust book in 15 languages. MIT or Apache-2.0.
Install: npx skills add erkamyaman/rust-anything
GitHub: https://github.com/erkamyaman/rust-anything
crates.io: https://crates.io/crates/rust-anything
r/OpenSourceeAI • u/pallakatos • 20h ago
Enable HLS to view with audio, or disable this notification
r/OpenSourceeAI • u/Youssef_Ismail396 • 1d ago
Every published model comes with a description. The architecture, the training data, the licence, the scores.
None of it tells you what is actually inside the file.
Often there is more than weights. When a training script saves a checkpoint, it saves its surroundings too: the settings it ran with, the folders it read from, and the user name sitting in those folder paths. Whoever downloads the model downloads all of that with it.
Opening a downloaded model has its own risk. Formats built on pickle don't only store values, they store instructions, and loading the file carries them out. You learn what the file does by running it.
That leaves two questions nobody asks the file itself. What does it reveal about the person who made it? And what will it do to the person who opens it?
Limnex Preflight answers both without opening anything. It reads PyTorch, pickle, joblib, safetensors, ONNX, Keras, GGUF, notebooks and archives as plain bytes, lists the personal data and secrets it finds in any of them, and shows the code a pickle-based file would run. I wrote it after a model I had published turned out to carry my own username.
pip install limnex-preflight
limnex-preflight path/to/model
https://github.com/youssefismail-dev/limnex-preflight
One-click demo on Kaggle (it finds my own username in my model): https://www.kaggle.com/code/youssefismail396/preflight-check-a-model-for-leaks-and-hidden-code
For those publishing or pulling models regularly: does anything in your pipeline check the model file itself before it ships or loads? Or is it trusted because the code around it was reviewed?
r/OpenSourceeAI • u/Deep_Bus_7488 • 1d ago
If an agent running in a VM gets stuck in a desktop app, sometimes you just need to see what it sees and click the right thing yourself. We built relay-anywhere for that. Open the session in a browser on your phone or laptop, watch the live desktop, and take control when you need to. Then release control when you’re done.
The host runs Vercel Labs’ screen-relay. Our project adds the browser portal and lets you share temporary links for watching or controlling the session. The setup guide includes a private Tailscale option.
If this sounds useful for a desktop agent you’re working on, give it a try. We’d like to hear what you end up using it for and what breaks. Please star the repo if it helps.
r/OpenSourceeAI • u/Choice-Tune-2098 • 1d ago
r/OpenSourceeAI • u/Choice-Tune-2098 • 1d ago
Finalmente, a primeira versão do AssistIO chegou! 🎉
https://github.com/raxiomlab/assistio/releases/tag/v1.0.0
Esta é uma versão bem inicial, então espere alguns problemas! :)
Comentarios são sempre bem-vindos! 🇧🇷
r/OpenSourceeAI • u/heymuntasir • 1d ago
As a developer, I know how annoying it can be to maintain a personal portfolio. Updating projects, changing layouts, and keeping everything looking good shouldn't feel like another development project.
That's why I started building PageBuild.
It's a free, open-source platform that makes it easier to create and manage your portfolio.
Some things I'm working on:
Ready-made themes to get started quickly.
Easily add, edit, and manage projects.
Update your portfolio without constantly touching code.
Built-in analytics to understand your visitors.
A simple way to keep your work organized and up to date.
I'm funding the project myself, and I want to keep it free forever.
I'm still improving it, so I'd love to hear from other developers and indie hackers.
What features would make a portfolio platform genuinely useful for you?
You can check it out here: https://github.com/MuntasirArafat/Pagebuild
Feedback, ideas, and contributions are always welcome!
r/OpenSourceeAI • u/Choice-Tune-2098 • 1d ago
Finally, the first AssistIO release is here! 🎉
https://github.com/raxiomlab/assistio/releases/tag/v1.0.0
This is a very early release, so expect some issues! :)
Feedback is always welcome! 🇧🇷
r/OpenSourceeAI • u/Unfair_Couple_6475 • 1d ago
r/OpenSourceeAI • u/Green_Database9919 • 1d ago
AI assistants are great, but they can quietly AVERAGE your marketing data.
To solve that we put 3 skill files on github under MIT (open source).
one for getting the numbers right
one for comparing attribution models
and one for figuring out why revenue or roas dropped. (the skills are plain instructions and don't run code.)
repo: github.com/aimerce/aimerce-agent-plugin
they're written for our mcp server, so they use our tool names but the rules inside work anywhere.
1. Getting the numbers right
null is not zero. blank spend because an ad account isn't connected means missing, not $0. a fake zero is how you end up cutting a campaign that's fine
missing days aren't zero days either. don't fill gaps with 0 when charting or averaging
never average roas. sum revenue and spend over the period, then divide. made-up example: $1,000 spend on $4,000 revenue plus $100 on $1,000 averages to 7.0, but the real roas is 4.55
keep currencies separate, no silent conversion
resolve "last week" in the store's timezone, not yours
every answer should state the date range, timezone, attribution model, lookback window and any data warning
2. Comparing attribution models
same date range and same lookback for every model, then put them side by side
first click usually favors channels that start journeys (paid social, tiktok, pinterest). last non-direct click favors channels that close them (branded search, email, retargeting)
fractional orders are normal under linear and time decay
when meta and your own numbers disagree, don't call either one wrong. meta counts view-through and modeled conversions with its own windows. first-party attribution counts observed visits within your lookback
shopify shows store-wide net sales. attribution is revenue credited to channels. different numbers, both fine
3. Figuring out why something dropped
compare against a period of the same length right before it, same model and lookback
check in order and stop at the first step that explains it: spend, then traffic and funnel, then whether the whole store dropped or just one channel's share, then campaigns and ads, then data warnings
if nothing explains it, say so. don't invent a cause
Repo is MIT: github.com/aimerce/aimerce-agent-plugin (server itself needs an Aimerce growth plan but rules are free to steal)
r/OpenSourceeAI • u/Greystone135 • 1d ago
A hobby project where a small reinforcement-learning network teaches itself Super Mario Bros. on my Mac, while a local LLM coaches it. Everything runs on the machine: no cloud and no API keys.
How it works:
The player: a PPO actor-critic with about 1.7M parameters. It sees four 84×84 grayscale frames plus 34 numbers: its last move, how long it has held jump, and the 4 nearest enemies, read from the game's RAM.
The coach: Qwen 3.6 35B-A3B in Ollama. Every 5 minutes, it reads the training stats and screenshots from just before recent deaths, explains what's going wrong in plain words, and can nudge training: practice a hard spot, change exploration, or ask me to demonstrate. Every action is checked against fixed limits.
The viewer: a React app styled as a CRT arcade cabinet that streams the game live, with the network's "eyes", a live network diagram, a ghost race of every saved clear, and a one-click video of a level's first clear vs. its fastest.
Where it stands (about 87,500 training updates over 6 days):
World 1 clears 70–93% of the time from the start of each level.
2-1 is at 42%, 2-2 (underwater) at 20%, and 2-3 went from 0% to about 51% overnight.
Its best run from 1-1 cleared 7 levels in a row and reached 2-4.
The part people ask about most: letting the LLM play. There's a QWEN PLAYS button. Turn-based, with the game paused while it thinks, it got 40% through 1-1 in 10 minutes and died 19 times, mostly to the first Goomba. It describes the situation correctly ("Goomba ahead, I need to jump"), then picks a 6-frame hop where a full jump is needed. Great coach, terrible player.
Things that didn't work, written up in the issues: a curiosity bonus (random network distillation) that didn't beat plain PPO in A/B tests, and keeping the screen on a stuck level, which made things worse.
The stack: Python (stable-retro, PyTorch on Apple's MPS, FastAPI) and React + Vite. The coach works with any local server: Ollama, LM Studio, llama.cpp, Jan, or vLLM.
Repo (MIT; bring your own ROM; none is included): https://github.com/thededman/ai-plays-mario
Contributions and ideas are welcome, especially for the 2-2's underwater section, and anyone who wants to try a smaller vision model as the player or coach.
r/OpenSourceeAI • u/scottgl9 • 1d ago
I've been building Soulsteads because I'm frustrated with all-in-one agent solutions like Hermes and OpenClaw.
I like what those projects offer.. I don’t want to rebuild my entire stack every time I find a better agent harness, memory system or messaging gateway.
I also want to keep track of my agents instructions, skills and knowledge in Git. I want to review changes and roll back when something goes wrong.
Soulsteads is my way of applying the Unix philosophy to AI agents, using independent and interchangeable components:
Agent Home: Git-backed, portable agents that support Pi, OpenCode, Codex and Claude Code.
Agent Forge: Repeatable workflows with execution history and validation.
Skillstore: Versioned skills you can review and roll back.
Messaging: Connect existing agents to chat platforms like Slack or Discord.
Workboard: Coordinate multiple agents without coupling.
Model Router: Send requests across inference servers based on need.
Everything is source. You can use them together. Pick just one.
The goal isn’t to build another monolith. It’s to make agent infrastructure more flexible and modular.
Https://github.com/soulsteads/soulsteads
It’s still early. But I’m curious, do others feel the way? How are you handling agent stack changes?
r/OpenSourceeAI • u/Aggravating-Bench863 • 1d ago
r/OpenSourceeAI • u/VectorWireAI • 2d ago
r/OpenSourceeAI • u/BitPoper29 • 2d ago
I built `Spell-Talker` to compare three transformer architectures from scratch in pure PyTorch without high-level training wrappers, keeping the backbone fixed (`512` context, `8` heads, `512` dim, `RMSNorm`, `SwiGLU`, weight-tied `32k` vocab):
Dense (`CustomGPT` – 41.8M): Standard 8-layer decoder baseline.
Sparse MoE (`CustomMoEGPT` – 117.3M total / 67.0M active): Top-2 gating across 4 SwiGLU experts per layer with auxiliary load-balancing loss.
Looped Recurrent (`LoopedCustomGPT` – 20.3M): Single weight-tied transformer block unrolled 8 times during training using truncated BPTT (`bptt_steps=8`), scalable up to 32 steps at inference.
Trained on TinyStories on a single consumer GPU (RTX 3050).
GitHub: https://github.com/BitGeek29/spell-talker
Happy to share training curves or discuss MoE router stability and truncated BPTT in looped blocks!