HackerTrans
TopNewTrendsCommentsPastAskShowJobs

JosephjackJR

no profile record

Submissions

Show HN: Local memory layer for AI agents, survives restarts, no embeddings

screenapp.io
2 points·by JosephjackJR·4 maanden geleden·0 comments

Agent memory is structured not fuzzy.why are we all using vector DBs for it?

old.reddit.com
2 points·by JosephjackJR·4 maanden geleden·3 comments

[untitled]

1 points·by JosephjackJR·4 maanden geleden·0 comments

Two orders of magnitude faster Persistent AI memory via a binary lattice

github.com
1 points·by JosephjackJR·5 maanden geleden·2 comments

Show HN: Synrix local-first memory engine (O(k) retrieval, no vectors, no cloud)

github.com
2 points·by JosephjackJR·5 maanden geleden·0 comments

Cloud costs are the #2 expense at midsize IT companies. Is this sustainable?

cio.com
1 points·by JosephjackJR·6 maanden geleden·3 comments

[untitled]

5 points·by JosephjackJR·6 maanden geleden·0 comments

[untitled]

5 points·by JosephjackJR·6 maanden geleden·0 comments

The $1M Annual Cost of RAM-Bound Vector Databases in the Cloud

synrix.substack.com
2 points·by JosephjackJR·7 maanden geleden·2 comments

Show HN: Synrix – A Zero-Loss, Sub-Microsecond Memory Engine for Edge Compute

ryjoxdemo.com
3 points·by JosephjackJR·7 maanden geleden·0 comments

Fuck RAM Limits 50M Persistent Nodes on a $199 Jetson (186 ns, CPU-only)

ryjoxdemo.com
4 points·by JosephjackJR·7 maanden geleden·1 comments

Why real-time AI memory is still slow, and a different approach

drive.google.com
2 points·by JosephjackJR·7 maanden geleden·5 comments

50M persistent nodes on a $199 Jetson – 186 ns latency, CPU-only

ryjoxdemo.com
6 points·by JosephjackJR·7 maanden geleden·1 comments

comments

JosephjackJR
·4 maanden geleden·discuss
hit this building agent systems - context gone on restart. Built a dedicated memory layer for agent workloads, in-process, survives restarts via WAL recovery. Happy to share: https://github.com/RYJOX-Technologies/Synrix-Memory-Engine
JosephjackJR
·4 maanden geleden·discuss
Concurrent agent memory is hard most solutions aren't designed for multiple agents writing at once. Built something in-process. Happy to share: https://github.com/RYJOX-Technologies/Synrix-Memory-Engine
JosephjackJR
·4 maanden geleden·discuss
Ran into the same thing. SQLite works until you need cold start recovery or WAL contention with concurrent agents. Built a dedicated memory layer for agent workloads - happy to share: https://github.com/RYJOX-Technologies/Synrix-Memory-Engine
JosephjackJR
·4 maanden geleden·discuss
super easy; we are currently trialing it with people who have this issue, check out our website or github, we will happily let you try anything you want with it. Really want feedback ideally atm.
JosephjackJR
·4 maanden geleden·discuss
I built a local-first AI memory engine for agents and edge systems. It uses a Binary Lattice instead of vectors. Fixed-size nodes with arithmetic addressing, so lookups are O(1) by ID and O(k) by prefix where k is result count not corpus size. Scales to 50M+ nodes beyond RAM via mmap with no performance cliff.

Real numbers from my machine. Direct node lookup: 19us. Prefix queries over 10k nodes: 28-80us with zero embedding model. 280x faster than local vector DB at 10k nodes. Full agent context rebuilt from cold start in under 1ms. ACID durable via WAL tested across 60 crash scenarios with zero data loss. Validated on Jetson Orin Nano at 192ns hot reads.

The core idea is that most agent memory is structured not fuzzy. User preferences, learned facts, task stores, conversation history. You know what you're looking for. Prefix-semantic naming replaces vector similarity entirely for these workloads. No embedding model. No GPU. No cloud call.

The robotics use case is what I find most interesting. A robot learns its environment during operation. Which door sticks, which patient has a latex allergy, which corridor is slippery. Power cuts out. Robot reboots cold. Every memory restores in milliseconds via WAL recovery. No internet required. Works in a Faraday cage, underground, on a factory floor.

It is not a vector DB replacement. For fuzzy similarity search over unstructured documents Qdrant and Chroma are the right tools. Synrix is the memory layer for structured agent workloads where you control the naming.

Curious whether anyone has hit the structured vs fuzzy memory problem in production and how you solved it.
JosephjackJR
·4 maanden geleden·discuss
Over the past year I’ve been working on a local-first memory engine for AI systems.

This started from debugging agent workflows that behaved differently after restarts. In several cases the memory layer relied on embeddings and approximate search through a vector database. It worked, but recall was not deterministic and restarting the process sometimes changed behaviour in subtle ways.

I wanted something simpler and predictable.

So I built a restart-persistent local memory engine that behaves more like SQLite than a cloud vector database. It runs as a single binary, stores data locally, and retrieval is deterministic. If you kill the process and restart it, the same query returns the same IDs in the same order.

It is not an LLM, not an agent framework, and not a SaaS product. It is meant to sit underneath those systems as a low-level memory primitive.

This is not a replacement for semantic search in every case. If you genuinely need approximate similarity over unstructured text, embeddings make sense. But I have a suspicion that in many structured agent and infra workflows, deterministic storage would be simpler and cheaper.

I would really appreciate feedback from people building ML or data infrastructure. In what cases is approximate search actually required, and where is it just become default?
JosephjackJR
·5 maanden geleden·discuss
If anyone is working on something similar please drop link below so i can check it out!
JosephjackJR
·5 maanden geleden·discuss
Retrieval performance is becoming a silent bottleneck for local first AI agents. While context windows are expanding, the latency involved in querying traditional cloud vector databases still sits in the 10ms to 50ms range due to network hops and pointer heavy graph structures.

I have spent the last few months building SYNRIX to see if we could reach sub microsecond retrieval by being extremely opinionated about hardware. Instead of a flexible graph, the engine uses a binary lattice—a rigid structure that relies on arithmetic addressing instead of chasing pointers.

This architectural rigidity leads to several unique properties:

Query time scales with the number of results you want rather than the total size of your database. We have validated this at 50 million nodes running smoothly on a standard 8GB RAM machine using memory mapped storage to scale beyond physical memory.

Because it runs entirely on your own hardware, there are no per query fees or subscription costs. This makes it a viable local first alternative for high volume applications that would otherwise face six figure cloud bills at scale.

The system is built for production reliability with ACID style guarantees. It uses a Write Ahead Log and deterministic recovery to ensure 100% success in surviving restarts and crashes without data loss.

The engine is designed for cache line alignment and CPU prefetching. This approach ensures the software works with hardware realities to maintain sub microsecond hot path retrieval even as the memory substrate grows.

We have built compatibility layers for LangChain and Qdrant so it can act as a drop in replacement for existing stacks. The project has already seen about 40 clones since yesterday, so the need for low latency, offline first memory seems to be hitting a nerve. I am curious to hear from others working on high frequency agent queries—is retrieval latency currently a bottleneck for your workflows, or are you more concerned with inference time?
JosephjackJR
·6 maanden geleden·discuss
It is a good point. However a lot of IT companies have differing Industries within it, not easy to paint with a simple brush of 'IT Company' like what would you define an IT company as?
JosephjackJR
·6 maanden geleden·discuss
Just read a CIO article saying cloud costs are now the second biggest expense for midsize IT companies, behind labor and ahead of pretty much everything else.

That matches what I keep hearing from people running real systems. Cloud spend doesn’t feel like a line item you control anymore, it feels like something you react to after the fact. Bills go up, dashboards light up, and then everyone scrambles to shave a few percent without touching the parts that are actually painful.

What stood out to me is that a lot of this cost doesn’t seem to come from raw compute or storage anymore. It comes from all the things glued around the system to make it work at scale. Remote caches, coordination layers, metadata services, control planes, cross region calls. Stuff that exists because there isn’t a good local place for certain kinds of state to live.

Once those pieces sit on the critical path, they get hit constantly, they add latency, and they quietly become some of the most expensive parts of the system. At that point cloud cost stops being an optimization problem and starts feeling like a structural one.

I’m curious how this lines up with other people’s experience. How much of your cloud bill is tied to coordination and state rather than actual business logic. Have you had to add external services just to keep latency acceptable. Have you reached the point where you’d rather rethink architecture than keep paying the tax.

Genuinely interested in what people are seeing in practice, not vendor takes or budgeting advice.
JosephjackJR
·6 maanden geleden·discuss
I’ve been thinking about a problem that keeps resurfacing as AI systems become more autonomous and long running, but doesn’t seem to be discussed much outside of implementation details.

Most AI systems today treat memory as ephemeral. Context is fetched from a remote store, used briefly, and discarded. Persistence is something you layer on later, usually via a network call to a database that sits outside the reasoning loop. This model works reasonably well when interactions are short lived and connectivity is assumed.

It starts to feel fragile when systems are expected to run continuously, survive restarts, operate offline, or reason repeatedly over long histories. In those cases, memory access becomes part of the critical path rather than a background concern.

What struck me while working on this is that many performance and cost problems people attribute to “scale” are really consequences of where memory lives. If every recall requires a network hop, then latency, reliability, and cost are inherently coupled to usage. You can hide that with caching and batching, but the constraint never goes away.

We’ve been exploring an alternative approach where persistence is treated as part of the hot path instead of something bolted on. Memory lives locally alongside the application, survives restarts by default, and is accessed at hardware speed. Once retrieval stops leaving the machine, a few second order effects emerge that surprised us. Cost stops scaling with traffic. Recovery stops being an operational event. Systems behave the same whether they are online, offline, or at the edge.

I’m very early in this commercially and building it with a co founder, but before locking in assumptions I wanted to sanity check the architectural framing with people here. Does this line up with how others see AI systems evolving, or do you think the current model of ephemeral memory plus remote persistence is still the right long term abstraction?

I’ve documented the architecture and tradeoffs of what we’ve built so far here for anyone who wants concrete details.

I’m much more interested in the discussion than the implementation itself.
JosephjackJR
·6 maanden geleden·discuss
Drones are one of our primary usecases; however it is actually applicable to memory loss in lets say LLM not necessarily with power loss, but with corruption, hallucination and persistent memory problems, from overload of data or data retrieval.

What sort of Robotics are you based in? It also massively improves efficiency in hardware 20-40% est.
JosephjackJR
·7 maanden geleden·discuss
We analyzed the fundamental architectural flaw in today's cloud vector database paradigm: the hard dependency on RAM. This design forces platforms with massive data volumes (e.g., millions of video frames, billions of RAG documents) into a financially unsustainable cost curve. We propose that the shift to an O(k) architecture, leveraging mmap storage, is the only way to break this scaling ceiling.
JosephjackJR
·7 maanden geleden·discuss
Two-person team, eighteen months bootstrapped. We just shipped Synrix, a flat fixed-width memory-mapped lattice that runs fifty million persistent nodes on an eight gigabyte Jetson Orin Nano with 186 ns hot-path latency (under 3.2 cycles steady-state), 33× larger than RAM via kernel-managed streaming, and full ACID persistence that survives kill -9 and power yanks with zero corruption. CPU-only, no GPU, no cloud, no telemetry. Redis RESP compatible drop-in.

Demo on the page: raw tegrastats, no cuts, cable pulled mid-run, everything comes back exactly where it left off. We’ve never seen anything hit these numbers on commodity edge hardware before. Curious what people think:

For real-world robotics, drones, or autonomy, is sub-200 ns persistent lookup actually useful or just a benchmark flex? Are there workloads where surviving total power loss with zero data loss would change architecture decisions? Has anyone else ever gotten close to 50 M persistent nodes on a Jetson without a GPU or external storage? What would you try to break first if you had this running on your board tomorrow?

Happy to run it live on anyone’s hardware, share perf and cachegrind traces, or just talk through the weirdest edge cases you’ve seen. Feel free to check out our website for me info!
JosephjackJR
·7 maanden geleden·discuss
On consistency once the dataset spills off local storage: the entire lattice is fixed-size, block-aligned, and memory-mapped, so the kernel pages it exactly like RAM. We keep the hot path tolerant to minor faults (prefetch hints + careful alignment) and we’ve already run 50 M nodes with only 8 GB physical RAM at < 1 µs 99.9 %-ile. Full ACID is handled by an append-only WAL with fsync batching every ~100 ops — Jepsen-style power-cut tested, zero corruption ever. Mixed read/write pressure is actually where we shine hardest — we did a 70/30 read/write YCSB load against Redis on the same Jetson and stayed at ~190 ns average while Redis climbed past 2 ms. Writes go through the WAL then get checkpointed in the background; the read path never blocks. Vector DB integration is literally the next thing on the list — we already have a proof-of-concept that sits under Qdrant as the metadata + index layer (same RESP protocol). Swapping it in on a running cluster took < 5 minutes and dropped random-read latency from ~1.4 ms to the 180 ns range. Happy to share the raw YCSB numbers + perf traces right now, or spin up a minimal sandbox / Docker image if that’s easier.
JosephjackJR
·7 maanden geleden·discuss
This would be awesome. We are super early and thinking about potential use cases. This is simply one use case, but the system we have built has a lot more.

Essentially we are going to start with its persistent memory aspect. What is the best way to get in contact with you man?
JosephjackJR
·7 maanden geleden·discuss
Disappointing to see this. Only upside potentially more diversity of shows on netflix. Apart from that, no real benefit?
JosephjackJR
·7 maanden geleden·discuss
We’ve been experimenting with real-time AI memory systems and kept running into the same limitations: RAM-bound graphs, multi-millisecond access patterns, durability issues, and unpredictable behaviour under load.

We tried approaching the problem from a different angle and ended up with a small engine that does:

• sub-microsecond hot-path lookups • 50M persistent nodes on an 8GB Jetson • ACID durability (survives hard power cuts) • mmap-streamed cold storage • a Redis-compatible proxy

This isn’t an LLM or vector DB; it’s a lower-level substrate for structured + semantic memory in real-time environments.

Still early. Posting this mainly to understand whether others here have tried similar approaches, or see obvious architectural issues we should be thinking about.

Very open to critique, contact through ryjoxdemo .com!
JosephjackJR
·7 maanden geleden·discuss
Two-person team, 18 months in a basement. Just got a flat, fixed-width lattice running 50 million persistent nodes on an 8 GB Jetson Orin Nano:

186 ns hot-path (≤ 3.2 cycles steady-state) 33× larger than RAM (disk-backed streaming) Full crash & power-loss recovery (kill -9 or yank the cable) CPU-only, no GPU, no cloud

30-second video on the page — raw tegrastats, no cuts, recorded this week. We’ve never seen anything hit these numbers on commodity edge hardware before. Curious what people think:

Does this actually solve a real problem for robotics / drones / autonomy? Are there edge workloads where sub-200 ns persistent lookups would move the needle? Has anyone else ever gotten close on a Jetson?

Happy to run live demos or share perf traces if anyone wants to break it
JosephjackJR
·7 maanden geleden·discuss
Hardly shocking considering the current economy. Who would have thought that AI spending is unsustainable when usership is generally dropping. Honestly thing there is going to be a revolt against AI adoption.