r/OpenSourceeAI • • Jun 29 '25

Context Engineering

9 Upvotes

"Context engineering is the delicate art and science of filling the context window with just the right information for the next step." — Andrej Karpathy.

A practical, first-principles handbook for moving beyond prompt engineering to the wider discipline of context design, orchestration, and optimization.

https://github.com/davidkimai/Context-Engineering


r/OpenSourceeAI • • Jun 13 '25

Mac silicon AI: MLX LLM (Llama 3) + MPS TTS = Offline Voice Assistant for M-chips

9 Upvotes

hi, this is my first post so I'm kind of nervous, so bare with me. yes I used chatGPT help but still I hope this one finds this code useful.

I had a hard time finding a fast way to get a LLM + TTS code to easily create an assistant on my Mac Mini M4 using MPS... so I did some trial and error and built this. 4bit Llama 3 model is kind of dumb but if you have better hardware you can try different models already optimized for MLX which are not a lot.

Just finished wiring MLX-LM (4-bit Llama-3-8B) to Kokoro TTS—both running through Metal Performance Shaders (MPS). Julia Assistant now answers in English words and speaks the reply through afplay. Zero cloud, zero Ollama daemon, fits in 16 GB RAM.

GITHUB repo with 1 minute instalation: https://github.com/streamlinecoreinitiative/MLX_Llama_TTS_MPS

My Hardware:

  • Hardware: Mac mini M4 (works on any M-series with ≥ 16 GB).

  • Speed: ~25 WPM synthesis, ~20 tokens/s generation at 4-bit.

  • Stack: mlx, mlx-lm (main), mlx-audio (main), no Core ML.

  • Voice: Kokoro-82M model, runs on MPS, ~7 GB RAM peak.

  • Why care: end-to-end offline chat MLX compatible + TTS on MLX

FAQ:

QSnappy answer
“Why not Ollama?”MLX is faster on Metal & no background daemon.
“Will this run on Intel Mac?”Nope—needs MPS. works on M-chip

Disclaimer: As you can see, by no means I am an expert on AI or whatever, I just found this to be useful for me and hope it helps other Mac silicon chip users.


r/OpenSourceeAI • • Apr 11 '25

Together AI Released DeepCoder-14B-Preview: A Fully Open-Source Code Reasoning Model That Rivals o3-Mini With Just 14B Parameters

Thumbnail
marktechpost.com
9 Upvotes

DeepCoder-14B-Preview was released by Together AI in collaboration with the Agentica team. This powerful model was fine-tuned from DeepSeek-R1-Distilled-Qwen-14B using distributed reinforcement learning, and it demonstrates substantial progress in code reasoning. With a performance of 60.6% Pass@1 accuracy on the LiveCodeBench (LCB), DeepCoder-14B-Preview not only closes the gap with leading models like o3-mini-2025 but matches their output, all while using just 14 billion parameters, a notable feat in efficiency and capability.

The release is especially significant considering the benchmarks. DeepSeek-R1-Distill-Qwen-14B scores 53.0% on LCB, and DeepCoder-14B-Preview demonstrates an 8% leap in accuracy compared to its base model. Also, it competes toe-to-toe with established models, such as o3-mini (60.9%) and o1-2024-12-17 (59.5%) in accuracy and coding prowess. Regarding competitive coding metrics, it reaches a Codeforces rating of 1936 and a percentile of 95.3%, which are clear indicators of its real-world coding competence......

Read full article: https://www.marktechpost.com/2025/04/10/together-ai-released-deepcoder-14b-preview-a-fully-open-source-code-reasoning-model-that-rivals-o3-mini-with-just-14b-parameters/

Model on Hugging Face: https://huggingface.co/agentica-org/DeepCoder-14B-Preview

Github page: https://github.com/agentica-project/rllm

Technical details: https://www.together.ai/blog/deepcoder


r/OpenSourceeAI • • Jan 30 '25

Yandex Develops and Open-Sources Perforator: An Open-Source Tool that can Save Businesses Billions of Dollars a Year on Server Infrastructure

Thumbnail
marktechpost.com
9 Upvotes

r/OpenSourceeAI • • Jan 21 '25

Meet ZKLoRA: Efficient Zero-Knowledge Proofs for LoRA Verification

Thumbnail
pxl.to
9 Upvotes

r/OpenSourceeAI • • Jan 16 '25

🚀 Launching OpenLIT: Open source dashboard for AI engineering & LLM data

9 Upvotes

I'm Patcher, the maintainer of OpenLIT, and I'm thrilled to announce our second launch—OpenLIT 2.0! 🚀

https://www.producthunt.com/posts/openlit-2-0

With this version, we're enhancing our open-source, self-hosted AI Engineering and analytics platform to make integrating it even more powerful and effortless. We understand the challenges of evolving an LLM MVP into a robust product—high inference costs, debugging hurdles, security issues, and performance tuning can be hard AF. OpenLIT is designed to provide essential insights and ease this journey for all of us developers.

Here's what's new in OpenLIT 2.0:

- ⚡ OpenTelemetry-native Tracing and Metrics
- 🔌 Vendor-neutral SDK for flexible data routing
- 🔍 Enhanced Visual Analytical and Debugging Tools
- 💭 Streamlined Prompt Management and Versioning
- 👨‍👩‍👧‍👦 Comprehensive User Interaction Tracking
- 🕹️ Interactive Model Playground
- 🧪 LLM Response Quality Evaluations

As always, OpenLIT remains fully open-source (Apache 2) and self-hosted, ensuring your data stays private and secure in your environment while seamlessly integrating with over 30 GenAI tools in just one line of code.

Check out our Docs to see how OpenLIT 2.0 can streamline your AI development process.

If you're on board with our mission and vision, we'd love your support with a ⭐ star on GitHub (https://github.com/openlit/openlit).


r/OpenSourceeAI • • Jan 16 '25

Hands-on experience with the MiniCPM-o 2.6

9 Upvotes

ModelBest recently released their new model: MiniCPM-o 2.6 8B. I tried the online demo, and the model's performance was truly impressive.🤩

This is a demonstration video of mine, where I had the model play the role of a salesperson to introduce the item in my hand. During the demonstration, it not only accurately recognized and introduced the item I held, but I could also interrupt the conversation.


r/OpenSourceeAI • • Dec 28 '24

MarinaBox: Open Source Computer/Browser Sandboxes for AI Agents

9 Upvotes

We're excited to introduce MarinaBox, an open-source toolkit for creating isolated desktop/browser sandboxes tailored for AI agents.

Over the past few months, we've worked on various projects involving:

  1. AI agents interacting with computers (think Claude computer-use scenarios).

  2. Browser automation for AI agents using tools like Playwright and Selenium.

  3. Applications that need a live-session view to monitor AI agents' actions, with the ability for human-in-the-loop intervention.

What we learned: All these scenarios share a common need for robust infrastructure. So, we built MarinaBox to provide:

• Containerized Desktops/Browsers: Easily start and manage desktop/browser sessions in a containerized environment.

• Langgraph support: Allow your langgraph agents to easily access a computer/browser and use Claude Computer Use

• Seamless Transition: Develop locally and host effortlessly on your cloud in production.

• SDK/CLI for Control: Native support for computer use, browser automation (Playwright/Selenium), and session management.

• Live-Session Embedding: Integrate a live view directly into your app, enabling human-in-the-loop interactions.

• Session Replays: Record and replay sessions with ease. 

Check it out:

Documentation:https://marinabox.mintlify.app/get-started/introduction 

Main Repo:https://github.com/marinabox/marinabox 

Sandbox Infra:https://github.com/marinabox/marinabox-sandbox

We’ve worked hard to make the documentation detailed and developer-friendly. For any questions, feedback, or contributions:

 Email: [email protected]

Let us know what you think, and feel free to contribute or suggest ideas!

We built this in about 10 days and a large part of the code and docs were generated using AI. Let us know if something is wrong. We would love your feedback.

PS: The above version allows you to run locally. We are soon releasing self hosting on cloud.


r/OpenSourceeAI • • Dec 07 '24

Subscribe to our newsletter to get trending AI research and dev updates

Thumbnail
airesearchinsights.com
9 Upvotes

r/OpenSourceeAI • • Dec 04 '24

We've recently launched our Small Language Model Magazine/Report! 📰 Here's a sneak peek into the SLM Families like Google Gemma, H2O Danube, Microsoft Phi, IBM PowerLM, and more. [Download the E-Copy 🌐👉 ]

Thumbnail
marktechpost.com
9 Upvotes

r/OpenSourceeAI • • Nov 04 '24

Meet Hertz-Dev: An Open-Source 8.5B Audio Model for Real-Time Conversational AI with 80ms Theoretical and 120ms Real-World Latency on a Single RTX 4090

Thumbnail
marktechpost.com
9 Upvotes

r/OpenSourceeAI • • Oct 24 '24

Here is a really interesting AI Webinar on how to increase inference throughput by 4x and reduce serving costs by 50% with Turbo LoRA, FP8, Speculative Decoding and GPU Autoscaling. In this webinar, you’ll learn how to speed up deployments, improve reliability, and reduce costs. [Oct 29, 2024]

Thumbnail go.predibase.com
9 Upvotes

r/OpenSourceeAI • • Oct 18 '24

Microsoft Open-Sources bitnet.cpp: A Super-Efficient 1-bit LLM Inference Framework that Runs Directly on CPUs

Thumbnail
marktechpost.com
9 Upvotes

r/OpenSourceeAI • • 13d ago

I built an open-source, AI-powered job search and application tracker that runs locally

8 Upvotes

Like many developers, I'm currently looking for a new job and have applied to quite a few positions. But it's hard to keep track of every application. It's also not easy to find relevant job openings that match your requirements.

So, I built a tool that runs locally and uses your AI agent to thoroughly search for job openings that match your profile.

Once you start applying, you can keep the confirmation emails in Gmail, and the tool will use your email history to detect and track the status of each application automatically.

What can it do?

  • Build your profile from your CV: Upload your CV and let an AI agent extract your experience, target roles, preferred locations, seniority, and keywords.

  • Discover relevant jobs: Ask an AI agent to search the web for openings matching your profile.

  • Verify job postings: Every discovered job link is checked, so you can distinguish working links from expired or unavailable postings.

  • Track applications: Keep track of the jobs you've saved and applied to, along with their application status.

  • Sync with Gmail: Let your agent look for application confirmations, interview invitations, rejections, and other updates. It proposes changes, but you decide what gets accepted.

  • Monitor your progress: A dashboard gives you an overview of your job search and application journey.

A few things I wanted to get right

  • Everything runs locally on your machine.

  • Data is stored in a local SQLite database.

  • You can use Claude Code, Codex, or a custom agent command.

  • You can create multiple profiles for different types of job searches.

  • You're always in control: Gmail sync suggests changes rather than silently modifying your applications.

The application is still evolving, and there's plenty more I'd like to improve.

Try it

Requires Node.js 22 or newer.

npx job-applications-tracker

The application starts locally and opens in your browser.

Links:

I'd love to hear your feedback, and thanks for checking it out!


r/OpenSourceeAI • • Nov 01 '26

DeepSeek open-sources dsh-superagent, a Router-Worker coding agent prototype for GitHub (p95 task time 15.7 min vs 29.5 min, self-reported)

Post image
8 Upvotes

r/OpenSourceeAI • • Oct 31 '26

I open-sourced a language model trained only on sentences strangers pay to add. Weights, data and code are CC0.

8 Upvotes

brAIAIn is a word trigram model, not a neural net. Every version is trained on twelve founding lines, every paid sentence so far, and some text the previous version wrote. Each new sentence triggers a retrain, a numbered release, and a sync to Hugging Face.

Current version: 103 words of vocabulary, 350 parameters. Self-reported scores: 0% on GSM8K, 36.7% on TruthfulQA (picking the longest answer every time scores 36.8%).

Weights, sampler and full training data: huggingface.co/braiain-lab/brAIAIn-0
Chat with every version in the browser: braiain.com

It’s a parody of frontier AI labs, but nothing is faked. Happy to answer questions about the retrain pipeline (it all runs on GitHub Actions, no server).


r/OpenSourceeAI • • Oct 28 '26

MiniMax open-sources MCode Stack, the SKILL.md agent skills behind MiniMax Code (17 skills, MIT)

8 Upvotes

r/OpenSourceeAI • • Oct 25 '26

AI Code Rating - Three simple characters that tell a reader who maintains a project, how much of its code is written by AI, and how closely a human checks the AI's work

8 Upvotes

I've been thinking a lot about how to be upfront about AI use in open source without it turning into an argument every time, so I put together a simple standard for it.

An AI Code Rating is three characters, like A2b, kept in an ACR.md file at the root of a repo.

- The letter is the maintainer's expertise, from A (expert) to E (non-programmer)
- The number is how much of the code AI wrote, from 0 (none) up to 4 (76–100%)
- The last letter is how closely a human checks the AI's work, from a (verified) to e (unchecked)

So A2b means an expert maintainer, 26–50% of the code written by AI, and every AI change reviewed before it's merged. A project with no AI code gets a 0 and an a, like A0a.

The goal isn't to judge whether AI use is good or bad, it's to let people see, at a glance, what they're looking at and decide for themselves.

The site has the full spec, examples, an FAQ, a form to work out your rating, and a validator for ACR.md files. There's also a GitHub Action that checks the file in CI. The spec is CC BY 4.0 and the site code is MIT.

In the spirit of the thing, the site itself is rated B4b. AI wrote most of the code, and I review every change.

It's still an early draft (spec 0.1), so I'd really appreciate feedback, especially from people who think it gets something wrong.

https://aicoderating.com


r/OpenSourceeAI • • Oct 24 '26

NVIDIA releases Nemotron 3.5 Bolt E4B 4GB, an open Gemma 4 E4B post-train for local voice and game agents (leads 15 of 21 benchmarks, self-reported)

Post image
8 Upvotes

r/OpenSourceeAI • • Oct 19 '26

NVIDIA open-sourced the entire Run:ai platform (Apache 2.0): KAI Scheduler, CUDA 13.4-native GPU fractioning, quotas, UI, and a local dev env that runs on 8 simulated GPUs

Post image
8 Upvotes

r/OpenSourceeAI • • Oct 13 '26

[UPDATE] I Built a O(NlogN) attention system that retains 97% accuracy over long context (MQAR)

Thumbnail
github.com
8 Upvotes

ALHR- Adaptive learnable Hierarchical Routing is a static binary tree based system that uses learnable functions to REDUCE the amount of keys used.
It takes less memory and SCALES much better VRAM with tokens

Result table is here: https://ibb.co/prr07Dnj


r/OpenSourceeAI • • Oct 05 '26

I’m building OpenKyrozen, an agent that only learns from verified outcomes over the past few months. And I'm happy to say that I FINALLY finished it!

8 Upvotes

I’ve been working on an open-source local-first agent called OpenKyrozen.

That idea started from the beginning of 2026, the time when openclaw had just came out 2-3 months. I tried open claw and then I realized that at that time, open claw remembers things when I asks it to remember, but it cannot learn by itself. So I started OpenKyrozen, trying to build a self learning agent. Then last month, type safe AI lunched their Jev, which inspired me to integrate them into decisions so that LLM works better.

One thing I kept running into was that agents are very quick to treat “the tool call succeeded” as “the task succeeded.” Those are obviously not the same thing. They don't often verify their result, like we say they have no syntax error or runtime error, but logic errors.

A command can exit with code 0 and still produce the wrong result. So I ended up making verification a first-class part of the agent loop instead of just checking whether the action executed.

and so the rough flow is:

request → action → execution receipts → evidence review → verified outcome

The second part I’ve been experimenting with is self-learning, the original idea of OpenKyrozen.

I didn’t want the agent to just see one successful run and immediately treat that as a new behavior. Instead, learning artifacts are bounded policies or skills. A new one starts as a candidate, gets tested as a canary, needs multiple verified successes, and is then replayed against its predecessor on the same case. If it regresses, it doesn’t get promoted. If a promoted artifact later starts failing, it can rollback to the previous version. This is also one of the biggest problem when I used open claw, it builds something into a skill before I verify it, so it is filled with wrong memories.

There’s also a separate decision layer called Jev. You can know more about it from Typesafe AI, but basically it's a AI that makes decisions. It only handles small typed judgments like routing, clarification, memory relevance, learning-evidence review, and suspicious tool output. It can also abstain instead of forcing a decision. So it can't code.

I’m still figuring out where the right boundary is between “useful learning” and “too much machinery.” The current system is deliberately conservative because I’d rather have the agent refuse to learn than silently reinforce bad behavior.

Repo:
github.com/EvanProgramming/OpenKyrozen

I also let OpenKyrozen build a website for itself

kyrozen.chat

I also made a short launch video that explains the overall system visually(And yes this video is made of AI, since I only used DaVinci Resolve but not After Effects):

I am writing this post especially to developers, I want feedbacks SOOO much! As you can see currently the repo only have 2 stars and 1 fork :( because I didn't tell anyone about it before. I like issues and PRs, you can also leave comments under to tell me any issues you found. star it if you like!


r/OpenSourceeAI • • Sep 29 '26

Suggestions on Text extraction

8 Upvotes

Hi All, I need to extract the text from printed text and hand written text. I suggested my manager that we can use paddle ocr and and other extraction models like Surya OCR and florance VL it take around 10 to 15 Sec and it needs good computation as well. but my manager expects it should be very fast and in 2 to 5 sec response and should not need any maintainace of infrastructure. so I tried to use the AWS VLM models but it takes around 10seconds he still needs more faster models and also the cost for extracting the data from the image should be less than 1 Ruppe. Could you please suggest me what to do and how to extract the data from images very very effectively and accuratly and in a structured way


r/OpenSourceeAI • • Sep 11 '26

Jack Kernel Qwen Edition release

Thumbnail
github.com
8 Upvotes

It's here.

Jack Kernel for programmable agentic work.
The magic is that the layer sits between the agent and the model. You can build incredible things because of that.

I have a mode called "Agentic" that was designed for context management with Qwen 3.8 27. I've run millions of token jobs....and never needed to compact. I have a full log available to read and verify. In fact, I recommend turning auto-compact off because most agent don't know how to handle it, yet. There's also a looping debugger that I've built as a 6 stage autonomous loop with cascading temperatures, standard mode and DEEP.

Remember, the modes I’m shipping with this release are only examples of what is possible by putting it between the agent and the model. It allows you a new level of control. The modes I’ve put in are NOT the work. Everything that’s possible is the real work.

I built this for Qwen 3.8 27b but I’ve spent the past few days optimizing for a wide range of models. I’m ALMOST satisfied with Qwen 3.5 9b but it’s right in the edge.

After using 60 models in the past week, I’m just going to go ahead and make a blanket statement that fine tunes are garbage and only use Unsloth as your source for alternatives.

Jack Kernel is really cool. Claude can kick rocks.

Oh, Reddit trolls…
Yall need to understand…I’m just a 40 year old broke single Dad that’s sharing his work and trying to contribute to the local AI movement.
Before the hive-mind issues your directive, just know that I’m not a lab or someone with resources that you’re attacking.
I’m just a regular guy with a 5070ti in an Acer.
If you’re going to say that I suck, can you at least try it out and tell why I suck.