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!

OpenJev: An open-source, Jev-compatible System One decision engine

https://github.com/GPT-AGI/OpenJev
2•rdudekul•2m ago•0 comments

CEO

1•cowlove•3m ago•0 comments

PotemkinOS: An Operating System Where the Model Writes the Userland

https://gabeortiz.net/posts/2026-09-27-potemkinos/
2•succinct_ideas•4m ago•1 comments

Prime SaaS: New Modern React, Node, PostgreSQL Boilerplate

1•missakation•4m ago•0 comments

China accounts for 77.9% of global humanoid robot shipments in H1, IDC says

https://technode.com/2026/09/29/china-accounts-for-77-9-of-global-humanoid-robot-shipments-in-h1-...
2•yogthos•5m ago•0 comments

Claude Isn't Allowed to Write Me Prose

https://blog.kvit.app/posts/agent-not-allowed-to-write-prose/
1•skolos•7m ago•0 comments

Religion, Consciousness, and Continuity

https://www.alexahn.com/2026/09/religion-consciousness-and-continuity.html
1•alexahn•8m ago•0 comments

Rasmus Hauschild on X: "just vibe-coded a flight simulator in ~2 hours

https://twitter.com/rasmushauschild/status/2077483318937862336
1•bilsbie•8m ago•0 comments

How to do agentic software development properly

https://fiodar.substack.com/p/the-art-of-agentic-software-development
1•fiodars•8m ago•1 comments

Blygger: AI-intertwingled diachronic-synchronic social publishing – blygger

https://blygger.org/talks/2026-09-24-blygger/
1•Arubis•9m ago•0 comments

Ask HN: Fong Test?

2•gojkoa•9m ago•0 comments

GPT-6.1 Sol: Release Intelligence, Performance and Price

https://artificialanalysis.ai/models/releases/gpt-6-1-sol
2•6thbit•10m ago•0 comments

Ask HN: OpenSEO inspiration for other tools, asking for opinion

2•yash_salesup•10m ago•0 comments

Efficient Image Steganography Method

https://www.nature.com/articles/s41598-026-41168-0
1•bryanrasmussen•11m ago•1 comments

Anthropic's $518B AI buildout hinges largely on deals that cannot be canceled

https://www.reuters.com/business/anthropics-518-billion-ai-buildout-hinges-largely-deals-that-can...
2•usernomdeguerre•11m ago•0 comments

Spencer Pratt on X: most political advisors are so bafflingly incompetent

https://twitter.com/spencerpratt/status/2104944747806695496
1•bilsbie•11m ago•0 comments

Spaghetti Celesti – Devour the Heavens

https://punkcake.itch.io/spaghetti-celesti
1•ano-ther•11m ago•0 comments

OpenAI Agent Bypasses Internet Restrictions Through DNS

https://circleid.com/posts/openai-agent-bypasses-internet-restrictions-through-dns
1•speckx•12m ago•0 comments

Annalist – required GitHub check for what a coding agent wrote

https://github.com/GregDixonMXN/annalist
1•shikobastudios•13m ago•0 comments

Why has Shopify dropped React Native?

https://newsletter.pragmaticengineer.com/p/shopify-native-mobile
2•theanonymousone•14m ago•0 comments

The AI margin collapse is gathering pace

https://martinalderson.com/posts/ai-margin-collapse-gathering-pace/
4•martinald•14m ago•0 comments

An LLM Workflow That Reproduces, Improves, Extends Published Economics Research

https://www.nber.org/papers/w35782
2•ano-ther•15m ago•1 comments

Show HN: Relay – a harness for AI coding agents that recover and verify

https://relayevals.com
3•rsathwik07•15m ago•0 comments

Show HN: Mluva – Dictation and editable rewrites for Omarchy

https://github.com/1vecera/Mluva
3•1vecera•16m ago•0 comments

You Said No MCP

https://earendil.com/posts/you-said-no-mcp/
4•tosh•16m ago•0 comments

Car Is Sharing Data with Big Tech

https://www.consumerreports.org/electronics/personal-information/your-car-is-sharing-data-with-bi...
4•speckx•16m ago•1 comments

Agentic Hacks, Real Proofs: Inside Google's PageBreak Project

https://blog.google/security/agentic-hacks-real-proofs-inside-googles-pagebreak-project/
1•porridgeraisin•16m ago•0 comments

GPT-6.1 Sol (Max): Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/gpt-6-1-sol
3•theanonymousone•16m ago•0 comments

Codex Security Cloud

https://learn.chatgpt.com/docs/security/setup
3•acossta•17m ago•0 comments

Attack your own AI agent in under 10 minutes – then secure it before deploying

https://www.humanbound.ai/blog/attack-your-own-ai-agent-in-under-10-minutes-then-secure-it-before...
1•Sofia_HB•18m ago•0 comments