frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Qwen 3.5: 9B, 4B, 2B, 0.8B

https://huggingface.co/collections/Qwen/qwen35
1•tosh•2m ago•0 comments

Deflationary spiral if AI sparks unemployment and only benefits a small elite

https://www.businessinsider.com/ai-layoffs-deflation-us-economy-job-market-outlook-citi-2026-2
1•robtherobber•3m ago•0 comments

Anthropic and Alignment (Ben Thompson)

https://stratechery.com/2026/anthropic-and-alignment/
1•toomanybits•3m ago•0 comments

UK launches consultation asking for views on under-16s social media ban

https://www.bbc.com/news/articles/cvg3vjkx9d7o
3•breve•4m ago•0 comments

Tipping points and ecosystem collapse are the real geopolitical risk

https://news.mongabay.com/2026/02/tipping-points-and-ecosystem-collapse-are-the-real-geopolitical...
1•PaulHoule•4m ago•0 comments

Memgraph Production Telemetry Stack with AWS, ClickHouse, and Grafana

https://memgraph.com/blog/memgraph-production-telemetry-stack-aws-clickhouse-grafana
2•taubek•5m ago•0 comments

Apt Graph Colouring

https://github.com/RyanGibb/apt-graph-colouring
1•ryangibb•6m ago•0 comments

Global emissions from digital technologies were largely obscured

https://www.nature.com/articles/s44458-025-00022-6
2•doener•9m ago•0 comments

Show HN: AgentKeeper – cognitive persistence layer for AI agents

1•thinklanceai•9m ago•0 comments

FX (of Phenoelit) has passed away

https://defcon.social/@thedarktangent/116157827849844661
2•eqvinox•9m ago•1 comments

Show HN: RippleMessenger – A Blockchain-Based Messenger

https://github.com/ripplemessenger/RippleMessengerClient
1•ripplemessenger•10m ago•0 comments

C64: Putting Sprite Multiplexing to Work

https://bumbershootsoft.wordpress.com/2026/02/28/c64-putting-sprite-multiplexing-to-work/
1•ibobev•10m ago•0 comments

Day Roguelike 2026: Day 1

https://www.gridbugs.org/7drl2026-day1/
1•ibobev•12m ago•0 comments

Dial-Up over VoIP with a Commodore Modem from 1985

https://www.gridbugs.org/dial-up-over-voip-with-a-commodore-modem-from-1985/
2•ibobev•12m ago•0 comments

Infrastructure Agents Guide – Design and operate AI agents for infra safely

https://blog.cloudgeni.ai/why-we-open-sourced-our-infrastructure-agent-architecture/
1•davletdz•12m ago•1 comments

Pydantic Monty: A Minimal Python Sandbox for AI Agents

https://pydantic.dev/articles/pydantic-monty
1•jonbaer•12m ago•0 comments

Would appreciate feedback on some light analysis on YC HR tech startups

https://substack.com/home/post/p-186734772
2•aarchitboora•13m ago•0 comments

Show HN: Sift – 10-12 HN discussions daily, ranked by practitioner depth

https://sift.1mb.dev/
1•vnykmshr•13m ago•0 comments

Wearable AI and the Risk of Human Manipulation

https://venturebeat.com/technology/what-if-the-real-risk-of-ai-isnt-deepfakes-but-daily-whispers
1•bonkerbits•13m ago•0 comments

AI is a tool. Don't try to make it a teammate

https://www.xfive.co/blog/ai-is-a-tool-not-a-teammate
3•lubos76•14m ago•0 comments

Pokémon turns 30 – how the fictional pocket monsters shaped science

https://www.nature.com/articles/d41586-026-00441-y
2•kgwgk•15m ago•0 comments

An honest take about AI [video]

https://www.youtube.com/watch?v=ZM2c33qy16U
1•mgh2•16m ago•0 comments

Show HN: A compression tool that reduces linux binary downloads by 6%

2•mohsen1•17m ago•0 comments

Clawed

https://www.hyperdimensional.co/p/clawed
1•jger15•17m ago•0 comments

The Root Cause Fallacy

https://fffej.substack.com/p/the-root-cause-fallacy
2•PretzelFisch•19m ago•0 comments

Show HN: AI powered platform for Brazilian due diligence

https://vero.stratir.com
1•VanceVP•19m ago•0 comments

Show HN: Self-destructing, end-to-end encrypted Pastebin

https://paste.ente.io
2•vishnukvmd•21m ago•1 comments

The CAP theorem for Agents

https://www.osohq.com/post/the-cap-theorem-for-agents
1•meghan•21m ago•0 comments

Ask HN: Websites requiring government ID

3•piratesAndSons•23m ago•0 comments

Show HN: Pulse – a beautiful service monitor that lives in your notch

https://github.com/jsattler/Pulse
1•jsattler•27m ago•0 comments