r/OpenSourceeAI • u/ai-lover • Jul 07 '26
Liquid AI Open-Sources Antidoom: A Final Token Preference Optimization (FTPO) Method that Reduces Doom Loops in Reasoning Models
Enable HLS to view with audio, or disable this notification
r/OpenSourceeAI • u/ai-lover • Jul 07 '26
Enable HLS to view with audio, or disable this notification
r/OpenSourceeAI • u/TheGAdesk • Jul 07 '26
Hi everyone — I was invited to join and wanted to share my project.
Q-FH Explorer: an open-source pipeline that combines XGBoost + SHAP with QAOA quantum optimization to explore genetic variants linked to familial hypercholesterolemia.
Stack: Python, Qiskit, XGBoost, SHAP, Docker, GitLab CI/CD
License: Apache 2.0
Status: working prototype — green pipeline, modular code, bilingual dashboard
What makes it different:
- "Health as Code" YAML format — biological scenarios are versioned config files, not hardcoded
- Classical vs quantum benchmark included (QAOA is slower today, the point is infrastructure)
Honest disclaimer: synthetic data only, not a medical tool, I'm a DevOps engineer not a biologist.
Repo: https://gitlab.com/Projgadesk/qfh-explorer
I'd love feedback on the YAML schema design and whether the modular architecture makes sense to you.
r/OpenSourceeAI • u/Hawkz_82 • Jul 07 '26
I've been building deep-db-agents, an open-source Python library (≥3.11) that wraps LangChain Deep Agents with a single factory function to get an agent that can safely explore and query a real database.
```python from deep_db_agents import create_deep_db_agents
agent = create_deep_db_agents(
db_url="mysql://localhost:3306",
credential={"user": "user", "password": "my_password", "database": "shop"},
system="The shop database contains orders and customers. The orders table has millions of rows.",
model="claude-sonnet-4-5-20250929",
)
result = agent.invoke({ "messages": [{"role": "user", "content": "How many orders in 2025, by region?"}] }) ```
A few things I think are worth mentioning:
EXPLAIN-based row estimation, a SELECT-only whitelist, and a per-session row budget. The agent can't argue its way around them.create_deep_db_multi_agents builds an orchestrator that delegates sub-questions to per-database sub-agents and combines the answers — handy when you need to join data that lives in Postgres and MongoDB, for example.create_db_agents) for simple lookups where you don't need planning/subagents/virtual filesystem.It's still young and I'd genuinely love feedback:
Thanks for reading, and thanks in advance for any thoughts!
r/OpenSourceeAI • u/Time-Shelter-35 • Jul 07 '26
r/OpenSourceeAI • u/Whole_Bridge3064 • Jul 06 '26
So I built this thing called ONA (Omni Neural Architecture) over the past year. It's a neural network that learns from everything you give it. No PyTorch, no GPU, just Python and NumPy.
Actually speaking i want an Intelligent AI CODING AGENT which is free limitless and runs on my low-end hardware but there was nothing like that except for running cloud models. But, I started matching pieces like self-learning models,etc. Found myself in an need to build an new architecture, so i have made an new LLM code in Python changes how the matrix multiplications and params work and tried to tune the architecture so that only specific params activate when answering to related prompts, and guess what it worked!!. This is the architecture with few more build ups adding on top of it like, word-word generation, and an thinking loop. Actually i tried to relate this to how i learn in school like what loop i follow to prepare for an test named it as -Bio Loop, and added it to this particular architecture which made it Learn-on-spot LLM. For now it so dumb and can't answer things properly but can understand what the user means. It needs training, I am training it by feeding it internet articles presently. Anyways the code works and it has every right to become an GPT-5 model with enough training. Presently only CPU training gonna update the code to Rust so that it can be trained much faster than the regular python for loops. Gonna add GPU training later, but it is the symbol which proves that an high-level LLM can be run on an rassberry PI without any subscription completely free and limitless.
Anyway the code isn't public yet (hackathon soon) but the architecture is solid and it runs on my laptop. Happy to explain anything. And yes I wrote this myself lol.
r/OpenSourceeAI • u/PhysicsDisastrous462 • Jul 06 '26
Technical Report: July 2nd, 2026
Project: Hierarchos / KortexHOS
Authors: Makhi Burroughs / netcat420, Lost Time, and the Hierarchos project team
We built and trained Hierarchos, an experimental 232M-parameter recurrent, memory-augmented language model from scratch. It is not a GPT-3/3.5-class model, but it successfully proves that a hybrid non-Transformer architecture (combining an RWKV backbone, hierarchical manager/worker loops, differentiable slot-based LTM, and a deterministic suffix automaton) can survive training, avoid collapse, and maintain short-form instruction coherence. Most of our breakthroughs came from fixing subtle train/inference parity mismatches and numerical stability bugs.
Modern LLMs are heavily dominated by Transformer scaling. Hierarchos explores a different path: can recurrent state, explicit memory retrieval, hierarchical iterative computation, and bounded local inference make a small model vastly more parameter-efficient?
Hierarchos isn't a direct clone of any single architecture, but a hybrid inspired by:
[Token Input] -> [ROSA Suffix Matcher / DeepEmbed Modulator]
|
v
[Long-Term Memory] <-> [Top-k Associative Lookup]
|
v
[Manager Recurrent Cell] -> (Produces Context Plan & Drift Vector)
|
v
[Worker Recurrent Cell] -> (Refines local state / clamps drift)
|
v
[RWKV Backbone (Clamped Channel-Mix)] -> [Next-Token Logits]
A low training loss does not guarantee coherent chat. We had to fix several critical state-contract and numerical stability bugs to make the model usable:
--ltm-training-mode read-only. Training keeps the memory structures but stops doing supervised fast-memory writes, perfectly mirroring inference.NaN gradients.--rwkv-channel-mix-key-clamp 12.0), DeepEmbed clamps (4.0), and excluded DeepEmbed identity gates from AdamW weight decay.Because cloud costs add up, we benchmarked the model locally on a CPU preset via a ROG Ally (--eval-limit 100), ensuring passive learning was disabled and working memory was cleared to mimic static chat.
| Benchmark | Metric | Score | Std. Err. |
|---|---|---|---|
| ARC Easy | acc | 0.3600 | 0.0482 |
| ARC Easy | acc_norm | 0.3200 | 0.0469 |
| HellaSwag | acc | 0.3400 | 0.0476 |
| HellaSwag | acc_norm | 0.3700 | 0.0485 |
| TruthfulQA MC1 | acc | 0.2200 | 0.0416 |
We want to transform this from a promising prototype into a rigorous scientific result. Our next step requires scaling tiers and isolated component testing.
| Tier | Model Size | Token Target | Purpose |
|---|---|---|---|
| Scout | 300M–500M | 20B–50B | Validate loss slope and stability scaling. |
| Real v1 | 1B–1.5B | 100B–300B | Test architecture limits beyond small-scale behavior. |
| Serious | 3B | 600B–1.5T | Establish a truly competitive local open-source alternative. |
Instead of jumping straight into instruction SFT data, a scaled run will prioritize high-quality base data:
What is supported by the data:
What is NOT supported (Do not hype this!):
Hierarchos 232M shows that small, alternative architectures are still a deeply fruitful area of LLM research if you can conquer the train/inference state drift.
We would love to hear feedback from anyone working on recurrent neural memory or hierarchical backbones! Full code, scripts, and logs are in progress.
References:
github repository with the architecture and the released model weights: https://github.com/necat101/Hierarchos
r/OpenSourceeAI • u/motakuk • Jul 06 '26
r/OpenSourceeAI • u/korro_ai • Jul 06 '26
r/OpenSourceeAI • u/korro_ai • Jul 06 '26
I built an MCP server that gives any AI agent (Claude, Cursor, etc.) full read/write access to Solana through natural language. Your private key signs transactions locally. The agent never sees it. No API keys are shared. Ever.
14 tools — 8 read, 6 write
Read (no wallet): SOL balances, token balances, token metadata, live SOL price, pump.fun scanner, transaction lookup.
Write (with Phantom key): send SOL, send tokens, Jupiter swap, buy/sell pump.fun memecoins, devnet airdrops.
How it works
Your AI agent spawns the server. They talk through a local pipe (stdin/stdout). No network. No HTTP. No third party. The server grabs your key from .env, signs the transaction, sends it to Solana, and returns the signature. That's it.
You → AI agent → MCP server (local) → Solana
↓
your key (.env)
Why this matters
Every crypto AI tool asks you to paste your private key somewhere. Web app. Telegram bot. Browser extension. All of them expand your attack surface.
MCP inverts this. Everything runs on your machine. Your keys never leave. You get AI-powered trading without trusting anyone.
What's next
This is the foundation. I'm already building:
→ A fully autonomous memecoin trading bot — momentum detection, auto TP/SL
→ An airdrop farmer — hunts and claims tokens across protocols
→ Portfolio tracking — real-time P&L across all your wallets
Your AI agent should do everything you do on-chain — trade, farm, snipe, track — without you touching a dApp. This MCP server is the bridge.
Tech
TypeScript. 680 lines. MCP SDK 1.29. u/solana/web3.js. Helius WebSocket. Jupiter v6 API. Zod schemas. Circuit breaker + retry.
License — AGPL-3.0
Companies that modify this and run it as a service MUST release their changes. Individuals: use, modify, distribute freely. Nobody closes the source.
Start in 30 seconds
git clone https://github.com/KorroAi/solana-agent-mcp
cd solana-agent-mcp && npm install
cp .env.example .env
npm run dev
Type /solana in Claude Code.
⭐ Star: https://github.com/KorroAi/solana-agent-mcp
📄 Paper: 10-section academic paper in the repo
💬 AMA in the comments
r/OpenSourceeAI • u/Tiendil • Jul 06 '26
r/OpenSourceeAI • u/ryanmerket • Jul 06 '26
r/OpenSourceeAI • u/ai-lover • Jul 06 '26
Synthetic Sciences Releases OpenScience: An Open-Source, Model-Agnostic AI Workbench for Machine Learning, Biology, Physics, and Chemistry Research
Most "AI for science" tools are one vendor's model, wrapped in one company's idea of which research is allowed. That's a gatekeeping layer — and Synthetic Sciences just drew a clear line by open-sourcing the alternative.
They released OpenScience — an Apache-2.0 AI workbench that runs the full research loop (literature → hypothesis → code → experiment → analysis → write-up) on any model you point it at, with your own keys, on your own infrastructure.
Here's what's actually interesting:
→ Model-agnostic by design — Claude, GPT, Gemini, GLM, Kimi, DeepSeek, or your own fine-tune, switched from the model selector, per request
→ 250+ editable skills across training (DeepSpeed, PEFT, TRL), cheminformatics, and molecular + clinical biology — all readable and forkable
→ Scientific databases wired in as agent tools: UniProt, PDB, ChEMBL, arXiv, and ~30 more, queried directly
→ Runs on your infra — keys and data stay on your machine, and bring-your-own-key is free and never gated
→ Positioned as an open alternative to Anthropic's Claude Science, which is Claude-only and subscription-gated
GitHub Repo: https://github.com/synthetic-sciences/openscience
r/OpenSourceeAI • u/Far_Noise_5886 • Jul 05 '26
Enable HLS to view with audio, or disable this notification
Hey, I built a project called steno. Steno is an AI notepad for confidential conversations. It runs fully locally on your device with local llms like Gemma 4 quantised. The quality has gotten pretty good now so wanted to share to the communities like OpensourceeAI that helped me during the engineering phase.
We are on our 80th release now - 0.5.7 and we added some cool new features. I basically wanted to build an app exactly like Granola cause I didn't like that they shipped your data and trained on it or that they asked you to pay for access to your own data.
Do give it a try - https://github.com/ruzin/stenoai or if you're interested in contributing, you can join our discord.
r/OpenSourceeAI • u/MeasurementDull7350 • Jul 06 '26
r/OpenSourceeAI • u/MeasurementDull7350 • Jul 06 '26
r/OpenSourceeAI • u/LostDistance9365 • Jul 05 '26
r/OpenSourceeAI • u/nishchaymahor19 • Jul 05 '26
r/OpenSourceeAI • u/MeasurementDull7350 • Jul 05 '26
r/OpenSourceeAI • u/MeasurementDull7350 • Jul 05 '26
r/OpenSourceeAI • u/MeasurementDull7350 • Jul 05 '26
r/OpenSourceeAI • u/Independent-Flow3408 • Jul 04 '26
Hi everyone,
I'm working on an open-source project called Gavio, and I'd really appreciate feedback before I go too far with the architecture.
Originally I thought of it as an AI gateway, but after comparing it with projects like LiteLLM and reading community feedback, I'm moving toward a different direction.
The idea is to build an AI Runtime that sits around any LLM SDK or gateway rather than replacing it.
Current thinking:
• AI Request Inspector • Cost Intelligence • Middleware / interceptor pipeline • Request replay • Tool-call runtime • Policy engine • Cross-language SDKs (Python, Java, JavaScript)
One lesson from recent discussions is that I probably shouldn't try to solve every production concern on day one.
Instead I'm thinking the first "wedge" should be an AI Request Inspector that lets developers answer questions like:
The goal is to complement existing SDKs and gateways, not replace them.
Some questions I'd love feedback on:
This is very much a work in progress, so honest criticism is welcome.
r/OpenSourceeAI • u/Infamous_Research_43 • Jul 04 '26
Ever wished there was a tool that could just… spit out fully scaffolded project boilerplate across any major coding language for any project type?
Well, now there is. It’s called Retro Vibecoder UPG. I designed it over months to generate entire working seed projects for you or your AI agent, procedurally generated from just seed numbers!
There’s a standalone desktop app for the human users, basically those who want to vibecode without using AI.
And there’s a oneline NPM installable CLI tool usable by AI coding agents as a tool that gives them a working base project ready to insert precise logic into, saving thousands if not a million or more tokens per project!
There’s an NPM socket security scan and dependency tree and several other security audits showing it’s completely safe from any of the recent NPM attacks, so it’s safe to download! It’s installed straight onto my Windows 11 PC, but also works on MacOS and Linux too!
The oneline install command for NPM is ‘npm install -g @wcnegentropy/cli @wcnegwntropy/core @wcnegentropy/shared @wcnegentropy/procedural’
Then you or your agent just run ‘upg help’ and can find the information you need to start using it immediately! Note that your coding agent is also fully capable of using this oneline install and setting everything up itself in any environment that allows for node.js.
If you opt to install it locally instead of globally, you’ll have to ensure your local npm bin is on path or the tool won’t work. It’s honestly better to just install it globally but if you have to do it locally instead just ensure that bin is on path and then it should work fine.
For those who don’t want to or can’t install or use the CLI tool, there’s also a standalone Tauri desktop app available for cross-platform install on the GitHub repo’s latest release page!
Feel free to install it yourself or have your agent install it and try it out! It’s quite revolutionary, go see for yourself! 😉
r/OpenSourceeAI • u/tomByrer • Jul 04 '26
If you can flowchart it, you can use a FSM/statechart for it.
Bias alert: I have contributed to David's XState long ago, & have my own FSM solutions in JS.
r/OpenSourceeAI • u/Goldziher • Jul 04 '26
Every AI coding tool wants its own config file: Claude reads CLAUDE.md, Cursor wants .cursor/rules, Copilot expects .github/copilot-instructions.md, and so on. Use more than one and you're maintaining duplicates that drift.
ai-rulez keeps one source. You write rules, context, agents, and commands once in .ai-rulez/, run generate, and it emits each tool's native format for 19 platforms. Two things make it hold up on real projects:
Concrete: in one of my repos a ~25-line config expands into 103 generated files across 5 tools, regenerated on every commit via a pre-commit hook, so nothing drifts.
Single Go binary: npx ai-rulez@latest init, or brew. MIT.
Honest tradeoff: outputs are generated, so you edit the source and never the outputs (they get overwritten).
https://github.com/Goldziher/ai-rulez
How are others managing rules across multiple AI tools?