19 posts
CocoIndex 1.2 and 1.3: partial updates and data dependencies
CocoIndex 1.1.1 to 1.3.1: update part of an app, data dependencies for memoized work, a Discord source, a Google Docs target, and an exit status CI can read.
Trilemma: recursive tasks, a concurrency cap, no deadlock in large-scale agentic systems
Why it is hard to get all three, and how we did it: a parent lends its slot to one child at a time, with proofs, edge cases and repros.
CocoIndex 1.1: the highlights since 1.0
CocoIndex 1.0.1 to 1.1.0 in 27 releases: deadlines and rate limits, persistent state, previews that write nothing, cheaper commits, and 10 new connectors.
Dry-run previews, per-call dependencies and bounded batching
CocoIndex 1.0.26 and 1.1.0 add a preview that stores no state, per-call logic dependencies, bounded batching and component concurrency.
Timeouts, batch retries, and target inspection in CocoIndex
CocoIndex 1.0.17–1.0.25 adds timeouts, batch retries, target inspection, faster target updates, and a Linux hang fix.
Persistent state, rate limits, Snowflake and BigQuery
CocoIndex 1.0.8–1.0.16 adds per-component state, LiveMap, a shared rate limiter, batched target writes, and Snowflake, BigQuery and Azure Blob connectors.
Memoization keys, scheduled refresh and scoped stats
CocoIndex 1.0.1–1.0.7 adds per-argument memo keys, scheduled live refresh, scoped stats, OCI and Iggy sources, and Neo4j, FalkorDB and Turbopuffer targets.
Stream CSV changes to Kafka: publish only changed rows
Watch a folder of CSV files and publish each changed row as JSON to a Kafka topic with CocoIndex, with no producer loop.
CocoIndex V1 is Live!
CocoIndex V1 is live: a ground-up redesign of incremental data pipelines, built for AI engineers and agent builders shipping RAG, memory, and knowledge graphs.
Build a Knowledge Graph from YouTube Podcasts with an LLM
Build a pipeline that turns YouTube podcasts into a knowledge graph: extract speakers, statements, and entities with an LLM, then dedupe them with embeddings.
A Safe pickle Alternative: Serialize Python with Type Hints
Why CocoIndex replaced pickle with serialization that reads Python type hints to choose msgspec, Pydantic or restricted pickle for each value.
Build a Python Daemon for a CLI: Auto-Start, Upgrade, Stop
Five patterns for a Python CLI background daemon that auto-starts, upgrades transparently, and shuts down fast, from the daemon behind cocoindex-code.
Five new targets and Python 3.14 free-threading in CocoIndex
CocoIndex 0.3.27–0.3.34 adds Apache Doris, ChromaDB, FalkorDB, Ladybug and Pinecone targets, LocalFile change notifications and Python 3.14 free-threading.
Structured errors and Azure OpenAI support in CocoIndex
CocoIndex 0.3.11–0.3.26 adds structured errors with Python stack traces, warnings for slow live updates, Azure OpenAI and OpenRouter embeddings.
CocoIndex Changelog 0.2.21 - 0.3.10
Featuring batching support for CocoIndex functions, execution robustness, schema & type system improvements, custom source support, and more.
Adaptive Batching - 5x throughput on your data pipelines
CocoIndex batches concurrent calls to embedders and your own functions, with no timer to tune. Batching made the code_embedding example about 5x faster on a small embedding model.
CocoIndex Changelog 2025-10-19
Production-ready upgrades: durable execution, faster incremental processing over large datasets, GPU isolation, and richer native building blocks.
Thinking in Rust: Ownership, Access, and Memory Safety
A mental framework for Rust's memory safety concepts. Think systematically about ownership, references, Send, Sync, and Rc, Arc, RefCell, Mutex, etc.
Control Processing Concurrency in CocoIndex
How CocoIndex v1 caps concurrent processing components with one app-level limit, lends slots to nested mounts, and adds rate and batch bounds.
