Hello HN! Decades long lurker, first time posting and here to hock my OSS project - https://github.com/mrdanielcasper/coretex . I’ve spent the last ~30 days and 364 commits getting to the pre-alpha of CoreTex, an open source, Unix-inspired, biomimetic, text-only, portable, local, AI harness and knowledge engine. Breaking that down, my guiding principles and purpose were: Purpose: I built CoreTex out of my personal ne…
Show HN: CoreTex – An Open-Source, Unix-like, biomimetic, flat-file AI Harness
11–20 of 24 posts
Re: Show HN: CoreTex – An Open-Source, Unix-like, biomimetic, flat-file AI Harness
#12Hello HN! Decades long lurker, first time posting and here to hock my OSS project - https://github.com/mrdanielcasper/coretex . I’ve spent the last ~30 days and 364 commits getting to the pre-alpha of CoreTex, an open source, Unix-inspired, biomimetic, text-only, portable, local, AI harness and knowledge engine. Breaking that down, my guiding principles and purpose were: Purpose: I built CoreTex out of my personal ne…
How much of the biomimetic structure is metaphor vs. architecture that materially changes behavior or performance?
- The cerebellum: Even if it's not working well, the concept of turning previously executed code generated by an LLM into 0-cost reusable asset (which can be shared) is an important part of token economics
- The corpus collosum: the idea of right/left brain divide mapping to local LLMs vs cloud LLMs is an important cost saving and air gapping mechanism. We can have a local LLM watch dog off this with relative ease.
- The Blood Brain Barrier, Thymus, and Immune System - Doing AST scanning and using Audit hooks, combined with an efferent secret vault and a watchdog process on CoreTex are things we should have more of.
- Enteric System and Basal Ganglia - even though the BG isn't really working great yet, the idea that this system can repeat commands at 0-analysis-cost and then turn repeated actions into acron jobs based on changes to the file system (to avoid dependency on the host os) is another great quality of life feature.
- Vagus Nerve and Interoception - Creating a global token budget and aborting if things get too crazy is a good idea. I want the system to actively protect people from wasting money or denial of wallet attacks.
Those are a few! For more, you can see the biomimesis in docs. I could not have built this without following biology.
Re: Show HN: CoreTex – An Open-Source, Unix-like, biomimetic, flat-file AI Harness
#13Re: Show HN: CoreTex – An Open-Source, Unix-like, biomimetic, flat-file AI Harness
#14Re: Show HN: CoreTex – An Open-Source, Unix-like, biomimetic, flat-file AI Harness
#15Re: Show HN: CoreTex – An Open-Source, Unix-like, biomimetic, flat-file AI Harness
#16Cannot wait to try it. What do you say to those who are leveraging 2nd brains like Karpathy’s LLM Wiki? What are the potential benefits to switching?
You don't have to switch - just give CoreTex your vault and see how it works on it. Keep in mind we are pre-alpha so it will be wonky.
Re: Show HN: CoreTex – An Open-Source, Unix-like, biomimetic, flat-file AI Harness
#17Congrats on the launch, Daniel! Really cool approach. The flat-file architecture and sandboxed execution by default are smart design choices. The zero-token engram replay idea is clever too. Starred, excited to see where this goes.
Re: Show HN: CoreTex – An Open-Source, Unix-like, biomimetic, flat-file AI Harness
#18Re: Show HN: CoreTex – An Open-Source, Unix-like, biomimetic, flat-file AI Harness
#19What does CoreTex do currently to handle/prevent context degradation?
1. Compacting, cleaning, and truncating terminal outputs in the somatosensory transducer (thanks TokenJuice for the idea) 2. Working memory buffer is capped at 45k characters, but when it starts to exceed, it will chunk the stalest memories, compress then, them reinject them to the context. No amnesia needed. 3. Context is pinned to top of requests for large tool calls. 4. Passing between agents / tools is optimized to give directions for reading files, as well providing a topology search, so whole files don't have to be injected into context. 5. The memory system engages during sleep and dreaming, rotating logs and extracting anything important from them into memory specific domains (md files per domain).
I'll be continually improving this and would love ideas / criticism!