frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: TXT OS – Open-Source AI Reasoning, One Plain-Text File at a Time

https://github.com/onestardao/WFGY/tree/main/OS
9•TXTOS•7h ago
Hi HN,

I'm excited to share TXT OS — an open-source AI reasoning engine that runs entirely inside a single `.txt` file.

- No installs, no signup, no hidden code — just copy-paste the file into any LLM chat window (GPT, Claude, Gemini, etc.). - +22.4% semantic accuracy, +42.1% reasoning success, and 3.6× more stability (benchmarked on GSM8K and Truthful-QA). - Features Semantic Tree Memory, Hallucination Shield, and fully exportable logic. - MIT Licensed, zero tracking, zero ads.

Why did I build this? I wanted to prove that advanced reasoning and memory could be made open, portable, and accessible to anyone — just with pure text, no software or setup.

A note: I'm from China, and English is not my first language. This post and the docs were partly assisted by AI, but I personally reviewed and approved every line of content. All ideas, design, and code are my own work. If anything is unclear or could be improved, I really welcome your feedback!

I'm the author, and happy to answer any questions or suggestions here!

Comments

ultimateking•7h ago
Really cool project! Quick questions:

1. How does TXT OS store its “Semantic Tree Memory” between sessions? 2. When `kbtest` detects a hallucination, what happens next? 3. Any idea of the speed impact on smaller models like LLaMA-2-13B?

Thanks for sharing—excited to try it out!

TXTOS•7h ago
Semantic Tree Memory

We actually serialize the tree as a compact JSON-like structure right in the TXT file—each node gets a header like #NODE:id and indented subtrees. When you reload, TXT OS parses those markers back into your LLM’s memory map. No external DB needed—just plain text you can copy-paste between sessions.

--- When kbtest Fires

Internally it tracks our ΔS metric (semantic tension). Once ΔS crosses a preset threshold, kbtest prints a warning and automatically rolls you back to the last “safe” tree checkpoint. That means you lose only the bad branch, not your entire session. Think of it like an undo button for hallucinations.

--- Performance on LLaMA-2-13B

Benchmarks were on GPT-4, but on a 13B model you’ll see roughly a 10–15% token-generation slow-down thanks to the extra parsing and boundary checks. In practice that’s about +2 ms per token, which most folks find an acceptable trade-off for the added stability.

Hope that clears things up—let me know if you hit any weird edge cases!

brown2000•5h ago
interesting! Quick question:

does TXT OS work equally well with open-source models, or is it optimized more for models like GPT-4 or Claude?

TXTOS•5h ago
Hey, good question!

I've actually tested TXT OS with about 10 different AIs already—you can check out the full rundown on my repo. Generally, ChatGPT, Grok, Claude, and Perplexity gave the smoothest and best experience. The others still work fine, but some, like Gemini, have minor quirks (Gemini randomly adds a weird parameter during initial setup, but it sorts itself out after the first step).

So, long story short, if you want a hassle-free experience, go with ChatGPT, Grok, Claude, or Perplexity!

yyhhooq•2h ago
could you explain the four math a little bit? Why it can activate AI ?
TXTOS•2h ago
Sure — it’s not about activating AI like magic, it’s about steering its reasoning process.

Each formula plays a role in making the LLM more stable, coherent, and logically self-aware:

• = I - G + mc² defines semantic residue — how far the current output strays from meaning. • BigBig(G) recombines context & error to steer output back toward intent. • BBCR detects collapse and triggers reset → rebirth (like fail-safe logic). • BBAM models attention decay — restoring continuity over multiple steps.

Together, this makes the LLM act less like autocomplete… and more like a self-guided reasoner.

Ask HN: Could the C64 startup screen have encouraged more users to learn BASIC?

1•amichail•1m ago•0 comments

Show HN: An open-source, Android app for discovering privacy-respecting software

https://github.com/kaleedtc/Privacium
1•k_Tc•1m ago•0 comments

Show HN: Make Led Scroller Message

https://ledscroller.org/
1•artiomyak•2m ago•0 comments

What are we missing out on when we think Transformer is unreasonable in biology?

https://dmf-archive.github.io/docs/posts/form-follows-function-2/
1•NetRunnerSu•4m ago•0 comments

Entering a Nuclear Power Plant – Smarter Every Day [video]

https://www.youtube.com/watch?v=cRaKMTK7ea0
1•nodesocket•5m ago•0 comments

Five Lagrange Points Every Project Manager Should Know

https://multiverseemployeehandbook.com/blog/five-lagrange-points-every-project-manager-should-know/
1•TMEHpodcast•7m ago•0 comments

Show HN: Super Launch, a clean and minimal product launch platform

https://www.superlaun.ch
1•adi_hn07•8m ago•0 comments

Show HN: Urban Pipeline for Citywide Insights

https://github.com/Wingscape/urban-pipeline
1•wingscape•10m ago•0 comments

Show HN: Wordrops – A competitive writing platform inspired by League of Legends

https://wordrops.com/
1•samsquared•10m ago•0 comments

Easy dynamic dispatch using GLIBC Hardware Capabilities

https://www.kvr.at/posts/easy-dynamic-dispatch-using-GLIBC-hardware-capabilities/
1•JNRowe•11m ago•0 comments

Earth's Inner Core Is Solid – Not Liquid – Even Though It's Blistering Hot

https://www.discovermagazine.com/the-sciences/earths-inner-core-is-solid-not-liquid-even-though-its-blistering-hot
2•Bluestein•13m ago•0 comments

Pixel Piranhas

https://rybakov.com/blog/pixel_piranhas/
1•spython•13m ago•0 comments

Things Not to Learn as an AI Engineer – By Paul Iusztin

https://decodingml.substack.com/p/3-things-not-to-learn-as-an-ai-engineer
1•rbanffy•13m ago•0 comments

Iranian official claims Israel used 'occult and supernatural spirits' during war

https://www.jpost.com/middle-east/iran-news/article-860798
2•pinewurst•13m ago•1 comments

Decrypting Crypto: Digital Assets and Web3 Explained

https://www.pli.edu/catalog/publications/treatise/decrypting-crypto-digital-assets-and-web3-explained/423007
1•Bluestein•14m ago•0 comments

Tandy Corporation, Part 3 – By Bradford Morgan White

https://www.abortretry.fail/p/tandy-corporation-part-3
1•rbanffy•14m ago•0 comments

Why I got rid of all my Neovim plugins

https://yobibyte.github.io/vim.html
1•uggedal•15m ago•0 comments

A closer look at the Model Context Protocol

https://jan.scheffczyk.page/posts/2025-05-04-mcp_from_scartch/
1•thunderbong•15m ago•0 comments

State of the Vibes: A Slice of Vibe Coding in June 2025

https://talks.natetucker.com/p/state-of-the-vibes
1•kntucker•15m ago•1 comments

Water levels and temperatures across Canada

https://aabiji.github.io/html/lakes.html
1•aabiji•15m ago•0 comments

Halo's Future Will Be Revealed in October, Says Xbox

https://kotaku.com/halo-wc-october-remake-remaster-news-trailer-rumor-xbox-1851785384
1•PaulHoule•17m ago•0 comments

Moon Landing Will Take More Than Rocket Science

https://www.bloomberg.com/opinion/articles/2025-07-13/another-moon-landing-will-take-more-than-rocket-science
1•Bluestein•17m ago•0 comments

Commodore 64 Ultimate is the company's first hardware release in over 30 year

https://www.tomshardware.com/video-games/retro-gaming/the-commodore-64-ultimate-computer-is-the-companys-first-hardware-release-in-over-30-years-pre-orders-start-at-usd299
2•DocFeind•19m ago•0 comments

Cadence IP for LPDDR6 Launched

https://www.servethehome.com/cadence-ip-for-lpddr6-launched/
1•rbanffy•19m ago•0 comments

Show HN: Clu3 – Team up with GPTs in a 2v2 game of codenames

https://clu3.juliakzl.com/
1•tdsone3•19m ago•0 comments

Lab-grown meat is focus of new laws and legislation

https://csgmidwest.org/2025/04/25/though-not-yet-on-grocery-shelves-lab-grown-meat-is-focus-of-new-laws-and-legislation/
2•andsoitis•20m ago•0 comments

The Case of the Ghostly Photographs: A. C. Doyle and spirit-photography industry

https://worldhistory.substack.com/p/the-case-of-the-ghostly-photographs
1•crescit_eundo•20m ago•0 comments

Build your own Anycast Network in Nine Steps (2016)

https://labs.ripe.net/author/samir_jafferali/build-your-own-anycast-network-in-nine-steps/
1•cristoperb•20m ago•0 comments

Inequality, Part VII: Crypto

https://paulkrugman.substack.com/p/inequality-part-vii-crypto
2•chmaynard•21m ago•0 comments

Tim Cook Isn't Going Anywhere Soon, but an Apple Shake-Up Looms

https://www.bloomberg.com/news/newsletters/2025-07-13/is-apple-going-to-replace-ceo-tim-cook-who-is-the-next-ceo-of-apple-ternus-md1mhrj4
3•mfiguiere•23m ago•1 comments