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.

Announcement15 min read
CocoIndex 1.0 to 1.1: a release timeline with seven milestones, from memo_key in 1.0.3 to LogicDep and connector keys in 1.1.0. 27 releases, 4 changelogs, and 50 contributors.
Enlarge cover

CocoIndex 1.1: the highlights since 1.0

Zoom in to see details.

CocoIndex 1.0 to 1.1: a release timeline with seven milestones, from memo_key in 1.0.3 to LogicDep and connector keys in 1.1.0. 27 releases, 4 changelogs, and 50 contributors.

CocoIndex builds fresh, structured context for AI from agent sessions, codebases, instant messages, meeting notes, and all the other unstructured data in an enterprise, and keeps it up to date with an incremental engine.

Since the v1.0 launch, most of our work has gone into running pipelines under production limits: time budgets, provider quotas, memory, and failures that stay local. We also made pipeline logic more flexible and runs cheaper across larger corpora.

Agent context breaks in four ways

Agents act on the context they read, and that context fails in four ways.

  • FragmentedCode, docs, instant messages, meeting notes, tickets, and now agent sessions live across many systems, and analysts estimate that 80–90% of data is unstructured.
  • Moving fastAn active codebase changes with every merge, so context built this morning can be out of date a few merges later.
  • MultiplyingGoogle says 75% of its new code is now AI-generated and approved by engineers, up from 50% in fall 2025, and the question has moved from building one agent to managing thousands.
  • Intention evaporatesA session ends and its reasoning is gone, so the next agent redoes the work or contradicts a decision someone made last week.

Gartner predicts that through 2026, organizations will abandon 60% of AI projects unsupported by AI-ready data.

CocoIndex v1 set out the approach: you declare the target states your agents should read, and an incremental engine keeps them in step with every source as it changes.

What changed since 1.0

  • Limits you set once. One deadline for a call tree (coco.timeout()), one quota shared by components (RateLimiter), and a component cap that holds across a hierarchy of any depth.
  • Failures stay local, keys stay stable. A bad row fails only its own component, and connector keys no longer collide or drift between runs.
  • Commits that cost less. Engine memory per Postgres row 1,449 B → 487 B; moving 5,000 target states 243 s → 1–2 s.
  • More state inside the pipeline. Per-argument memo keys, persistent state with coco.use_state(), LiveMap between stages, and coco.LogicDep for dependencies decided per call.
  • Visibility before and after an update. A preview that writes nothing, a listing of every target state and its owner, and stats per tenant or folder.
  • 10 new connectors, among them Snowflake, BigQuery, Azure Blob Storage, and Neo4j, plus syntax-aware code splitting for 11 more languages.

What you can run now

These 7 workloads got easier since 1.0; each diagram names the feature behind it. Hover or tap a diagram to explore. On phones, scroll wide diagrams sideways.

  • 30 sa.mdcommitsb.pdftimes outc.mdcommits

    A time budget per document. Wrap a file's processing in coco.timeout(timedelta(seconds=30)) and every call beneath it (parse, LLM summary, embedding) inherits the deadline. A file that overruns fails on its own: it applies no writes, and the next update retries it, while every other file commits. A per-file budget stays meaningful as the source grows, where a whole-run limit does not. (deadlines)
  • 1.0slot 1A · first full indexslot 2A · first full indexB waitsnowslot 1A · first full indexslot 2B refreshA · continued

    Multi-tenant live indexing. With each tenant as a live component under one max_inflight_components, a new tenant's first full index no longer makes another tenant's 3-item refresh wait behind its whole backlog. One RateLimiter per provider, shared through context, holds one quota across every tenant's components. (Slot lending and fair sharing, rate limiter)
  • 1.01.4 GBnow0.5 GB

    1M-row tables per component. A component that declares 1M Postgres rows costs the engine about 0.5 GB of memory instead of 1.4 GB, and an update where most of those rows are unchanged runs no per-row Python at commit (for plain-data rows, outside full_reprocess and schema changes). (cheaper commits)
  • entryclientloggerdebugmemo keyreusedleft out of the key

    A redeploy that doesn't re-embed. Mark client handles, loggers, and debug flags as not part of the memo key, and a new process reuses every embedding and LLM result whose inputs and code did not change. (memo keys)
  • coco.LogicDep(("parser", "python", 2 → 3))src/api/web/main.pyroutes.pyapp.tsindex.tsre-runreused from memo

    Dependency upgrades that re-run only the calls that used them. A dependency version used to go in a function's deps=, which covers every call. Recorded per call with LogicDep, a bump re-runs only the calls that recorded it. Parsers are the typical case: bumping the Python grammar re-runs the Python files and the directories above them, where before it re-parsed every file in every language; every other file is reused from memo. (logic dependencies)
  • printed in the check+ add ~ reprocess − deletememostarget actionscommitted statenothing written

    Preview in a pull-request check. cocoindex update --preview lists the adds, reprocesses, and deletes a change would make, runs on pipelines with nested targets, and writes no memos, target actions, or committed state (only ID counters advance), so it can't poison the next real update. (preview)
  • sourcedoc 1 · changeddoc 2doc 3 · deletedSnowflake · BigQueryrow 1upsertedrow 2unchangedrow 3removed

    Warehouse-native targets. Declare rows into Snowflake or BigQuery with the same incremental reconciliation as a Postgres table: only changed rows are upserted, and rows for deleted sources are removed. (Connectors)

Upgrading from 1.0.x

Check the upgrade notes before you move to 1.1.0
  • Linux before 1.0.24: a long update can hang. Upgrade to 1.0.24 or later.
  • Object-store prefix (v1.1.0): for S3, Azure Blob, and OCI, prefix="docs" now lists only docs/..., and target states built from objects that drop out of the listing are removed on the next update. Use path_matcher to select objects by how their names start.
  • Neo4j and FalkorDB (v1.1.0): moving an existing table to the new node and relationship APIs takes two updates. Skipping the first deletes the table’s nodes or edges.
  • First update after 1.1.0: Google Drive items get new keys and are reprocessed, and values that reference one object twice get new memo fingerprints, so memoized work on them runs once more and IDs from generate_id or IdGenerator may change.
  • LiteLLM timeout (v1.0.22) now bounds a whole request, and exception handlers (v1.0.23) receive the original typed exception.

The full lists are in the upgrade notes for 1.0.17–1.0.25 and 1.0.26–1.1.0.

Run under real limits

Each limit is set in one place, and the engine enforces it.

coco.timeout(): one deadline for a whole call tree (v1.0.17)

coco.timeout() (v1.0.17) gives a call tree one absolute deadline, so you don’t have to pass a timeout through each call. @coco.fn calls, coco.map() item tasks, and coco.use_mount() children inside the with block inherit it. This example sets a 30-second budget for processing a file:

python
@coco.fn(memo=True)
async def process_file(file: FileLike, target: postgres.TableTarget[DocRow]) -> None:
    # 30-second budget for this file; every call below checks it.
    with coco.timeout(timedelta(seconds=30)):
        parsed = await coco.use_mount(coco.component_subpath("parse"), parse, file)
        summaries = await coco.map(summarize, parsed.sections)
        summary = "\n".join(summaries)
        vector = await embed(summary)
    target.declare_row(
        row=DocRow(name=out_name(file), summary=summary, embedding=vector)
    )

The deadline is cooperative. CocoIndex checks it at its own checkpoints and raises coco.DeadlineExceededError, a subclass of TimeoutError. A run that times out applies no target writes and memoizes nothing, so the next update retries it. The deadline does not extend to work the caller doesn’t wait for (mount() and mount_each() children and live components). Batched function bodies and target writes do not inherit it either. The built-in retry helpers treat their own limit as a nested timeout, so the shorter budget wins.

component process_file(file) with coco.timeout(30s): set once, here submit · target sinks after processing succeeded; shared with other components mount_each(files) background: never awaited; same for mount() use_mount(parse, file) @coco.fn parse(file) with coco.timeout(10s): narrows: min(remaining, 10s) coco.map(summarize, sections) summarize(s1) summarize(s2) … @coco.fn embed(text) batched body one call serves many callers' budgets inherits the same deadline, no configuration chain stops: background or shared work Observed at checkpoints: entering a @coco.fn, use_mount(), or coco.check_cancellation(). A checkpoint past the deadline raises DeadlineExceededError.

RateLimiter: one quota shared by every component (v1.0.8)

RateLimiter (v1.0.8) is a token bucket that components share. Every component that acquires from the same instance draws on one budget, and concurrent callers are served in arrival order. It replaces hand-rolled sleep loops at each call site.

In 1.1.0 a batched function takes two more parameters to control requests. rate_limiter takes one token per batch instead of one per call, which fits APIs where each batch is one request. max_in_flight caps how many batches run at once. A batch that isn’t full yet can start as soon as a slot frees, instead of waiting until no batch is running. This example limits batches to 4 concurrent requests:

python
from cocoindex.resources.rate_limit import RateLimiter

limiter = RateLimiter(max_rows_per_second=1.0)

@coco.fn.as_async(
    batching=True,
    max_batch_size=100,
    max_in_flight=4,
    rate_limiter=limiter,
)
async def fetch(ids: list[str]) -> list[Item]:
    return await api.fetch_many(ids)  # one request, one token

The LiteLLM embedder and transcriber also gained limits of their own in 1.0.22: timeout bounds one request end to end, retries included, and max_inflight_requests caps the requests one embedder keeps open against its backend.

coco.RetryWithSmallerBatch: a failed batch splits until the bad item stands alone (v1.0.17)

The engine can split and retry a failed batch so that one bad input does not fail the rest. A batched function body can raise coco.RetryWithSmallerBatch (v1.0.17), and the engine halves the batch and retries the halves, down to single items. This helps with a provider’s per-request token cap, a rejected input, or a GPU running out of memory. At size one the engine raises the original error for that item only. LiteLLMEmbedder and SentenceTransformerEmbedder already do this, for example when voyage-code-3 rejects a batch over 120k tokens, or on GPU out-of-memory.

Since 1.0.23 the engine applies the same rule to the batches it builds for target writes. A sink call is one connector write to the target. The engine merges writes from components that finish while a sink call is in flight into the next call. A failure in that call used to fail every component in it. In one case, one bad row in a sink call of 59 rows rolled back the writes of 58 other components. A failed sink batch is now split along component boundaries and the halves are re-applied, so the error reaches only the component that caused it. Connector code doesn’t change, and the happy path is still one sink call.

A B C D E F G H 1 call · fails E F G H fails E F fails F fails alone A B C D committed G H committed E committed 7 of 8 components committed, 7 sink calls in all F gets its own error, nothing else rolls back At most 2n − 1 sink calls for n components, about 2·log₂(n) when a single component is bad.

max_inflight_components: a concurrency cap that can’t deadlock a hierarchy (v1.0.26)

max_inflight_components (default 1024) caps how many processing components execute at once, and since 1.0.26 that cap holds across a hierarchy of any depth. Before, a parent waiting on its children held a slot, so the engine released it when the parent mounted its first child to avoid deadlock, which left everything after that point unbounded. One indexer ran out of memory with about 15,000 file components in flight under a limit of 256.

Now a waiting parent keeps its slot and lends it to one child at a time. A blocked parent always has one child that can run, so the hierarchy completes even with a limit of 1. In 1.1.0 the engine also shares the pool fairly between independent updates, so a small live refresh no longer waits behind a new component’s first full index.

max_inflight_components = 2 pool · 0 free slot 1 slot 2 process_dir holds slot 1 waiting on children lends file 1 slot 1 file 2 slot 2 file 3 file 4 running on the lent slot 1 running on slot 2 from the pool waiting for a free slot waiting for a free slot running waiting holds a slot, blocked in use The first child runs on its parent's slot, so a waiting parent always has one child that can run: a hierarchy of any depth completes even at limit 1.

coco.GPU and coco.GPUPool: GPU fractions and whole-card reservations (v1.0.15, v1.0.25)

Since 1.0.15, a function run with runner=coco.GPU takes a GPU from a pool for the duration of the call. coco.GPU(0.5) takes half of one, so two such calls share a card. In 1.0.25 CocoIndex rewrote the pool in Rust and exposed it as coco.GPUPool. Queued requests reserve capacity in arrival order, so a stream of fractional requests can’t starve a whole-GPU one, and acquire_full(n) reserves n free GPUs at once, for example for a model sharded across cards.

A pool with two GPUs

Illustrative example
Two calls share GPU 0

A and B each use half of GPU 0. GPU 1 is free.

GPU 0

100% in use

GPU 1

100% free

coco.GPU(0.5)
Whole jobneeds 2 whole GPUsNot requested
Call Cneeds 0.5 of one GPUNot requested

No calls have finished yet.

Fractions track scheduling capacity; they do not divide GPU memory. The runner returns capacity when a call finishes. With the pool API, return each allocation with release(gpu_id, fraction). GPU pool implementation.

More state inside the pipeline

More of what a pipeline remembers now lives in the engine, under the same reconciliation rules as the rest of the app.

memo_key: recompute only when an input that matters changes (v1.0.3)

Avoid repeating paid embedding or LLM calls when only a client, logger, config object, or debug flag changes. @coco.fn takes a per-argument memo_key (v1.0.3) to control the memo cache key. A callable transforms an argument before fingerprinting, and None leaves the argument out of the key. This example keys entry by name and version and excludes extra:

python
@coco.fn(memo=True, memo_key={"entry": lambda e: (e.name, e.version), "extra": None})
def transform(entry: SourceDataEntry, extra: str) -> str:
    ...

coco.use_state(): state that survives updates (v1.0.8)

coco.use_state() (v1.0.8) lets a component keep typed state across updates in the engine’s LMDB state store. Running totals, seen-entity sets, watermarks, and stateful deduplication used to need a Redis or Postgres sidecar.

LiveMap: a bridge between a producing and a consuming stage (v1.0.8)

LiveMap (v1.0.8) is an in-memory keyed collection that connects a producing and a consuming stage of the same live run. Producing components declare entries into it as target states. The consuming side reads it as a live source through mount_each(), which mounts one live component per entry and drops it when its producer stops declaring the key.

PRODUCERS LIVE COMPONENTS LiveMap key → value ~ upd user:2 + add user:5 − del user:4 user:1 component(1) user:2 updated component(2) re-run user:3 component(3) user:5 new component(5) mounted user:4 removed component(4) dropped Keys appear and vanish; CocoIndex mounts and drops one live component each.

coco.auto_refresh(): polling with reconciled deletes (v1.0.7)

coco.auto_refresh() (v1.0.7) re-runs a processor on an interval as a live component. Each cycle reconciles target states against the previous one. When sync_users stops declaring a row, CocoIndex deletes it. Cycle failures go through one error-handling channel. This example refreshes users every 5 minutes:

python
await coco.mount(
    coco.auto_refresh(sync_users, interval=timedelta(minutes=5)),
    db, target,
)

coco.LogicDep: invalidate only the calls that used a changed dependency (v1.1.0)

coco.LogicDep (v1.1.0) lets a call record only the logic dependencies it uses. @coco.fn fingerprints a function’s logic, so editing the function invalidates the cached results that depend on it. Some dependencies are decided per call: a tree walk’s visit_file depends on the parser for that file’s language only. coco.LogicDep declares such a value at module import, and coco.use_logic_dep() records it for the current call. This example records the parser dependency for each file:

python
PARSER_DEPS = {
    name: coco.LogicDep(("parser", name, version))
    for name, version in PARSER_VERSIONS.items()
}

@coco.fn(logic_tracking="self", version=1)
async def visit_file(file: File) -> None:
    language = detect_language(file.path)
    if (dep := PARSER_DEPS.get(language)) is not None:
        coco.use_logic_dep(dep)  # this call's logic also depends on that parser
    ...

When the Python parser’s LogicDep gets a new version, only the Python files and the directories above them re-run. Every other subtree is reused from memo.

coco.LogicDep(("parser", "python", 2 → 3)) src/ api/ web/ main.py parser:python v2 routes.py parser:python v2 app.ts parser:ts v1 index.ts parser:ts v1 ↑ dependency each call recorded re-run reused from memo api/ and src/ re-run too: their memo entries recorded the dependency through their children.

A related addition for library authors, coco.logic_propagated_to_callers() (1.0.26), carries a user callback’s logic through a library layer whose fingerprint excludes its callees (logic_tracking="self"), so an edit to the callback still invalidates the library’s memos.

See what an update will do, and what it did

Review an update before it writes anything, for example in a pull-request check, and see every target state with the component that wrote it.

cocoindex update --preview: a preview that writes nothing (v1.0.8, v1.0.26)

Preview an update before writing to its targets with cocoindex update --preview. Preview arrived in 1.0.8 for target states with nothing nested under them. In 1.0.26 it reached nested states, such as rows under a Postgres table or files under a directory target, so it now runs on pipelines with nested target states. A preview reads cached results without changing them and writes no committed state. This makes it safe to run at any time: it can’t make the next real update skip work. Run a preview for an app as follows:

bash
cocoindex update --preview path/to/app.py

cocoindex show: every target state and the component that owns it (v1.0.12 to v1.0.18)

Inspect what CocoIndex wrote and which component owns it with cocoindex show (v1.0.12 to v1.0.18). CocoIndex records every declared target state together with its owner. --target-states lists every tracked target state with its owner and marks entries nothing owns anymore as [dangling]. With --db and --app-name it reads a database directly, without importing the app or installing its dependencies. This command lists target states as a tree:

bash
$ cocoindex show --db ./cocoindex.db --app-name FilesTransform --target-states --tree
Target states:
- @cocoindex/localfs
  - [null,"output_html/data__bizarre_animals.md.html"]
    owner:/@process_file/"bizarre_animals.md"
  - [null,"output_html/data__chuck_norris.md.html"]
    owner:/@process_file/"chuck_norris.md"

coco.stats_group(): stats by tenant, project, or folder (v1.0.7)

coco.stats_group(title) (v1.0.7) breaks stats down by data slice, such as a tenant, a project, or a source folder, in addition to the existing breakdown by processor. Everything mounted inside the block reports separately under title, so you can see which tenant is growing and which one caused a reprocess storm. This example reports stats for each tenant:

python
for tenant in tenants:
    with coco.stats_group(f"tenant:{tenant.id}", report_to_stdout=True):
        files = localfs.walk_dir(tenant.docs_dir, ...)
        await coco.mount_each(process_doc, files.items(), target)

Commits that cost less, especially when little changed

A component can now declare 1M rows, and an update where most of them are unchanged runs no per-row Python at commit on the SQL, warehouse, LanceDB, and graph table targets (for plain-data rows, outside full_reprocess and schema changes).

  • Batched target writes across components (v1.0.15). The engine batches rows that many components declare into one target and applies them together. Before, a 50-row ingest into LanceDB made about 50 commits and 50 table versions.
  • Large target updates (v1.0.25). The engine holds declared rows encoded instead of as Python objects and computes fingerprints natively. The SQL, warehouse, LanceDB, and graph table targets skip reconcile() for unchanged rows. Postgres upserts of scalar-only tables use unnest, 2,000 rows per statement. Tables with pgvector, enum, or domain columns stay on VALUES. Composite-key deletes match against one key list instead of an OR chain.
  • Moving target states between components (v1.1.0). Commit time was quadratic in the number of moved targets. Each previous owner’s tracking record (what the engine stored about that owner’s target states) is now decoded and encoded once per commit.
  • LMDB (v1.0.10, v1.0.15). The engine prefetches cached results and state in one read transaction per cycle. The state store grows its map automatically when it fills, so COCOINDEX_LMDB_MAP_SIZE needs no manual tuning.
MeasurementBeforeAfter
Engine memory per declared Postgres row1,449 B487 B
200,000 unchanged rows at commit, no-op sink (no reconcile() calls after)2.34 s1.34 s
Postgres upsert, 631,119 rows, 10 connections5.1⁠–⁠5.6 s2.8⁠–⁠3.2 s
Postgres delete, 8,000 4-column keys59.1 s0.26 s
Move 5,000 target states in one commit (debug build)242.7 s1.0⁠–⁠1.8 s

Failures stay local, keys stay stable

One bad document no longer takes its neighbors’ writes down with it, and connector keys no longer collide or drift between runs. S3 overwrites within the same second now resolve correctly.

  • Connector keys (v1.1.0). CocoIndex matches every source item and target state with its previous run by key. An audit of how every Python connector builds its keys closed several edge cases. These included two objects sharing one key (Google Drive files with the same name, S3 keys that differ only in a doubled /), one object’s key changing between runs (a case-only rename on macOS), and deletes that missed their object.
  • Long updates on Linux (v1.0.24). Under sustained load, a long App.update() could hang permanently on LMDB’s writer lock. Each write transaction now stays on one OS thread from open to commit.
  • Shared write transactions (v1.0.25). Concurrent commits share one LMDB write transaction. A connector rejecting one component’s declared value used to fail the commit of every component batched with it, including components of other apps in the same Environment. Only the failing component gets the error; the others commit in a transaction of their own.
  • Memoization (v1.0.23 to v1.1.0). Two overlapping runs of a memoized component with the same key now execute once. A re-run notebook cell or importlib.reload no longer drops the memos of the surviving function. Memo fingerprints depend only on values, not on object identity.
  • Schema changes under full_reprocess (v1.0.20, v1.0.21). The table and graph targets did not apply schema changes that arrived in a full_reprocess run. Later updates reported success while the target drifted. Fixed in Postgres, SQLite, Doris, Snowflake, BigQuery, SurrealDB, LanceDB, Neo4j, and FalkorDB.
  • Security. The Postgres and SQLite connectors validate table and column identifiers before they put them into SQL (v1.0.4). litellm 1.107.0, a release published to PyPI with a credential stealer, is excluded from every litellm requirement (v1.0.26).

Connectors

CocoIndex added 10 connectors from 1.0.1 to 1.1.0.

ConnectorKindRelease
OCI Object Storage, with live bucket watchingSourcev1.0.1
Apache IggySourcev1.0.7
Azure Blob StorageSourcev1.0.16
FalkorDBGraph targetv1.0.1
Neo4jGraph targetv1.0.3
TurbopufferVector targetv1.0.3
zvecVector targetv1.0.11
ValkeyVector targetv1.0.12
SnowflakeWarehouse targetv1.0.15
BigQueryWarehouse targetv1.0.16

Changes to existing connectors:

  • LanceDB: background table compaction and new columns added in place (v1.0.7), then vector and full-text index management (v1.0.11).
  • Qdrant: native sparse vectors for hybrid search (v1.0.16).
  • Local file system: in live mode, a periodic rescan catches events the OS watcher missed (v1.0.15).
  • SurrealDB: an overhaul with declare_fields, flexible record IDs, and typed parameters (v1.0.25). The connector raises statement errors instead of swallowing them.
  • Neo4j and FalkorDB: node_target and relationship_target APIs replace the table and relation APIs (v1.1.0). The old APIs remain available but are deprecated.

Operations, SDKs, and examples

  • Code splitting in 11 more languages (v1.0.3 to v1.0.26). RecursiveSplitter gained tree-sitter grammars for Svelte, Vue, Julia, Elm, Astro, Bash, CMake, HCL, Dart, Lua, and Nix.
  • Speech-to-text (v1.0.1). LiteLLMTranscriber transcribes audio inside a pipeline through any LiteLLM-backed provider. In 1.0.22 transcription requests gained retries.
  • Entity resolution in parallel (v1.0.7). Entity resolution resolves independent components of the candidate graph in parallel.
  • Rust SDK. The core SDK is separate from the Python bindings (v1.0.5). In 1.0.25, #[cocoindex::function(memo, batching)], context_key!, and SchemaFields made batching, context keys, and connector schemas declarative. Start with the Rust quickstart.
  • 17 example walkthroughs (v1.0.13), written so that a coding agent can follow them step by step.
  • Meeting notes to a knowledge graph now runs on Neo4j, FalkorDB, and SurrealDB.
  • Slides to speech narrates locally on the CPU without a TTS API key, and re-runs only the slides you edit.

Thanks

The four changelogs thank 50 contributors by name, more than 30 of them first-time contributors. The contributors behind the features this post leads with:

Each changelog thanks everyone who contributed to it. For every change, see the four changelogs linked above or the GitHub releases.

Frequently asked questions

How do I set a time budget per document in a CocoIndex pipeline?

Wrap the file's processing in coco.timeout(timedelta(seconds=30)). Every call beneath it, such as parsing, an LLM summary, or an embedding, inherits the deadline. A file that overruns applies no writes and the next update retries it, while every other file commits. See coco.timeout().

How can several components share one API rate limit?

Give them the same RateLimiter instance. It is a token bucket: every component that acquires from it draws on one budget, and concurrent callers are served in arrival order. Since 1.1.0 a batched function can also take rate_limiter, which uses one token per batch, and max_in_flight, which caps concurrent batches. See RateLimiter.

How do I avoid re-embedding everything when I redeploy?

Leave client handles, loggers, and debug flags out of the memo key with memo_key on @coco.fn. A new process then reuses every embedding and LLM result whose inputs and code did not change. See memo_key.

Can I see what a CocoIndex update will change before it writes anything?

Yes. cocoindex update --preview lists the adds, reprocesses, and deletes a change would make, and writes no memos, target actions, or committed state. Only ID counters advance. It works in a pull-request check. See --preview.

How much memory does CocoIndex use per Postgres row?

Engine memory per declared Postgres row fell from 1,449 B to 487 B, so a component that declares 1M rows costs about 0.5 GB instead of 1.4 GB. See commits that cost less.

What should I check before upgrading to CocoIndex 1.1?

Upgrade Linux deployments to 1.0.24 or later, because a long update can hang before it. For S3, Azure Blob, and OCI, prefix="docs" now lists only docs/.... Moving a Neo4j or FalkorDB table to the new APIs takes two updates. Google Drive items get new keys and are reprocessed on the first update. See upgrading from 1.0.x.

Build fresh context for your agents.

CocoIndex keeps derived data in sync with its sources. Only what changed re-runs.