$npx skillfedfor your agent

cocoindex

With CocoIndex, users declare the transformation, CocoIndex creates & maintains an index, and keeps the derived index up to date based on source update, with minimal computation and changes.

With conditionsPyPI Python ModulesReleased Aug 2026102.2K downloads / mopermissive licensePlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — cocoindex-1.0.20-cp311-abi3-macosx_10_12_x86_64.whl · cocoindex-1.0.20-cp311-abi3-macosx_11_0_arm64.whl · cocoindex-1.0.20-cp311-abi3-manylinux_2_28_aarch64.whl
v1.0.20 · released 2026-08-12 · Python >=3.11 · 8 runtime deps: typing-extensions, click, rich, python-dotenv, watchdog, numpy, psutil, msgspec

Yes, if you are building AI agents or LLM applications that need fresh context and want to avoid the cost and latency of full re-indexing on every update. The incremental engine, Rust-backed performance, and Apache 2.0 license make it production-ready. Install friction is moderate due to dependencies, but wheels are widely available. No security vulnerabilities are known. Not necessary if your data is small, infrequently updated, or you don't need real-time freshness.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or later; async/await syntax required; depends on external connectors (e.g., PostgreSQL) for target storage.
  • Medium install friction due to 8 runtime dependencies including numpy and psutil, but wheels are available for modern Python versions (3.11–3.14) across macOS, Linux, and Windows.
  • Package is actively maintained with a release just 2 days old.

License · maintenance · safety

permissive license (permissive) — Licensed under Apache 2.0 (permissive), which allows commercial use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.

last release 2026-08-12 (2 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 102,206 downloads/mo, #12,884 on PyPI

Verify before relying

pip install cocoindex

import cocoindex as coco
from cocoindex.connectors import localfs, postgres
from cocoindex.ops.text import RecursiveSplitter

@coco.fn(memo=True)
async def index_file(file, table):
    for chunk in RecursiveSplitter().split(await file.read_text()):
        table.declare_row(text=chunk.text)

@coco.fn
async def main(src):
    table = await postgres.mount_table_target(PG, table_name="docs")
    await coco.mount_each(index_file, localfs.walk_dir(src).items(), table)

coco.App(coco.AppConfig(name="docs"), main, src="./docs").update_blocking()
  • Whether the Rust engine and incremental computation actually reduce re-embedding cost in practice for large corpora.
  • Performance characteristics and scalability limits when processing petabyte-scale stores.
  • Availability and maturity of connectors beyond localfs and postgres.
  • Whether the package is suitable for real-time streaming or primarily batch-oriented workflows.
Same gist for agents: .md · .json

What it is and what it does

CocoIndex is a Python library that builds and maintains live indexes of source data—codebases, documents, PDFs, Slack messages, and videos—for AI agents and LLM applications. Rather than re-processing entire datasets on each update, it uses an incremental engine to identify and recompute only the changed portions (the delta), keeping derived indexes fresh without the overhead of full re-embedding or re-indexing cycles. The library is built on a Rust core for production-grade performance and includes connectors for common sources (local filesystems, databases) and targets (PostgreSQL, vector stores).

You declare your transformation logic in Python using decorators and async functions, then CocoIndex handles the incremental scheduling, change propagation, and state management. It's designed for data engineering workflows in AI—particularly RAG pipelines and agent context management—where stale or incomplete data undermines agent reasoning. The package supports modern Python (3.11–3.14), runs on macOS, Linux, and Windows, and carries no known security vulnerabilities.

Use it for

  • Keep a RAG vector store continuously fresh as source documents change, re-embedding only modified or new chunks.
  • Maintain a live codebase index for AI coding agents, updating only files that have changed since the last run.
  • Build an incremental ETL pipeline that transforms and loads data into a data warehouse, processing only deltas.
  • Index meeting notes and Slack messages in real-time for agent context without re-processing the entire conversation history.
  • Reconcile changes across joined or looked-up records in a data pipeline without touching unchanged rows.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building AI agents or LLM applications that need fresh context and want to avoid the cost and latency of full re-indexing on every update.

The incremental engine, Rust-backed performance, and Apache 2.0 license make it production-ready. Install friction is moderate due to dependencies, but wheels are widely available. No security vulnerabilities are known. Not necessary if your data is small, infrequently updated, or you don't need real-time freshness.

Install

cocoindex on PyPI

Before you install

Medium install friction due to 8 runtime dependencies including numpy and psutil, but wheels are available for modern Python versions (3.11–3.14) across macOS, Linux, and Windows. Package is actively maintained with a release just 2 days old.

Requires Python 3.11 or later; async/await syntax required; depends on external connectors (e.g., PostgreSQL) for target storage.

License in practice

Licensed under Apache 2.0 (permissive), which allows commercial use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.

Quickstart

pip install cocoindex

import cocoindex as coco
from cocoindex.connectors import localfs, postgres
from cocoindex.ops.text import RecursiveSplitter

@coco.fn(memo=True)
async def index_file(file, table):
    for chunk in RecursiveSplitter().split(await file.read_text()):
        table.declare_row(text=chunk.text)

@coco.fn
async def main(src):
    table = await postgres.mount_table_target(PG, table_name="docs")
    await coco.mount_each(index_file, localfs.walk_dir(src).items(), table)

coco.App(coco.AppConfig(name="docs"), main, src="./docs").update_blocking()

Verify before relying

  • Whether the Rust engine and incremental computation actually reduce re-embedding cost in practice for large corpora.
  • Performance characteristics and scalability limits when processing petabyte-scale stores.
  • Availability and maturity of connectors beyond localfs and postgres.
  • Whether the package is suitable for real-time streaming or primarily batch-oriented workflows.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.11
Install frictionMedium. Platform-specific wheel
Runtime dependencies
8 packages
typing-extensionsclickrichpython-dotenvwatchdognumpypsutilmsgspec
MaintenanceActively maintained 2 days since the last release
First released
Downloads102,206 / month, #12,884 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Free Threading :: 2 - BetaProgramming Language :: RustTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: IndexingTyping :: Typed

Evidence: cocoindex-1.0.20-cp311-abi3-macosx_10_12_x86_64.whl; cocoindex-1.0.20-cp311-abi3-macosx_11_0_arm64.whl; cocoindex-1.0.20-cp311-abi3-manylinux_2_28_aarch64.whl; cocoindex-1.0.20-cp311-abi3-manylinux_2_28_x86_64.whl; cocoindex-1.0.20-cp311-abi3-win_amd64.whl; cocoindex-1.0.20-cp314-cp314t-macosx_11_0_arm64.whl; cocoindex-1.0.20-cp314-cp314t-manylinux_2_28_aarch64.whl; cocoindex-1.0.20-cp314-cp314t-manylinux_2_28_x86_64.whl; cocoindex-1.0.20-cp314-cp314t-win_amd64.whl

Tags

Capabilities
incremental indexing for ai agentslive context for llm applicationscontinuous data pipelinerag pipeline with incremental updatesreal-time document indexingetl for ai workloadsdelta-only data transformation
Topics
incremental-indexingrag-pipelineai-agents
PyPI keywords
indexingreal-timeincrementalpipelinesearchaietlragdataflowcontext-engineering

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “incremental indexing for ai agents”

  • cocoindexCocoIndex maintains a live, incrementally-updated index of codebases,…
  • code-review-graphBuilds a structural knowledge graph of your codebase using…
  • memsearchMemsearch builds a searchable semantic memory index from markdown…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also graphiti-core · llama-index-vector-stores-chroma · haystack-ai · llama-index-core · llama-index-vector-stores-milvus · composio-core · llama-index-vector-stores-qdrant · qwen-agent · google-agents-cli · chroma-mcp

Further reading