Skip to main content

Add your description here

Project description

Latest Number GitHub tag (latest SemVer) Stars Issues


Logo

VideoDB Agent Toolkit

AI Agent toolkit for VideoDB
llms.txt >> llms-full.txt
MCP

VideoDB Agent Toolkit

The VideoDB Agent Toolkit exposes VideoDB context to LLMs and agents. It enables integration to AI-driven IDEs like Cursor, chat agents like Claude Code etc. This toolkit automates context generation, maintenance, and discoverability. It auto-syncs SDK versions, docs, and examples and is distributed through MCP and llms.txt

🚀 Quick Overview

The toolkit offers context files designed for use with LLMs, structured around key components:

llms-full.txt — Comprehensive context for deep integration.

llms.txt — Lightweight metadata for quick discovery.

MCP (Model Context Protocol) — A standardized protocol.

These components leverage automated workflows to ensure your AI applications always operate with accurate, up-to-date context.

📦 Toolkit Components

1. llms-full.txt (View »)


llms-full.txt consolidates everything your LLM agent needs, including:

  • Comprehensive VideoDB overview.

  • Complete SDK usage instructions and documentation.

  • Detailed integration examples and best practices.

Real-world Examples:

2. llms.txt (View »)


A streamlined file following the Answer.AI llms.txt proposal. Ideal for quick metadata exposure and LLM discovery.

ℹ️ Recommendation: Use llms.txt for lightweight discovery and metadata integration. Use llms-full.txt for complete functionality.

3. MCP (Model Context Protocol)

The VideoDB MCP Server connects with the Director backend framework, providing a single tool for many workflows. For development, it can be installed and used via uvx for isolated environments. For more details on MCPs, please visit here

Install uv

We need to install uv first.

For macOS/Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

For Windows:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

You can also visit the installation steps of uv for more details here

Run the MCP Server

You can run the MCP server using uvx using the following command

uvx videodb-director-mcp --api-key=VIDEODB_API_KEY

Update VideoDB Director MCP package

To ensure you're using the latest version of the MCP server with uvx, start by clearing the cache:

uv cache clean

This command removes any outdated cached packages of videodb-director-mcp, allowing uvx to fetch the most recent version.

If you always want to use the latest version of the MCP server, update your command as follows:

uvx videodb-director-mcp@latest --api-key=<VIDEODB_API_KEY>

🧠 Anatomy of LLM Context Files

LLM context files in VideoDB are modular, automatically generated, and continuously updated from multiple sources:

🧩 Modular Structure:

  • Instructions — Best practices and prompt guidelines View »

  • SDK Context — SDK structure, classes, and interface definitions View »

  • Docs Context — Summarized product documentation View »

  • Examples Context — Real-world notebook examples View »

Token Breakdown

Automated Maintenance:

  • Managed through GitHub Actions for automated updates.
  • Triggered by changes to SDK repositories, documentation, or examples.
  • Maintained centrally via a config.yaml file.

🛠️ Automation with GitHub Actions

Automatic context generation ensures your applications always have the latest information:

🔹 SDK Context Workflow (View)

  • Automatically generates documentation from SDK repo updates.
  • Uses Sphinx for Python SDKs.

🔹 Docs Context Workflow (View)

  • Scrapes and summarizes documentation using FireCrawl and LLM-powered summarization.

🔹 Examples Context Workflow (View)

  • Converts and summarizes notebooks into practical context examples.

🔹 Master Context Workflow (View)

  • Combines all sub-components into unified llms-full.txt.
  • Generates standards-compliant llms.txt.
  • Updates documentation with token statistics for transparency.

🛠️ Customization via config.yaml

The config.yaml file centralizes all configurations, allowing easy customization:

  • Inclusion & Exclusion Patterns for documentation and notebook processing
  • Custom LLM Prompts for precise summarization tailored to each document type
  • Layout Configuration for combining context components seamlessly

config.yaml > llms_full_txt_file defines how llms-full.txt is assembled:

llms_full_txt_file:
  input_files:
    - name: Instructions
      file_path: "context/instructions/prompt.md"
    - name: SDK Context
      file_path: "context/sdk/context/index.md"
    - name: Docs Context
      file_path: "context/docs/docs_context.md"
    - name: Examples Context
      file_path: "context/examples/examples_context.md"
  output_files:
    - name: llms_full_txt
      file_path: "context/llms-full.txt"
    - name: llms_full_md
      file_path: "context/llms-full.md"
  layout: |
    {{FILE1}}

    {{FILE2}}

    {{FILE3}}

    {{FILE4}}

💡 Best Practices for Context-Driven Development

  • Automate Context Updates: Leverage GitHub Actions to maintain accuracy.
  • Tailored Summaries: Use custom LLM prompts to ensure context relevance.
  • Seamless Integration: Continuously integrate with existing LLM agents or IDEs.

By following these practices, you ensure your AI applications have reliable, relevant, and up-to-date context—critical for effective agent performance and developer productivity.


🚀 Get Started

Clone the toolkit repository and follow the setup instructions in config.yaml to start integrating VideoDB contexts into your LLM-powered applications today.

Explore further:


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mseep_videodb_helper-0.1.0.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mseep_videodb_helper-0.1.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file mseep_videodb_helper-0.1.0.tar.gz.

File metadata

  • Download URL: mseep_videodb_helper-0.1.0.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for mseep_videodb_helper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 39b3ad1123da66facf771b49f27e6f957880864091d0b4a405a95f98c6271449
MD5 f653759c99e18e1a130d7f385c303b69
BLAKE2b-256 0bb5c1ef091b9f1ab6a117d30fe05d0134ba572f89834839edd02598f4058e23

See more details on using hashes here.

File details

Details for the file mseep_videodb_helper-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_videodb_helper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 642125f0723e3ddd51f1f4e8f0fae32d343a7e6bbee0c19637f8d268d87be93b
MD5 e8ed2aa5512888bbdd4efef36694c198
BLAKE2b-256 a01d19455c4f575ebb8f1c58bf8dbc6f3b80be827a29f6c84c64095d742fb380

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page