Better HN
topnewbestaskshowjobs
Log inSign up

aperi

3 karma · joined Feb 18, 2024 (2y ago) · 22 submissions

Building memory and state layer for agents
Submissions

1.

Show HN: Neon and Mubit: an agent that cuts its own frontier-model tokens by 73%(neon.com ↗)

3 points · by aperi · 2w ago · discuss

2.

Replace Your OpenAI, Anthropic or Google API Call with Middleware(middleware.now ↗)

1 points · by aperi · 2mo ago · discuss

3.

Show HN: Making agent decisions better and traceable

1 points · by aperi · 2mo ago · discuss

4.

Ask HN: How do non-resident founders meet others in SF?

3 points · by aperi · 2mo ago · discuss

comment 3mo ago · link · parent

Will give it a shot and loved the "LLMs were used as a tool, not as a brain replacement"

6.

Show HN: An agent harness with model autorouting and memory

2 points · by aperi · 5mo ago · discuss

comment 9mo ago · link · parent

safe to say the root cause is bad PRs (untrusted)?

8.

Semantic logging of coding agent with shared memory(github.com ↗)

1 points · by aperi · 9mo ago · discuss

9.

Show HN: CLI for agentic activity tracking in Codex

1 points · by aperi · 9mo ago · discuss

10.

Shared State Context for AI Agents [Ask/Show][Looking for Beta]

1 points · by aperi · 10mo ago · discuss

comment 11mo ago · link · parent

Hi HN, I am Anil and I am building Rice (https://tryrice.com), a low latency context orchestration layer for AI agents.

Rice replaces the standard HNSW vector search with Weightless Neural Networks (WNNs) to enable O(1) retrieval speeds, specifically designed for realtime voice agents and high-frequency multi agent workflows.

The problem we ran into while building voice agents was simple: Latency kills immersion.

Between STT (Speech-to-Text), the LLM inference, and TTS (Text-to-Speech), we had a strict latency budget. Spending 200ms+ on a Vector DB lookup (plus reranking) was eating up too much of that budget. On top of that, we found that stateless RAG meant our agents were constantly hallucinating permissions and accessing data they shouldn't, or failing to remember a constraint set by another agent 10 seconds ago.

The industry standard is to throw everything into Pinecone or pgvector and handle the logic in the application layer. That works for chatbots, but for autonomous agents that need mutable memory (read/write state 50 times a minute), standard vector indexes are too heavy and slow to update.

Rice is our attempt to fix the Working Memory problem.

Under the hood:

Rice is an indexing and state management engine that sits between your LLM and your data. Instead of using HNSW graphs (which are O(log N)), we rely on Weightless Neural Networks (similar to WiSARD architectures).

- Deep Semantic Hashing: We train a lightweight model to compress dense embeddings into sparse binary codes while preserving semantic relationships. - O(1) Lookup: These binary codes are mapped directly to memory addresses. This effectively turns "Search" into a hash table lookup.

The Result: Retrieval latency stays flat (<50ms) even as your context grows to millions of items, and updates to the memory state are instant (no reindexing penalty).

We wrap this WNN core in a State Machine that handles Access Control (ACLs). When an Agent requests context, Rice checks the identity and state before the retrieval, ensuring you don't leak data between users or agents. Think of it as "Supabase for Agent Context", a managed backend that handles the memory graph and security policies so you don't have to write raw SQL RLS queries for every RAG call.

Where we are now

Rice is currently in closed beta/alpha. We are working with a few design partners in the voice and support automation space who need that sub 100ms retrieval speed.

We know using WNNs for semantic search is a contrarian bet compared to the massive investment in Vector DBs. We are specifically optimizing for "Hot State" (short term, high velocity memory) rather than "Cold Storage" (archival knowledge), though the lines are blurring.

Use Cases we are seeing: - Voice Agents: Shaving 200ms off RAG latency to make conversation feel natural. - Multi-Agent Hand-offs: Agent A (Sales) updates a "Customer Mood" state, and Agent B (Support) sees it instantly without hallucinating. - Internal Tools: Enforcing strict ACLs (e.g., "Junior Devs can't query the Salary Table") at the infrastructure layer.

We are looking for engineers who are pushing the limits of agent latency or struggling with state management to try it out and tell us where it breaks.

I’m especially interested in hearing your skepticism on the WNN approach - we know it’s weird, but for our specific constraints, the speed tradeoff has been worth it.

12.

O(1) Context Retrieval for Agents Using Weightless Neural Networks(tryrice.com ↗)

7 points · by aperi · 11mo ago · 2 comments

comment 1y ago · link · parent

Hey hackers!

I'm building a wearable AI for IRL note-taking (now) and voice-control AI (soon) called Rice.

We use SLMs to process the data offline (hence no subscription etc. for now). We are opening our pre-orders and I was curious to see if anyone here wanted it.

I'm building it for doctors and consultants (doctors are a bit later focus tbh) who spend a lot of time meeting clients in person and then getting back home / office to jot down notes.

Seen it first hand so building this. Any support is hugely appreciated <3

14.

Wearable AI for offline note-taking(tryrice.com ↗)

2 points · by aperi · 1y ago · 3 comments

15.

Show HN: Unified Shopping Experience with AI(unmess.io ↗)

1 points · by aperi · 1y ago · discuss

16.

Fake reviews or just negative reviews? UK bans fake reviews

1 points · by aperi · 1y ago · discuss

comment 1y ago · link · parent

Umm, interesting! Not much to add except will check this out later when I get home and share my thoughts :))