frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•1y ago
Hi HN,

We’re Chonkie (https://github.com/chonkie-inc/chonkie) — we build open source tools that help split documents into meaningful chunks for use with AI models.

When you use LLMs over large documents or codebases, you often need to break them into smaller parts to fit the model’s context window. Our chunkers do this in a smart way: they preserve structure and meaning, so only the most relevant pieces are passed into the model. This reduces hallucinations, avoids confusion, and improves performance and accuracy.

Today we’re launching our Code Chunker — a fast, structure-aware way to break down source code into high-quality, token-aware chunks.

How it works:

(See the code: https://github.com/chonkie-inc/chonkie/blob/main/src/chonkie...)

Code Chunker uses tree-sitter (https://tree-sitter.github.io/tree-sitter/) to parse your code into an abstract syntax tree (AST). It then recursively merges and groups nodes in a way that respects both code structure and token limits.

It supports all languages that tree-sitter supports, and is designed to preserve formatting and semantics. Large functions or class definitions won’t be split in the middle of a block — instead, we dive recursively into the AST to produce clean, coherent chunks that fit your configured token budget.

What it’s useful for:

  - Embedding-based code search

  - RAG (retrieval-augmented generation) over codebases

  - Long-context analysis of code

  - Preparing repos for fine-tuning or pretraining
Try it out:

  - Open source package: https://docs.chonkie.ai/chunkers/code-chunker

  - Hosted playground (free with account): https://cloud.chonkie.ai
Happy Chonking!

Microsoft's new multi-model agentic security system tops leading benchmark

https://www.microsoft.com/en-us/security/blog/2026/05/12/defense-at-ai-speed-microsofts-new-multi...
1•uniclaude•6m ago•0 comments

Lisa's Copy (and Cut, and Paste)

https://unsung.aresluna.org/lisas-copy-and-cut-and-paste/
1•zdw•9m ago•0 comments

Is U.S. AI Adoption Plateauing? A Comprehensive Analysis

https://medium.com/@markchen69/is-u-s-ai-adoption-plateauing-a-comprehensive-analysis-cf5c1beef8cf
1•mgh2•13m ago•0 comments

Introducing BDD (2006)

https://dannorth.net/blog/introducing-bdd/
1•locknitpicker•14m ago•0 comments

Computing the billionth prime in 1s with LLVM IR

https://github.com/SheafificationOfG/QueenJewels
1•Murfalo•16m ago•1 comments

Is AI Becoming Too Smart for Its Own Good? [audio]

https://rss.com/podcasts/nuclecast-podcast/2811653/
1•apolloartemis•17m ago•1 comments

Gelatine Sculpt: Can This "Gelatin Trick" Transform Your Fat?

https://finance.yahoo.com/sectors/healthcare/articles/gelatine-sculpt-exploding-2026-viral-142500...
2•sarkpauz•19m ago•0 comments

Huawei's new stacking tech for high-capacity SSDs

https://www.blocksandfiles.com/flash/2026/05/21/huaweis-new-stacking-tech-for-high-capacity-ssds/...
1•yogthos•20m ago•0 comments

Engineers vs. Psychiatrists (C. P. Snow)

https://unintendedconsequenc.es/engineers-vs-psychiatrists-c-p-snow/
2•paulorlando•24m ago•0 comments

The Mythical App Store Reviewer Month

https://lapcatsoftware.com/articles/2026/5/4.html
1•zdw•28m ago•0 comments

Ask HN: How to increase depth instead of breadth as 10 yoe as swe?

2•Cheesebh•31m ago•0 comments

Tell HN: Stop building software for people, build it for agents instead

1•keepamovin•32m ago•4 comments

Supply Chain Attack Targets Laravel-Lang Packages with Credential Stealer

https://www.aikido.dev/blog/supply-chain-attack-targets-laravel-lang-packages-with-credential-ste...
2•nullbio•37m ago•1 comments

Deepsec: The security harness for finding vulnerabilities in your codebase

https://vercel.com/blog/introducing-deepsec-find-and-fix-vulnerabilities-in-your-code-base
1•882542F3884314B•42m ago•0 comments

Perplexity Bumblebee: Read-Only Tool for Dev Supply Chain Checks on macOS/Linux

https://github.com/perplexityai/bumblebee
1•882542F3884314B•45m ago•0 comments

Show HN: ThinkLLM, A knowledge graph of AI models (HTTPS://thinkllm.dev)

https://thinkllm.dev
1•gkanellopoulos•46m ago•0 comments

All Model Labs Are Now Agent Labs

https://www.latent.space/p/ainews-all-model-labs-are-now-agent
1•swyx•47m ago•0 comments

Zero-dependency CLI that converts LinkedIn exports into Markdown for LLMs

https://linkedin2md.daza.ar/
1•juanmanueldaza•49m ago•0 comments

Show HN: Waiting for AI Grand Prix racing SIM? Me too So I made one

https://github.com/elodin-sys/ai-grand-prix
7•danAtElodin•50m ago•0 comments

The SpaceX IPO filing is filled with AI bets, Starship dreams

https://techcrunch.com/2026/05/20/the-spacex-ipo-filing-ai-bets-starship-dreams-elon-musk/
1•dotcoma•51m ago•0 comments

The analog computer museum's online library

https://www.analogmuseum.org/english/library.html
1•nill0•1h ago•0 comments

Being oncall taught me everything

https://yaoyue.org/blog/2026-oncall/
2•RyeCombinator•1h ago•1 comments

Product Launches, Tools and Builder Guides

https://nicklaunches.com/
2•theorchid•1h ago•3 comments

Google Is Killing ChromeOS: Aluminium OS, Its Android-Based Replacement

https://techjournal.org/google-aluminium-os-replacing-chromeos
17•pabs3•1h ago•6 comments

The Making of Indian Statistics

https://altermag.com/articles/the-making-of-indian-statistics
7•trojanalert•1h ago•0 comments

Microsoft reports AI is more expensive than paying human employees

https://fortune.com/2026/05/22/microsoft-ai-cost-problem-tokens-agents/
109•nreece•1h ago•28 comments

Most EVM systems have no memory

https://blog.bridgexapi.io/most-evm-systems-have-no-memory
3•Bridgexapi•1h ago•1 comments

Agent Substrate

https://github.com/agent-substrate/substrate
1•ahmedtd•1h ago•0 comments

Comparisons as Predictable as the Sunrise

https://pudding.cool/2026/05/similes/
2•newtwentysix•1h ago•0 comments

What Is an Air Gap?

https://www.ibm.com/think/topics/air-gap
2•teleforce•1h ago•0 comments