cocoindex / examples
AGENTS.md12k starsChanged 5 months agoApache-2.0View on GitHub
Guidance for AI coding agents (Claude Code, Cursor, etc.) working in this examples/ directory. Most top-level Python subfolders are self-contained, runnable CocoIndex v1 apps; rust/ contains Rust ports with per-example READMEs. CocoIndex v1 is a fundamental redesign from v0. Without context, LLMs tend to hallucinate the v0 flow-builder DSL and deprecated decorators. Install the official skill first — it teaches the correct v1 API. Quickest portable path for Codex and other Agent Skills-compatible clients is the hosted skill: Or clone…
- Reads credentials
- Installs packages
Trending
Quiet since July.about the whole repository
Who's talking about cocoindex-io/cocoindex
- @devshorts.in“OSS Highlight of the Week: CocoIndex – the open-source data indexing platform designed for AI applications! …”Bluesky · Mar 29, 2025 · 15 likes
- @badmonster0.bsky.social“CocoIndex - #opensource Real-time data transformation framework for AI. Ultra performant, with incremental …”Bluesky · May 22, 2025 · 14 likes
- A Hacker News story“Show HN: CocoIndex – Open-Source Data framework for AI, built for data freshness”Hacker News · Apr 23, 2025 · 14 points
- @cocoindex.bsky.social“🎉 CocoIndex just hit 1,000 ⭐️ on GitHub! Huge thanks to everyone who starred, forked, contributed, or …”Bluesky · May 6, 2025 · 12 likes
- @badmonster0.bsky.social“CocoIndex - github.com/cocoindex-io... - Build fresh knowledge for AI made to the top 3 in trending github …”Bluesky · Aug 14, 2025 · 10 likes
The biggest 5 of 93 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 93
Talked about on Bluesky, GitHub and Hacker News (93 times).
On Bluesky · 50
- Mar 29, 2025OSS Highlight of the Week: CocoIndex – the open-source data indexing platform designed for AI applications! 🎯 It simplifies RAG pipelines… — @devshorts.in15 likes and reposts
- May 22, 2025CocoIndex - #opensource Real-time data transformation framework for AI. Ultra performant, with incremental processing.… — @badmonster0.bsky.social14 likes and reposts · 1 reply
- May 6, 2025🎉 CocoIndex just hit 1,000 ⭐️ on GitHub! Huge thanks to everyone who starred, forked, contributed, or shared the love! We’re just getting… — @cocoindex.bsky.social12 likes and reposts · 1 reply
- Aug 14, 2025CocoIndex - github.com/cocoindex-io... - Build fresh knowledge for AI made to the top 3 in trending github in #rustlang! 🌟 star if you… — @badmonster0.bsky.social10 likes and reposts
- May 19, 2025Build Real-Time Product Recommendation Engine 👍 with LLM #OpenAI and Graph Database @neo4j.com 🔗 repo: github.com/cocoindex-io... 🔗… — @badmonster0.bsky.social10 likes and reposts
45 more on Bluesky
- Mar 29, 2025CocoIndex is open source under Apache License 2.0. We believe open sourcing CocoIndex will foster innovation, and create a vibrant… — @cocoindex.bsky.social9 likes and reposts · 1 reply
- Aug 12, 2025Multi-dimensional vectors? That’s how AI understands everything — text, images, audio, all at once. We broke it down here.… — @badmonster0.bsky.social8 likes and reposts · 1 reply
- Apr 13, 2025Knowledge graphs made easy 🚀! we added native builtins for Knowledge Graph in CocoIndex - github.com/cocoindex-io..., looking for… — @badmonster0.bsky.social8 likes and reposts · 2 replies
- Dec 6, 2025CocoIndex just hit Rust Trending! 🚀 github.com/cocoindex-io... Simplest way to connect data sources & keep targets fresh for AI… — @cocoindex.bsky.social7 likes and reposts · 1 reply
- Sep 5, 2025🛒 Building + Explaining a real-time product recommendation engine with LLM + Graph DB - #OpenSource 🚀 Tutorial:… — @badmonster0.bsky.social7 likes and reposts
- Aug 5, 2025CocoIndex (github.com/cocoindex-io...) now supports custom targets - make the AI agents to operate on always-current context effortlessly.… — @badmonster0.bsky.social7 likes and reposts
- Jul 13, 2025Context + Reliable LLM e.g., Claude code will be the future of coding agents. Checkout Cocoindex that brings fresh context for reliable… — @badmonster0.bsky.social7 likes and reposts
- Jul 10, 2025📚 Build LLM-ready, metadata-rich indexes from academic papers PDF in minutes. Get started:… — @badmonster0.bsky.social7 likes and reposts · 1 reply
- Jul 4, 2025wow cocoindex got to @github.com trending yesterday in Rust 🦀. But i missed the moment. Anyways, way to go! github.com/cocoindex-io...… — @badmonster0.bsky.social7 likes and reposts · 1 reply
- Jul 3, 2025github.com/cocoindex-io... Prepare data like LEGO. Few lines in Python, powered by Rust 🦀 for ultra performance Appreciate a star for the… — @badmonster0.bsky.social7 likes and reposts
- May 5, 2025992 ⭐️ Thank you! 🙏 Fresh data for AI www.star-history.com#cocoindex-io... github.com/cocoindex-io/cocoindex #starhistory #GitHub… — @badmonster0.bsky.social7 likes and reposts
- May 1, 2025Great data frameworks needs to be open sourced 🌟 #opensource github.com/cocoindex-io... #buildinpublic — @cocoindex.bsky.social7 likes and reposts · 1 reply
- Apr 20, 2025Speaking of consistent :) Just crossed 600 ⭐ today. Taking a break to celebrate ❤️ github.com/cocoindex-io... @cocoindex.bsky.social… — @badmonster0.bsky.social7 likes and reposts · 1 reply
- Jun 26, 2025🚀 Introducing CocoInsight - Make your AI data pipeline exceptionally easy to understand — step-by-step. 🌟Works with CocoIndex:… — @badmonster0.bsky.social6 likes and reposts
- Jun 1, 2025Tired of clunky ETL pipelines and stale data? Meet CocoIndex—the ultra-performant, open-source framework built in Rust for real-time data… — @cocoindex.bsky.social6 likes and reposts · 1 reply
- May 4, 2025built a real-time knowledge graph from docs using CocoIndex — extracts relationships + entity mentions with LLMs clean setup, incremental… — @badmonster0.bsky.social6 likes and reposts
- May 2, 2025The core engine of CocoIndex is written in #Rust. It is our first choice on the #OpenSource project for the data framework because of 1)… — @cocoindex.bsky.social6 likes and reposts
- Apr 19, 2025Make something people want (and cute;) ! Cute and mighty addition to the community - github.com/cocoindex-io... We are constantly… — @badmonster0.bsky.social6 likes and reposts
- Apr 6, 2025CocoIndex - Open source ETL to transform data for AI; with realtime incremental updates for low latency between source and index updates.… — @cocoindex.bsky.social6 likes and reposts
- Jul 7, 2025CocoIndex Crossed 2k stars last week with one day on Github Trending in Rust 🦀 . Thank you everyone who contributed, starred the repo and… — @badmonster0.bsky.social5 likes and reposts · 1 reply
- Jun 9, 2025🚀 Build Real-Time #Codebase Indexing for LLMs with Tree-sitter for coding agents. ~100 lines of Python get started: 🔗… — @badmonster0.bsky.social5 likes and reposts · 1 reply
- May 30, 2025🚀 Just launched: CocoIndex now supports real-time incremental processing from #AmazonS3 with #AmazonSQS. If your AI agent needs fresh data… — @badmonster0.bsky.social5 likes and reposts · 1 reply
- Dec 1, 2025github.com/cocoindex-io... — @badmonster0.bsky.social4 likes and reposts
- Jul 10, 2025What you get: ✅ LLM-extracted title, authors, abstract ✅ Embeddings for smart search ✅ Build 3 tables in one shot: metadata, author→paper,… — @badmonster0.bsky.social4 likes and reposts
- Jul 6, 2025github.com/cocoindex-io... Transform data for AI got to @github.com Rust Trending this week 🚀! @github-trending.bsky.social #rustlang… — @badmonster0.bsky.social4 likes and reposts
- Jul 5, 2025build code index for your coding agents ~ in 10 min cocoindex.io/blogs/index-... appreciate a star on my repo: github.com/cocoindex-io...… — @badmonster0.bsky.social4 likes and reposts · 1 reply
- Jul 1, 2025CocoIndex - super simple etl to prepare data for ai agents, with dynamic index - cross 2k Github stars today. github.com/cocoindex-io...… — @badmonster0.bsky.social4 likes and reposts · 1 reply
- Jun 23, 2025🚀 CocoIndex now officially supports LiteLLM. You can now plug any LiteLLM-supported model directly into your Coco AI data pipelines —… — @badmonster0.bsky.social4 likes and reposts
- May 30, 2025Prototype: "Does it work?" Production: "Will it keep working?" CocoIndex is built for production from day 0 — no hacks, no hand-waving.… — @cocoindex.bsky.socialsays it tested it4 likes and reposts
- May 25, 2025I've been a big fan of #Rust before I leave my last job. It is my first choice on the #OpenSource project github.com/cocoindex-io... for… — @badmonster0.bsky.social4 likes and reposts
- May 24, 2025CocoIndex is an ultra performant data transformation framework, with its core engine written in Rust. github.com/cocoindex-io... — @badmonster0.bsky.social4 likes and reposts
- May 22, 2025Build Real-Time Image Search 🔍 with vision model #CLIP by #OpenAI and #VectorDatabase @qdrant.bsky.social 🔗 repo:… — @badmonster0.bsky.social4 likes and reposts · 1 reply
- May 12, 2025github.com/cocoindex-io... — @badmonster0.bsky.social4 likes and reposts · 1 reply
- May 11, 2025CocoIndex - Open-source real-time data framework for AI Open-source real-time data framework for AI, supporting incremental processing and… — @pythonhub.dev4 likes and reposts
- May 1, 2025🚀 CocoIndex @cocoindex.bsky.social now officially supports @supabase.com 🎉! Super impressed by how exceptionally easy and smooth Supabase… — @badmonster0.bsky.social4 likes and reposts · 1 reply
- Apr 1, 2025checkout github.com/cocoindex-io... #buildinpublic #opensource — @cocoindex.bsky.social4 likes and reposts
- Mar 18, 2025We are officially open sourced! 🎉 We are thrilled to announce the open-source release of CocoIndex, the world's first engine that supports… — @cocoindex.bsky.social4 likes and reposts
- Dec 13, 2025🚀 CocoIndex + DSPy: structured extraction from patient intake forms LLMs as typed extractors, not black boxes. Production-ready with… — @cocoindex.bsky.social3 likes and reposts
- Dec 12, 2025🚀 CocoIndex just hit Rust Trending Again! 🦀 Why Rust? ⚡ Speed - C++ speed + memory safety 🔒 Reliability - No GC pauses or segfaults.… — @cocoindex.bsky.social3 likes and reposts
- Dec 8, 2025CocoIndex just hit Rust Trending Again! 🚀 github.com/cocoindex-io... With all the AI agents development, CocoIndex is becoming critical… — @cocoindex.bsky.social3 likes and reposts
- Nov 13, 2025checkout - github.com/cocoindex-io... — @badmonster0.bsky.social3 likes and reposts
- Oct 2, 2025Happy Hacktoberfest! Trick-or-treat 🎃🎃 CocoIndex - github.com/cocoindex-io... - tagged with hacktoberfest and fun issues, and ready to go… — @badmonster0.bsky.social3 likes and reposts
- Aug 10, 2025Effortless code context for AI - Star github.com/cocoindex-io... if you like it! link to full write up cocoindex.io/blogs/index-... — @badmonster0.bsky.social3 likes and reposts · 1 reply
- Jul 25, 2025Indexing Faces for Scalable Visual Search 🚀 Build your own Google‑style photo finder in minutes with face detection, embeddings and Qdrant… — @badmonster0.bsky.social3 likes and reposts · 1 reply
- Jul 11, 2025Build real-time knowledge graph from documents with LLM youtu.be/2KVkpUGRtnk?... Checkout - github.com/cocoindex-io... #OpenSource #Dev… — @badmonster0.bsky.social3 likes and reposts
On GitHub · 35
- Jul 10, 2026Add slides-to-speech blog proposal — cocoindex-io/blog-proposal4 reactions
- Jun 29, 2026`CocoIndex x Zvec` blog proposal — cocoindex-io/blog-proposal1 reaction · 2 comments
- Mar 23, 2026[upstream-sync] Rename prev_possible_states to prev_possible_records in TargetHandler::reconcile() (upstream PR #1783) — knitli/recoco1 reaction · 5 comments
- Mar 19, 2026[upstream-sync] Expose progress watching API for App/execution engine (upstream PR #1767) — knitli/recoco1 reaction · 2 comments
- Mar 16, 2026[upstream-sync] LocalFile source: ignore errors and warn in list() for resilient directory listing (upstream PR #1753) — knitli/recoco1 reaction · 2 comments
30 more on GitHub
- Mar 16, 2026[upstream-sync] ops_text module refactor: move output_positions and split elements (upstream PRs #1751, #1752) — knitli/recoco1 reaction · 2 comments
- Mar 16, 2026[upstream-sync] Support attachment providers for target states (upstream PR #1745) — knitli/recoco1 reaction · 2 comments
- Mar 16, 2026[upstream-sync] Expose progress watching API for App/execution engine (upstream PR #1767) — knitli/recoco1 reaction · 5 comments
- Mar 10, 2026[Upstream-Sync] [FEATURE] Add Ladybug target (Kuzu successor) — upstream PR #1487 — knitli/recoco1 reaction · 4 comments
- Mar 10, 2026[Upstream-Sync] Track dependency updates from upstream (not specific to v1.0.0 branch) — knitli/recoco1 reaction · 4 comments
- Mar 9, 2026[upstream-sync] Fix: function memoization must bypass cache when full_reprocess is set — knitli/recoco1 reaction · 3 comments
- Mar 9, 2026[upstream-sync] Batch LMDB write transactions automatically for improved throughput — knitli/recoco1 reaction · 3 comments
- May 25, 2026[upstream-sync] fix(engine): submit parent target states after child readiness (upstream #2014) — knitli/recoco0 reactions
- May 25, 2026[upstream-sync] refactor(state_store): remove ReadTxn from API; standalone reads per call (upstream #2010) — knitli/recoco0 reactions
- May 25, 2026[upstream-sync] fix(engine): scope GC-sweep read transaction to list_tombstones only (upstream #2004) — knitli/recoco0 reactions
- May 25, 2026[upstream-sync] fix(engine): concurrent preempt race + pending_process_token refactor (upstream #1994, #1996) — knitli/recoco0 reactions
- May 25, 2026[upstream-sync] feat(telemetry): add optional application label via env var (upstream #1992) — knitli/recoco0 reactions
- May 25, 2026[upstream-sync] feat(splitter): add Astro tree-sitter language support (upstream #1984) — knitli/recoco0 reactions
- May 18, 2026[upstream-sync] refactor(state_store): LMDB isolation, async I/O, and fn-memo cache series (upstream #1981–#1991) — knitli/recoco0 reactions
- May 11, 2026[upstream-sync] feat(splitters): add Svelte, Vue, and Julia tree-sitter language support (upstream #1937, #1942) — knitli/recoco0 reactions
- May 4, 2026[upstream-sync] security: bump Rust dep versions to clear Dependabot advisories (upstream #1907, #1850) — knitli/recoco0 reactions
- May 4, 2026[upstream-sync] fix(core): cancellation not propagated through tokio spawn boundaries (upstream #1902) — knitli/recoco0 reactions
- Apr 27, 2026[upstream-sync] feat(telemetry): add anonymous usage tracking in Rust core (upstream #1879) — knitli/recoco0 reactions
- Apr 27, 2026[upstream-sync] fix: eagerly register attachment providers for orphaned cleanup (upstream #1844) — knitli/recoco0 reactions
- Apr 13, 2026[upstream-sync] feat: Kafka source/target connectors and LiveMapFeed/LiveMapView protocol split (upstream #1809, #1801) — knitli/recoco0 reactions
- Apr 13, 2026[upstream-sync] fix(progress): elapsed timer freeze and PTY reader hang fixes (upstream #1821, #1822) — knitli/recoco0 reactions
- Apr 6, 2026[upstream-sync] fix: reset version on preempted target state ownership transfer (upstream #1797) — knitli/recoco0 reactions
- Apr 6, 2026[upstream-sync] feat: live_component.rs updates for LiveItemsView mount_each integration (upstream #1799) — knitli/recoco0 reactions
- Apr 6, 2026[upstream-sync] fix: add is_cancelled() to HostError trait for clean shutdown (upstream #1805) — knitli/recoco0 reactions
- Apr 6, 2026[upstream-sync] fix: clean up stale GC tombstone after live component incremental delete (upstream #1808) — knitli/recoco0 reactions
- Mar 30, 2026[upstream-sync] Fix component context plumbing for state/memo functions (upstream PR #1777) — knitli/recoco0 reactions
- Mar 30, 2026[upstream-sync] Add Novita AI as LLM provider (upstream PR #1781) — knitli/recoco0 reactions · 1 comment
- Mar 3, 2026Bump cocoindex from 0.3.33 to 0.3.34 — ryanyen2/semipy-package0 reactions
- Aug 8, 2025Add CocoIndex to LLM Framework — openbestof/awesome-ai0 reactions
- Apr 24, 2025Add cocoindex.md — hilmanski/freeStuffDev0 reactions · 1 comment
On Hacker News · 8
- Apr 23, 2025Show HN: CocoIndex – Open-Source Data framework for AI, built for data freshness14 points · 11 comments
- Mar 20, 2025Show HN: Open-Source Structured Extraction with LLM Using Ollama5 points · 2 comments
- Aug 12, 2025CocoIndex – open-source ETL saves you >90% compute for AI workloadssays it tested it4 points · 1 comment
- Jun 15, 2025Show HN: CocoIndex – Open-Source Data transformation for AI, only process delta4 points · 1 comment
- Mar 9, 2025Show HN: Fresh Data for AI (Open Source)4 points · 1 comment
3 more on Hacker News
- Mar 7, 2025Show HN: Open-Source ETL to index data4 points · 2 comments
- Dec 8, 2025Show HN: CocoIndex – Open-Source Data Engine for Dynamic Context Engineering2 points
- Jun 4, 2025Show HN: CocoIndex – Open-Source Real-time Data transformation framework2 points
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 60
Use the example's README as the source of truth.
- Very specific: line 80
When an example needs credentials or service configuration, required env vars are templated in that example's .env.example — cp it to .env …
- Very specific: line 148
Keep each Python example self-contained: its own pyproject.toml and README.md.
- Very specific: line 153
Don't commit generated artifacts (cocoindex.db, __pycache__, build output) — they're already git-ignored.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md — CocoIndex examples
Guidance for AI coding agents (Claude Code, Cursor, etc.) working in this examples/
directory. Most top-level Python subfolders are self-contained, runnable
CocoIndex v1 apps; rust/ contains Rust ports with per-example READMEs.
Before you write CocoIndex code: install the skill
CocoIndex v1 is a fundamental redesign from v0. Without context, LLMs tend to hallucinate the v0 flow-builder DSL and deprecated decorators. Install the official skill first — it teaches the correct v1 API. Quickest portable path for Codex and other Agent Skills-compatible clients is the hosted skill:
mkdir -p .agents/skills/cocoindex/references
curl -fsSL https://cocoindex.io/docs/skill.md -o .agents/skills/cocoindex/SKILL.md
for f in api_reference connectors patterns setup_database setup_project; do
curl -fsSL https://cocoindex.io/docs/references/$f.md -o .agents/skills/cocoindex/references/$f.md
doneOr clone the repo and copy the folder:
git clone --depth=1 https://github.com/cocoindex-io/cocoindex.git /tmp/cocoindex-skill
mkdir -p .agents/skills && cp -r /tmp/cocoindex-skill/skills/cocoindex .agents/skills/For Claude Code's native project path, use .claude/skills/cocoindex instead
of .agents/skills/cocoindex; the skill format is the same.
The skill itself lives at skills/cocoindex/ (SKILL.md +
references/). For Cursor, copy SKILL.md into .cursor/rules/. Full machine-readable
docs: https://cocoindex.io/docs/llms.txt (index) and
https://cocoindex.io/docs/llms-full.txt (everything, including example
walkthroughs). Regular docs pages also have raw Markdown twins by replacing the
trailing slash with .md (e.g.
https://cocoindex.io/docs/programming_guide/core_concepts.md).
The v1 mental model
target_state = transform(source_state). You declare what the target should look
like; the Rust engine keeps it in sync, reprocessing only what changed (state is
tracked in a local LMDB store — no database is required for the engine itself,
only when an example writes to one). Key APIs: @coco.fn, mount / use_mount /
mount_each, ContextKey, target-state declarations. See the skill for details.
Running examples
Most Python examples are standalone projects with their own pyproject.toml:
cd <example_dir>
cp .env.example .env # if present — fill in the blanks (see below)
pip install -e . # or: uv pip install -e .
cocoindex update main # catch-up: scan sources, sync, exit
cocoindex update -L main # live mode: catch up, then watch for changes (where supported)Use the example's README as the source of truth. Known exceptions:
multi_codebase_summarization,audio_to_text,patient_intake_extraction_baml,patient_intake_extraction_dspy:cocoindex update main.pyconversation_to_knowledge:cocoindex update conv_knowledge.appimage_search,image_search_colpali: start the API withpython -m uvicorn api:app --reload --host 0.0.0.0 --port 8000; it runs the CocoIndex app in live mode, then start the frontend fromfrontend/.csv_to_kafka,kafka_to_lancedb:cocoindex update -L main.pyrust/<example>: follow that example's README. Many usecargo run -- indexfor indexing andcargo run -- query "..."for search; a few take custom paths or service-specific subcommands.
Some examples expose a query/CLI demo via python main.py "<query>"; check the
example's README.md. Examples that need extra services or a code-gen step
(e.g. baml generate) say so in their README.
Environment / credentials
When an example needs credentials or service configuration, required env vars
are templated in that example's .env.example — cp it to .env and fill
in the blanks; both python main.py and the cocoindex CLI load .env
automatically. Common ones:
POSTGRES_URL— for Postgres/pgvector targets. Local instance:docker compose -f ../../dev/postgres.yaml up -dfrom inside an example directory.OPENAI_API_KEY/GEMINI_API_KEY— for examples that call an LLM.- Service-specific (
QDRANT_URL,LANCEDB_URI,NEO4J_*,KAFKA_*,GOOGLE_SERVICE_ACCOUNT_CREDENTIAL, …) — see that example's.env.example.
Examples with no .env.example (e.g. files_transform, pdf_to_markdown) run
fully locally with no credentials.
Never commit secrets. The .env files tracked in this repo hold only
non-secret defaults (COCOINDEX_DB, local service URLs); keep API keys and
credentials in your local .env edits and out of commits.
The examples
A walkthrough URL means there's a step-by-step guide at
https://cocoindex.io/docs/examples/<slug>/; otherwise start from the example's README.
Vector indexes (embed → store → search by meaning)
text_embedding— Markdown → pgvector; the simplest end-to-end index. (walkthrough: text-embedding)code_embedding— repo → Tree-sitter chunks → pgvector; query code in English. (walkthrough: index-codebase)text_embedding_qdrant/text_embedding_lancedb/text_embedding_turbopuffer— same flow, different vector store.code_embedding_lancedb— code chunks → LanceDB.pdf_embedding— PDFs → markdown → chunks → pgvector.paper_metadata— extract title/authors/abstract from PDFs → Postgres + embeddings.amazon_s3_embedding/gdrive_text_embedding/oci_object_storage_embedding— same flow, remote source (S3 / Google Drive / OCI).postgres_source— read from an existing Postgres table as the source.entire_session_search— semantic search over AI coding sessions captured by Entire.sec_edgar_analytics— multi-format SEC filings → Apache Doris with a vector and a full-text index; hybrid (semantic + keyword) RRF search. (walkthrough: sec-edgar-analytics)
Multimodal
image_search— CLIP embeddings + Qdrant, queried via FastAPI + React.image_search_colpali— ColPali multi-vector model + Qdrant MaxSim.multi_format_indexing— PDFs + images as page screenshots → ColPali → Qdrant; no OCR, no chunking. (walkthrough: multi-format-indexing)face_recognition— detect faces (dlib) → 128-d embeddings → Qdrant face search. (walkthrough: face-recognition)audio_to_text— transcribe audio with LiteLLM → Postgres.slides_to_speech— slides → vision-LLM notes → Pocket TTS narration → LanceDB semantic search. (walkthrough: slides-to-speech)
Structured extraction (LLM / BAML / DSPy)
multi_codebase_summarization— LLM per-file summaries across many repos. (walkthrough: multi-codebase-summarization)hn_trending_topics— scrape HackerNews → LLM topic extraction → Postgres.manuals_llm_extraction— PDF manuals → Markdown (docling) → typed module records → Postgres. (walkthrough: manuals-llm-extraction)patient_intake_extraction_baml/patient_intake_extraction_dspy— structured PDF extraction with BAML / DSPy (Gemini vision).
Knowledge graphs
conversation_to_knowledge— YouTube podcasts → SurrealDB knowledge graph. (walkthrough: podcast-to-knowledge-graph)docs_to_knowledge_graph— Markdown docs → Neo4j concept graph of LLM-extracted triples. (walkthrough: docs-to-knowledge-graph)product_recommendation— product catalog → LLM taxonomy extraction → Neo4j recommendation graph. (walkthrough: product-recommendation)meeting_notes_graph_neo4j/meeting_notes_graph_falkordb— Google Drive meeting notes → Neo4j / FalkorDB graph.meeting_notes_graph_surrealdb— local Markdown meeting notes → SurrealDB graph.
Custom sources / targets / streaming
pdf_to_markdown— incremental PDF → Markdown with docling (local, no services). (walkthrough: pdf-to-markdown)files_transform— watch Markdown files → HTML, live mode (local, no services).csv_to_kafka— watch CSVs → publish rows to Kafka.kafka_to_lancedb— consume Kafka → route to LanceDB tables.
Rust
rust/— Rust ports of many of the above, using the CocoIndex Rust API.
Conventions for edits
- Keep each Python example self-contained: its own
pyproject.tomlandREADME.md; add.env.examplewhen credentials or configurable services are required. When you add an example, also add a line toEXAMPLE_CATALOGin the docs repo (docs/src/data/examples.ts) so it appears in/docs/llms.txt. - Match the surrounding code's low comment density.
- Don't commit generated artifacts (
cocoindex.db,__pycache__, build output) — they're already git-ignored.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

