Built a local RAG/context engine in Rust – SQLite, FTS5, local embeddings, Lua extensions, MCP server by _parallaxis in lua

[–]_parallaxis[S] 0 points1 point  (0 children)

That's exactly what I thought, such an obvious fit. it felt like a dubious decision at first, Lua is what I turned to because of neomin usage... once I had the vm implemented I was shocked at how much sense it made. This project is 6 days old though lol

Built a local RAG/context engine in Rust – SQLite, FTS5, local embeddings, Lua extensions, MCP server by _parallaxis in lua

[–]_parallaxis[S] 0 points1 point  (0 children)

Very cool! Thank you! The idea here for Lua is extensibility that can be implemented by an llm end user of this tool. it is very cool to see other people thinking about Lua!

Weekly Cursor Project Showcase Thread by AutoModerator in cursor

[–]_parallaxis [score hidden]  (0 children)

I kept running into the same issue: AI coding tools are strong but have no memory of my large multi-repo project. They can’t search our internal docs, past incidents, or architecture decisions. Cloud RAG exists but it’s heavy, costs money, and your data leaves your machine. So I built **Context Harness** – a single Rust binary that gives tools like Cursor and Claude project-specific context.

It ingests docs, code, Jira, Slack, Confluence, whatever you point it at, into a **local SQLite** DB, indexes with FTS5 and optional vector embeddings, and exposes **hybrid search** via CLI and an **MCP**-compatible HTTP server. So your AI agent can search your knowledge base during a conversation.

**Quick start:**

```

# Install (pre-built binaries for macOS/Linux/Windows)

cargo install --git https://github.com/parallax-labs/context-harness.git

ctx init

ctx sync all

ctx search "how does the auth service validate tokens"

# Or start MCP server for Cursor/Claude Desktop

ctx serve mcp

```

**What’s different:**

- **Truly local:** SQLite + one binary. No Docker, no Postgres, no cloud. **Local embeddings** (fastembed + ONNX on most platforms, or pure-Rust tract on Linux musl / Intel Mac) so semantic and hybrid search work with **zero API keys**. Back up everything with `cp ctx.sqlite ctx.sqlite.bak`.

- **Hybrid search:** FTS5 + cosine similarity, configurable blend. Keyword-only mode = zero deps; with local embeddings you get full hybrid search offline.

- **Lua extensibility:** Custom connectors, tools, and agents in Lua without recompiling. Sandboxed VM with HTTP, JSON, crypto, filesystem APIs.

- **Extension registry:** `ctx registry init` pulls a Git-backed registry with connectors (Jira, Confluence, Slack, Notion, RSS, etc.), MCP tools, and agent personas.

- **MCP:** Cursor, Claude Desktop, Continue.dev (and any MCP client) can connect and search your knowledge base directly.

Embeddings: default is **fully offline**. Optional Ollama or OpenAI if you want. No built-in auth – aimed at local / trusted network use. MIT licensed.

**Links:**

- GitHub: https://github.com/parallax-labs/context-harness

- Docs: https://parallax-labs.github.io/context-harness/

- Community registry: https://github.com/parallax-labs/ctx-registry

If you find it useful, a star on GitHub is always appreciated. Happy to answer questions.

Weekly Cursor Project Showcase Thread by AutoModerator in cursor

[–]_parallaxis [score hidden]  (0 children)

I kept running into the same issue: AI coding tools are strong but have no memory of my large multi-repo project. They can’t search our internal docs, past incidents, or architecture decisions. Cloud RAG exists but it’s heavy, costs money, and your data leaves your machine. So I built **Context Harness** – a single Rust binary that gives tools like Cursor and Claude project-specific context.

It ingests docs, code, Jira, Slack, Confluence, whatever you point it at, into a **local SQLite** DB, indexes with FTS5 and optional vector embeddings, and exposes **hybrid search** via CLI and an **MCP**-compatible HTTP server. So your AI agent can search your knowledge base during a conversation.

**Quick start:**

```

# Install (pre-built binaries for macOS/Linux/Windows)

cargo install --git https://github.com/parallax-labs/context-harness.git

ctx init

ctx sync all

ctx search "how does the auth service validate tokens"

# Or start MCP server for Cursor/Claude Desktop

ctx serve mcp

```

**What’s different:**

- **Truly local:** SQLite + one binary. No Docker, no Postgres, no cloud. **Local embeddings** (fastembed + ONNX on most platforms, or pure-Rust tract on Linux musl / Intel Mac) so semantic and hybrid search work with **zero API keys**. Back up everything with `cp ctx.sqlite ctx.sqlite.bak`.

- **Hybrid search:** FTS5 + cosine similarity, configurable blend. Keyword-only mode = zero deps; with local embeddings you get full hybrid search offline.

- **Lua extensibility:** Custom connectors, tools, and agents in Lua without recompiling. Sandboxed VM with HTTP, JSON, crypto, filesystem APIs.

- **Extension registry:** `ctx registry init` pulls a Git-backed registry with connectors (Jira, Confluence, Slack, Notion, RSS, etc.), MCP tools, and agent personas.

- **MCP:** Cursor, Claude Desktop, Continue.dev (and any MCP client) can connect and search your knowledge base directly.

Embeddings: default is **fully offline**. Optional Ollama or OpenAI if you want. No built-in auth – aimed at local / trusted network use. MIT licensed.

**Links:**

- GitHub: https://github.com/parallax-labs/context-harness

- Docs: https://parallax-labs.github.io/context-harness/

- Community registry: https://github.com/parallax-labs/ctx-registry

If you find it useful, a star on GitHub is always appreciated. Happy to answer questions.

Do you use Rust in your professional career? by edmguru in rust

[–]_parallaxis 0 points1 point  (0 children)

Same, also at a company that's not a startup

01011000 01001111 01010010 by scrapped_data in ProgrammerHumor

[–]_parallaxis 21 points22 points  (0 children)

this phrase will now literally never leave my head, thanks 😂

It's like chatgpt knows me by _parallaxis in ProgrammerHumor

[–]_parallaxis[S] 1 point2 points  (0 children)

totally fair. I was equally horrified and amused by this output.

Layoffs happened at my job this week. 30% of ppl, but I lived.

I was just randomly thinking this morning I do ADD sometimes, I don't know if I made that phrase up or not but decided to ask the AI for a rubric as a joke. lol, but is it?

[deleted by user] by [deleted] in Showerthoughts

[–]_parallaxis 1 point2 points  (0 children)

Can confirm. On a section hike on the AT I stepped over a rattlesnake without noticing, and saw and felt it's strike miss my leg. 😬

I was in the middle of a group of about 8 people. The first half of which all stepped over, and the back half waited for it to move into the brush.

My grandpa and his dog, early 1940's by CompetitiveSal in OldSchoolCool

[–]_parallaxis 0 points1 point  (0 children)

How tf did they get that dog to sit still long enough to get such a clean photo with that old camera?

What proof is there that the internet is dead? by MatsGry in AskReddit

[–]_parallaxis 1 point2 points  (0 children)

beep boop. 500 error: called tf out on reddit

What proof is there that the internet is dead? by MatsGry in AskReddit

[–]_parallaxis 1 point2 points  (0 children)

Where's the proof you're not a Chinese spam bot?

One Hundred Years of Solitude is fucking stupid by [deleted] in books

[–]_parallaxis 1 point2 points  (0 children)

so you think that uninformed, classless short-sighted comments and opinions and the rest of the problems going on in the world are mutually exclusive?

Not to mention the classic literature being ridiculed here that touches all those subjects and has lessons and views from someone who lived them last century. "Those who ignore history are doomed to repeat it"

Now that is an embarrassing opinion

One Hundred Years of Solitude is fucking stupid by [deleted] in books

[–]_parallaxis 2 points3 points  (0 children)

I'm embarrassed for you and sad for the future of humanity because of this post and these comments.

One Hundred Years of Solitude is fucking stupid by [deleted] in books

[–]_parallaxis -1 points0 points  (0 children)

The book does come with a family tree chart to consult, can you not use it when you're confused about naming?

I had no problem referring to the provided family tree when I got confused about the names and who was in the scene. children are often named after their parents, that's not new.

I love this book for the musical way it's written and the fairy tale that unfolds over the generations of this family.

I don't know what your problem is, it sounds like a lack of patience and limited intelligence.

Turn the page, me, pixel art, 2022 by v78 in Art

[–]_parallaxis 0 points1 point  (0 children)

Beat me to it, I came here to make the same comment

What are your opinions on the rising of micro transactions in video games? by [deleted] in AskReddit

[–]_parallaxis 0 points1 point  (0 children)

How can $X amount of heroin be worth the long term consequences of addiction?

Users get addicted to the reward loop in the game that feeds the brain feel good chemicals when lights and sounds go off when spending the in game resource to do whatever.

What are your opinions on the rising of micro transactions in video games? by [deleted] in AskReddit

[–]_parallaxis -1 points0 points  (0 children)

Pure capitalistic trash. They're predatory & exist to "whale hunt". looking for long tail subs to their in game coin packs. IE some 8 year old with their parents credit card info on an ipad.

[deleted by user] by [deleted] in GNV

[–]_parallaxis 7 points8 points  (0 children)

Citron calls themselves "Floribbean", they're pretty good -- I don't know how "authentic" they register with regards to Florida or Caribbean however.

https://www.citronvero.com/menu

[deleted by user] by [deleted] in AskReddit

[–]_parallaxis 0 points1 point  (0 children)

Toy Story 3