frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Kantext – A context-native data store in Rust, grounded in Git

https://www.kantext.dev/
1•jasonlantz•1h ago
Hi HN, I'm Jason, creator of Kantext.

I spent the last year exploring the concept that context is a new data type that none of our current systems were designed to handle. Context evolves with every interaction, changes shape, is deeply nested and relational, and must be deterministic.

The Problem: We currently treat AI context like a storage problem (vector DBs) or a retrieval problem (RAG). But vectors destroy structure, and graphs are hard to version. When an agent hallucinates, it’s often because we fed it a "soup" of tokens rather than a structured, provenanced reality.

The Solution: Kantext treats Context as a first-class data type. It’s not a wrapper; it’s a composable, layered data structure where meaning is fused into the data at declaration time.

Try it: The website currently has a wasm playground (https://kantext.dev/playground) with the full composition engine available to try out through multiple scenarios. I'm working toward an open source release of the core engine soon along with full documentation.

The Architecture:

- Declared Language: A language of Declarable Shapes with layers for Value, Meaning, Space, Bond, Compose, and Boundary. Boundaries operate like JSON Schema's Definitions, but they are hierarchical and cascade.

- Context-Addressable Storage (CxAS): The parse -> decompose phase separates content and structure. These fragments are blake3 hashed with typed domains and stored in a global append-only DashMap.

- Holograph: The engine composes the decomposed, CxAS-stored content through a 2-stage k-way merge process of up to 62 Frames. We use BpTree, EliasFano, and WaveletMatrix (in pure Rust) to keep memory usage low and lookups mostly in CPU cache.

- Grounded: Every composition is cryptographically sealed to a Git commit. The Holograph's Projector can output multiple styles, including a compressed "Declared" format that is a full round-trip .kant file. Anything done in memory can be re-grounded to git.

Benchmarks (M2 Max):

Full Parse -> Holograph: ~20MB/s (Note: This is NOT just parse speed. This includes parsing, structural decomposition, Blake3 hashing for Context-Addressable Storage, deduplication, BpTree/EliasFano/WaveletMatrix construction, and cryptographic sealing. So, more like a runtime compiler than just a parser)

Query Latency: ~1-75µs

Composition: 880K points/sec, working toward goal of 1M/s

Binary: ~7MB (No external DB required)

The Backstory: Kantext started as a sort of DSL for DSLs. I spent the last decade building tooling around composable, structurally merged YAML with CumulusCI in the Salesforce ecosystem. Looking to build the evolution of that vision beyond my platform silo, I started in Python, my native language for ~20 years. About 200 Pydantic models into building a declarative delivery system DSL, I hit the composability wall.

Kantext is what came from the realization that we lacked a secure, runtime composable type system for deeply nested context that evolves across instances and interactions.

Kantext started as a yaml embedded language. Now, Kantext's language, the .kant format, uses a custom parser built on chumsky and is a super/subset of YAML with two major differences:

1. No quotes, No NO (or similar) problems: The parser is contextual. Every key is fully parsed and identified before its value. That's thanks to proc macro codegen of a nanosecond tuned parse_key fn for each Shape in the core language.

2. We replaced the yaml tag slot with a "shorthand value" slot, enabling a more ergonomic key + value + nested map pattern.

The name started as a philosophy pun that grew into technical architecture after realizing the influence of Descartes in how we think about type systems and Immanuel Kant's critique of Descartes.

I'd love to hear your feedback, and I'll be hanging out to answer any questions about the Rust internals, the data structures, or the language!

Pa Bench: Evaluating Frontier Models on Multi-Tab Pa Tasks

https://vibrantlabs.com/blog/pa-bench
1•shahules•34s ago•1 comments

Zealous Autoconfig (2008)

https://xkcd.com/416/
1•quectophoton•1m ago•0 comments

Zillow and Google bring home-buying guidance to NotebookLM

https://www.zillow.com/news/zillow-google-bring-home-buying-guidance-to-notebooklm/
1•rawgabbit•1m ago•0 comments

Look how much Canadians hate the United States now

https://www.politico.com/news/2026/02/19/5-charts-show-just-how-badly-the-us-has-torpedoed-its-re...
1•tejohnso•1m ago•0 comments

The Latest Batch of AI Models

https://www.zaaane.com/posts/on-the-latest-batch-of-ai-models/
1•zanehelton•2m ago•0 comments

Video which breaks YouTube' system

https://www.youtube.com/watch?v=LeJ8pCRYExE
1•bfoks•2m ago•0 comments

Building memory for an always-on AI that listens to your kitchen

https://juno-labs.com/blogs/building-memory-for-an-always-on-ai-that-listens-to-your-kitchen
1•ajuhasz•3m ago•0 comments

Building a cross-language plot capture engine in R and Python

https://quickanalysis.substack.com/p/capturing-plots-in-r-and-python-a
1•maciej_pacula•3m ago•1 comments

A reproducible C toolchain rooted on POSIX shell

https://umontreal.scholaris.ca/items/2f44323a-9f4f-482a-98be-542d8ee5b9fb
1•laurenth•3m ago•0 comments

Show HN: DriftDB, a Time Travel DB Written in Rust

https://davidliedle.github.io/DriftDB/
1•DavidCanHelp•4m ago•0 comments

ClaudeSwarm v2: Swarm Graph Visualization, Usage Tracking, and Billing

https://github.com/simonstaton/ClaudeSwarm
1•simonstaton•5m ago•1 comments

Valve wins patent troll lawsuit against Rothschild

https://www.pcgamer.com/hardware/valve-wins-lawsuit-against-rothschild-and-associated-entities-wi...
2•axus•6m ago•1 comments

Competition Law and Constitutional Rights: Social Media in India and Germany

https://press.wz.uw.edu.pl/yars/vol18/iss31/13/
1•PaulHoule•7m ago•0 comments

I built a security scanner. ClawHub flagged it as suspicious

https://github.com/chrisochrisochriso-cmyk/clawsec-monitor
1•paperknight•7m ago•1 comments

Show HN: A multi-tenant agent hosting platform example using CF Containers

https://github.com/alectrocute/agents
1•arm32•7m ago•0 comments

Show HN: MuonTickets Git-native ticketing for AI agents and parallel development

https://github.com/muonium-ai/muontickets
1•senthilnayagam•7m ago•0 comments

Trump administration recruits tech bosses to train 'elite' government coders

https://www.ft.com/content/7691a233-953b-450e-aefc-f7678ddca6e1
1•sebastian_z•9m ago•0 comments

Ask HN: LLMs and Information Theory?

1•AnimalMuppet•9m ago•0 comments

Show HN: Oneprompt – Problem description to MVP (experimental)

https://github.com/geod/oneprompt
1•LambdaAndLatte•10m ago•0 comments

Microsoft's new 10k-year data storage medium: glass

https://arstechnica.com/science/2026/02/microsofts-new-10000-year-data-storage-medium-glass/
3•rbanffy•10m ago•1 comments

Ask HN: Can a license make large corporations give back?

2•arboles•11m ago•1 comments

AI Makes You Boring

https://www.marginalia.nu/log/a_132_ai_bores/
48•speckx•12m ago•18 comments

That irritating feeling that France was right

https://www.economist.com/europe/2026/02/18/that-irritating-feeling-that-france-was-right
1•rbanffy•12m ago•0 comments

Cowrie API

https://github.com/sirgeon/cowrie-api
1•sirgeon•12m ago•1 comments

GLM-5: From Vibe Coding to Agentic Engineering

https://arxiv.org/abs/2602.15763
1•gmays•12m ago•0 comments

A First-Hand Look at the Messy Underbelly of DMCA 512(c) Takedowns

https://blog.ericgoldman.org/archives/2026/02/a-first-hand-look-at-the-messy-underbelly-of-dmca-5...
1•hn_acker•13m ago•0 comments

How to build OpenClaw in 400 lines of code

https://hugodutka.com/posts/openclaw-400-loc/
1•hugodutka•16m ago•0 comments

Tour Guides Accused of Scamming the Louvre Out of $12M

https://www.wsj.com/world/europe/tour-guides-accused-of-scamming-the-louvre-out-of-12-million-f99...
2•cwwc•17m ago•0 comments

Berkshire Hathaway reduces Apple stake as Warren Buffett officially retires

https://9to5mac.com/2026/02/18/berkshire-hathaway-reduces-apple-stake-as-warren-buffett-officiall...
3•ksec•17m ago•0 comments

Show HN: TableCraft – Stop burning AI tokens on table boilerplate

https://github.com/jacksonkasi1/TableCraft
1•jacksonkasi•17m ago•0 comments