frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•9mo 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!

What Functional Programmers Get Wrong About Systems

https://www.iankduncan.com/engineering/2026-02-09-what-functional-programmers-get-wrong-about-sys...
1•subset•3m ago•0 comments

Review-for-agent: A local, PR-style UI for reviewing AI agent code changes

https://github.com/Waraq-Labs/review-for-agent
1•asadjb•5m ago•1 comments

Show HN: Insurance AI Benchmark – 510 scenarios from production

https://huggingface.co/datasets/pashas/insurance-ai-reliability-benchmark
1•pavelsukhachev•6m ago•0 comments

Show HN: Hybrid Orchestrator – Reliable AI agents for finance

https://github.com/pavelsukhachev/hybrid-orchestrator
1•pavelsukhachev•6m ago•0 comments

Searches for Learn Python up 150%

https://trends.google.com/trends/explore?date=today%205-y&geo=US&q=learn%20python&hl=en
1•wagslane•8m ago•1 comments

Data Modeling Is Changing

https://www.ssp.sh/brain/data-modeling-is-changing/
1•tanelpoder•9m ago•0 comments

G's Last Exam

https://twitter.com/rauchg/status/2020616857561284848
1•gmays•10m ago•0 comments

Ads Don't Work That Way (2014)

https://meltingasphalt.com/ads-dont-work-that-way/
1•Ariarule•12m ago•0 comments

Noam Chomsky Became the Establishment's Favorite Radical

https://www.josealnino.org/p/how-noam-chomsky-became-the-establishments
1•pcvarmint•15m ago•1 comments

DFlash: Block Diffusion for Flash Speculative Decoding

https://z-lab.ai/projects/dflash/
2•gmays•16m ago•0 comments

Show HN: Blogator –AI platform that generates structured,SEO-ready blog articles

https://www.blogator.app/
1•arlindb•17m ago•0 comments

Google AI Tools Start Blocking Disney-Related Prompts

https://deadline.com/2026/02/google-disney-ai-block-legal-threat-1236713206/
1•geox•19m ago•0 comments

Loopy Particle Math (2019)

https://www.scientificamerican.com/article/loopy-particle-math/
1•mellosouls•21m ago•0 comments

Show HN: PostgreSQL extension to add compatibility to Oracle UTL_SMTP package

https://github.com/HexaCluster/pg_utl_smtp
1•avivallssa•23m ago•0 comments

Show HN: Moltdb.io – The Database for AI Agents

https://moltdb.io/
1•ronreiter•25m ago•1 comments

Show HN: Reef – Bash compatibility layer for Fish shell, written in Rust

https://github.com/ZStud/reef
1•xbuben•26m ago•0 comments

The Potential of RLMs

https://www.dbreunig.com/2026/02/09/the-potential-of-rlms.html
1•dbreunig•26m ago•0 comments

Mesa 26.0's RADV RT improvements

https://pixelcluster.github.io/Mesa-26/
2•forbiddenlake•27m ago•0 comments

AI Is a High Pass Filter

https://bryanfinster.substack.com/p/ai-is-a-high-pass-filter-for-software
2•hackerthemonkey•30m ago•0 comments

Secrets Don't Belong in a Sandbox

https://vault.oshu.dev/
1•iacguy•31m ago•0 comments

Ask Ethan: Where are all the blueshifted galaxies?

https://bigthink.com/starts-with-a-bang/where-are-blueshifted-galaxies/
1•PaulHoule•31m ago•0 comments

Astuto is now officially unmantained

https://github.com/astuto/astuto/issues/487
1•pil0u•33m ago•0 comments

Trump Accounts

https://trumpaccounts.gov
2•cdrnsf•35m ago•0 comments

Reliability of LLMs as medical assistants for the general public

https://www.nature.com/articles/s41591-025-04074-y
3•0in•38m ago•0 comments

After 6 decades, Steve's Music to close most locations in Ontario, Quebec

https://www.cbc.ca/news/canada/ottawa/after-6-decades-steve-s-music-to-close-most-locations-in-on...
1•LouisLazaris•38m ago•0 comments

Is Particle Physics Dead, Dying, or Just Hard?

https://www.quantamagazine.org/is-particle-physics-dead-dying-or-just-hard-20260126/
14•mellosouls•39m ago•2 comments

Tenure Eliminated at Oklahoma Colleges

https://www.insidehighered.com/news/faculty-issues/tenure/2026/02/05/tenure-eliminated-oklahoma-c...
4•bikenaga•40m ago•1 comments

Coffee and Tea Intake, Dementia Risk, and Cognitive Function

https://jamanetwork.com/journals/jama/article-abstract/2844764
3•bookofjoe•41m ago•0 comments

Megatech photos – 100 GB free cloud storage, private and ad-Free

https://www.megatechphotos.com/
2•slavavechir•41m ago•2 comments

When Models Examine Themselves: Vocabulary-Activation Correspondence in LLMs

https://zenodo.org/records/18568344
1•patternmatcher•47m ago•1 comments