Use CocoIndex with AI coding agents

The official CocoIndex agent skill covers the Python SDK only. For the Rust SDK, point Claude Code, Cursor, and other AI coding agents at the Rust SDK showcase and the Rust examples.

Version
v 1.0.14
Last reviewed
Nov 4, 2026
ExperimentalThe Rust SDK is experimental. It is outside CocoIndex's compatibility promise: any release, including a minor one, may change or remove its API. It is not yet published on crates.io.

CocoIndex ships an official agent skill for AI coding agents, but it covers the Python SDK only: its concepts, API reference and patterns are Python code. Installing it into a Rust project would teach your agent the Python API.

For a Rust pipeline, give your agent these references instead:

  • rust/sdk/SHOWCASE.md — a tour of the Rust SDK API: apps, functions, memoization, mounting, context, targets and connectors, each with a code sample.
  • examples/rust/ — complete Rust pipelines (text embedding, code embedding, knowledge graphs, Kafka, and more), each with a README.md.
  • These docs. Every page has a Markdown twin at /docs/rust/<slug>.md, and /docs/rust/llms.txt lists them all.

A short note in your project’s AGENTS.md or CLAUDE.md that points the agent at these files is usually enough. For example:

AGENTS.md
This project uses the CocoIndex Rust SDK (the `cocoindex` crate).
Before writing pipeline code, read
https://github.com/cocoindex-io/cocoindex/blob/main/rust/sdk/SHOWCASE.md
and the closest example under
https://github.com/cocoindex-io/cocoindex/tree/main/examples/rust.

Contributing

A Rust version of the skill is welcome. The skill lives in skills/cocoindex/ and is versioned alongside the codebase. See the contributing guide for how to get started.