Better HN
topnewbestaskshowjobs
Log inSign up

ajainvivek

4 karma · joined Aug 28, 2021 (5y ago) · 13 submissions

Submissions

1.

Show HN: Webcrawl, an open-source web crawling API and MCP server for agents(github.com ↗)

1 points · by ajainvivek · 2w ago · discuss

2.

Show HN: Webcrawl – Open-source Firecrawl alternative, runs locally, no API key(github.com ↗)

1 points · by ajainvivek · 3w ago · discuss

comment 3mo ago · link · parent

Ballet: the workflow is code; if the API exists we write against it, including internal ones. No drag-and-drop. If that isn’t a real difference for you, it will look like another Zapier, correctly.

Check out the docs: https://docs.ballet.dev

comment 8mo ago · link · parent

Benchmark

We ran a small benchmark on a real-world insurance corpus: • 4 policy documents • ~1,900 hierarchical nodes • 100 queries across 6 complexity tiers

Comparing ReasonDB to a typical RAG pipeline (LangChain / LlamaIndex defaults):

Metric ReasonDB Typical RAG Pass rate 100% (12/12) 55–70% Context recall 90% avg 60–75% Median latency 6.1 s 15–45 s

The key difference is that ReasonDB performs BM25 candidate selection + LLM-guided traversal, rather than flat chunk similarity.

⸻

Example reasoning case

One query asked:

“What conditions define recurrent disability?”

The answer was split across two sections: • disability definition clause • policy schedule clause

Flat chunk retrieval returned only the first section.

ReasonDB followed the cross-reference extracted during ingestion, which raised recall from 67% → 100%.

5.

Show HN: Vector databases are the wrong primitive for AI agents(github.com ↗)

1 points · by ajainvivek · 8mo ago · 1 comment

comment 9mo ago · link · parent

Your finding #2 is the most important — hallucinations are a retrieval problem, not a generation problem. We hit the same wall building legal document retrieval at Brainfish. Swapping embedding models gave incremental gains, but the real jump came from preserving document hierarchy (articles, sections, clauses) during retrieval instead of flattening everything into chunks.

Curious, did you evaluate any structure-aware retrieval approaches on this benchmark, or purely embedding-based?

comment 9mo ago · link · parent

Hi HN, I built ReasonDB (Opensource) after spending 3 years building a knowledge intelligence layer at Brainfish (my company). We stitched together vector DBs, graph DBs, and custom RAG pipelines. The constant problem: when search returns the wrong documents, your AI gives wrong answers confidently. Debugging why embeddings didn't surface the right chunk is a black box – we'd fix one case and break three others.

ReasonDB takes a different approach. Instead of shredding documents into flat chunks and hoping cosine similarity finds the answer, it preserves document hierarchy as a tree and lets the LLM navigate through it – like a human scanning a table of contents and drilling into the right section.

How it works: - Documents are ingested as hierarchical trees (headings, sections, subsections) with LLM-generated summaries at each node - When you query, a 4-phase pipeline kicks in: BM25 narrows candidates → tree-grep filters by structure → LLM ranks by summary → parallel beam-search traversal extracts answers - The LLM visits ~25 nodes out of millions instead of searching a flat vector space

It also has RQL, a SQL-like query language with SEARCH (BM25) and REASON (LLM) clauses:

  SELECT * FROM contracts REASON 'What are the termination conditions?'
Built in Rust (redb, tantivy, axum, tokio). Single binary. ACID-compliant. Supports OpenAI, Anthropic, Gemini, Cohere and Open Source Models. Runs with one Docker command.

GitHub Link: https://github.com/reasondb/reasondb

Would love feedback and criticism – especially from anyone who's fought the same RAG quality battles.

8.

ReasonDB – A database that reasons through your documents(github.com ↗)

6 points · by ajainvivek · 9mo ago · 1 comment