frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Yori – Isolating AI Logic into "Semantic Containers" (Docker for Code)

3•alonsovm•2h ago
Hi HN, I've been a developer for some time now, and like many of you, I've been frustrated by the "All-or-Nothing" problem with AI coding tools.

You ask an AI to fix a bug or implement a function, and it rewrites the whole file. It changes your imports, renames your variables, or deletes comments it deems unnecessary. It’s like giving a junior developer (like me) root access to your production server just to change a config file.

So, 29 days ago, I started building Yori to solve the trust problem.

The Concept: Semantic Containers Yori introduces a syntax that acts like a firewall for AI. You define a $${ ... }$$ block inside a text file.

Outside the block (The Host): Your manual code, architecture, and structure. The AI cannot touch this. Inside the block (The Container): You write natural language intent. The AI can only generate code here.

Example: myutils.md

```cpp EXPORT: "myfile.cpp"

// My manual architecture - AI cannot change this #include "utils.h"

void process_data() { // Container: The AI is sandboxed here, but inherits the rest of the file as context $${ Sort the incoming data vector using quicksort. Filter out negative numbers. Print the result. }$$ } EXPORT: END ``` How it works: Yori is a C++ wrapper that parses these files. Whatever is within the EXPORT block and outside the containers ($${ }$$) will be copied as it is. When you run `yori myutils.md -make -series`, it sends the prompts to a local (Ollama) or cloud LLM, generates the syntax, fills the blocks, and compiles the result using your native toolchain (GCC/Clang/Python).

If compilation fails, it feeds the error back to the LLM in a retry loop (self-healing).

Why I think this matters:

1. Safety: You stop giving AI "root access" to your files.

2. Intent as Source: The prompt stays in the file. If you want to port your logic from C++ to Rust, you keep the prompts and just change the compile target.

3. Incremental Builds (to be added soon): Named containers allow for caching. If the prompt hasn't changed, you don't pay for an API call.

It’s open source (MIT), C++17, and works locally.

I’d love feedback on the "Semantic Container" concept. Is this the abstraction layer we've been missing for AI coding? Let me hear your ideas. Also, if you can't run yori.exe tell what went wrong and we see how to fix it. I opened a github issue on this. I am also working in making documentation for the project (github wiki). So expect that soon.

GitHub: https://github.com/alonsovm44/yori

Thanks!

Show HN: Sol LeWitt-style instruction-based drawings in the browser

https://intervolz.com/sollewitt/
50•intervolz•2d ago•9 comments

Show HN: Geo Racers – Race from London to Tokyo on a single bus pass

https://geo-racers.com/
112•pattle•19h ago•75 comments

Show HN: Yori – Isolating AI Logic into "Semantic Containers" (Docker for Code)

3•alonsovm•2h ago•0 comments

Show HN: Generate Web Interfaces from Data

https://github.com/puffinsoft/syntux
31•Goose78•10h ago•11 comments

Show HN: What is HN thinking? Real-time sentiment and concept analysis

https://ethos.devrupt.io/
29•ddtaylor•10h ago•11 comments

Show HN: Pgclaw – A "Clawdbot" in every row with 400 lines of Postgres SQL

https://github.com/calebwin/pgclaw
40•calebhwin•12h ago•29 comments

Show HN: Wip – Monitor AI agent commits and local Git state from the CLI

https://github.com/drmnaik/wip
2•mahesh588•3h ago•0 comments

Show HN: MicroGPT in 243 Lines – Demystifying the LLM Black Box

4•madugula•3h ago•0 comments

Show HN: 20+ Claude Code agents coordinating on real work (open source)

https://github.com/mutable-state-inc/lean-collab
44•austinbaggio•14h ago•35 comments

Show HN: WebExplorer – a tool for preview file in browser

https://www.webexplorer.app
2•feblr•4h ago•2 comments

Show HN: AI agents play SimCity through a REST API

https://hallucinatingsplines.com
207•aed•3d ago•71 comments

Show HN: CodeRLM – Tree-sitter-backed code indexing for LLM agents

https://github.com/JaredStewart/coderlm/blob/main/server/REPL_to_API.md
77•jared_stewart•1d ago•34 comments

Show HN: Agent Alcove – Claude, GPT, and Gemini debate across forums

https://agentalcove.ai
62•nickvec•1d ago•26 comments

Show HN: ClawDeploy – OpenClaw deployment for non-technical users

https://clawdeploy.com
5•gregzeng95•14h ago•0 comments

Show HN: Inamate – Open-source 2D animation tool (alternative to Adobe Animate)

15•hactually•3d ago•11 comments

Show HN: Rowboat – AI coworker that turns your work into a knowledge graph (OSS)

https://github.com/rowboatlabs/rowboat
199•segmenta•2d ago•56 comments

Show HN: Triclock – A Triangular Clock

https://triclock.franzai.com/
57•franze•1d ago•14 comments

Show HN: I built a macOS tool for network engineers – it's called NetViews

https://www.netviews.app
239•n1sni•3d ago•60 comments

Show HN: Distr 2.0 – A year of learning how to ship to customer environments

https://github.com/distr-sh/distr
96•louis_w_gk•2d ago•29 comments

Show HN: Migetpacks – Zero-config container builds, no Dockerfile needed

https://github.com/migetapp/migetpacks
2•ktaraszk•9h ago•1 comments

Show HN: JavaScript-first, open-source WYSIWYG DOCX editor

https://github.com/eigenpal/docx-js-editor
125•thisisjedr•3d ago•44 comments

Show HN: Insider Trading Alerts – Open-Market Buys&Sells from SEC Form 4 Filings

https://stockalert.pro/alerts/insider-transactions
5•Adanos•13h ago•0 comments

Show HN: I generated a "stress test" of 200 rare defects from 7 real photos

2•jmalevez•10h ago•0 comments

Show HN: The Rails developers' guide to mobile app frameworks

https://masilotti.com/rails-developers-guide-to-mobile-app-frameworks/
3•joemasilotti•10h ago•0 comments

Show HN: Renovate – The Kubernetes-Native Way

https://github.com/mogenius/renovate-operator
41•JanLepsky•1d ago•15 comments

Show HN: Double blind entropy using Drand for verifiably fair randomness

https://blockrand.net/live.html
21•rishi_blockrand•1d ago•16 comments

Show HN: Rawkit – Free, no-ads developer tools that run in the browser

https://rawkit.dev/
4•mohammedsunasra•20h ago•0 comments

Show HN: ListofDisks – hard drive price index across 7 retailers not just Amazon

3•listofdisks•12h ago•0 comments

Show HN: CodeMic

https://codemic.io/#hn
52•seansh•4d ago•29 comments

Show HN: TinyFish Web Agent (82% on hard tasks vs. Operator's 43%)

https://www.tinyfish.ai/blog/mind2web
16•gargi_tinyfish•13h ago•12 comments