frontpage.
newsnewestaskshowjobs

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 disrupts AI-assisted platform that compromised 12,000 accounts

https://arstechnica.com/security/2026/09/microsoft-disrupts-ai-assisted-platform-that-compromised...
2•joozio•58s ago•0 comments

Why Tool AIs Want to Be Agent AIs

https://gwern.net/tool-ai
1•duck•5m ago•0 comments

Fearless SIMD v1.0 is here

https://linebender.org/blog/fearless-simd-1-0/
1•AndrewDucker•5m ago•0 comments

M6 Mac Mini uses soldered NAND storage again

https://www.macrumors.com/2026/09/22/new-mac-mini-ssd-cant-be-removed/
1•gloxkiqcza•6m ago•0 comments

Show HN: Yass – Yet Another Spec Syntax Enters Beta

https://github.com/shakefu/yass
1•bilbo-b-baggins•6m ago•0 comments

Building a docs site that screenshots itself

https://semaloop.com/blog/docs-that-screenshot-themselves
1•samstarling•10m ago•1 comments

There is no epidemic of loneliness, but there is an epidemic of scurvy

https://www.experimental-history.com/p/there-is-no-epidemic-of-loneliness
1•luu•13m ago•0 comments

Claude Code Hooks Explained: The Deterministic Layer Around Your Agent

https://blakecrosley.com/blog/claude-code-hooks-explained
1•northbridgedev•15m ago•0 comments

Jevify skill – Gets your existing agents running on Jev

2•soupz011•15m ago•0 comments

Show HN: use-citations – Claude Code skill for citation backed answers

https://github.com/sshah03/use-citations
1•sshah03•24m ago•0 comments

Show HN: Daily-updated open dataset of flight fare history by route and month

https://github.com/DeusAcc/flight-fare-history
1•deusautoai725•25m ago•0 comments

CobaltC now has a compiler (for Linux)

https://github.com/strawberry9/CobaltC
1•SilentLambda•31m ago•0 comments

First Petabit-Class Transoceanic Subsea Cable

https://engineering.fb.com/2026/09/21/connectivity/petal-petabit-transoceanic-subsea-cable/
1•tosh•34m ago•0 comments

Ask HN: Engineers on highly polished products, how are you using agentic coding?

3•PaulStatezny•36m ago•1 comments

Which AI model should your team use for Ansible

https://steampunk.si/spotter/ai-leaderboard/
2•xlab-si•36m ago•0 comments

Unreal Agent An async-first agent harness

https://github.com/unreallabsai/unreal-agent
1•Bluestein•42m ago•0 comments

Transformers now runs llama.cpp quants

https://huggingface.co/blog/transformers-llama-cpp-quants
3•mmis1000•43m ago•0 comments

Australia's giant data-centre boom

https://www.economist.com/asia/2026/09/21/australias-giant-data-centre-boom
2•burntcaramel•48m ago•1 comments

Avhash: BlurHash replacement, using a AV1 frame with container headers stripped

https://github.com/keithamus/avash
2•DamonHD•51m ago•0 comments

Show HN: Ceptile AI Search platform which combines web results with AI chat

https://www.ceptile.com/
1•ShauryaAgarwalr•52m ago•0 comments

Claude Opus 5.5 – Pelican Game

https://claude-opus-5-5.riba2534.cn/
3•denysvitali•55m ago•2 comments

I Gave My Life over to Meta's A.I. Agent and Was Blown Away

https://www.nytimes.com/2026/09/22/technology/meta-muse-ai-agent.html
3•geoffbp•55m ago•1 comments

El Niño projected to cause 450k deaths in next six months

https://www.theguardian.com/environment/2026/sep/23/el-nino-450000-extra-deaths-six-months
6•ljf•58m ago•1 comments

Mastering LLM Inference Optimization

https://machinelearningmastery.com/the-roadmap-to-mastering-llm-inference-optimization/
2•geoffbp•59m ago•0 comments

The Rio Grande's pecan problem (2025)

https://www.hcn.org/issues/57-9/the-rio-grandes-pecan-problem/
2•littlexsparkee•1h ago•0 comments

Show HN: Visually orchestrate Claude Code AI agents

https://github.com/rondoflow/rondoflow
2•bdearch•1h ago•0 comments

Benzi – Code Intelligence MCP/Harness beating Claude Code and CodeGraph

https://varianttech.net
2•tweedler290•1h ago•1 comments

A Summer of AI Optimization

https://lemire.me/blog/2026/09/22/a-summer-of-ai-optimization/
2•signa11•1h ago•0 comments

Serious editors are a commitment (at least for me)

https://utcc.utoronto.ca/~cks/space/blog/tech/EditorsAreACommitment
2•signa11•1h ago•1 comments

Empire of Grift

https://www.theatlantic.com/magazine/2026/10/maga-foreign-policy/688352/
1•rbanffy•1h ago•0 comments