Alphakdeps.io is experimental and evolving — the registry and packages may change or reset.
kdeps componentkdeps asset

kdeps-components-vector_store

v1.0.0

kdeps kdeps-component: vector_store

set components / shelf workflow

PurposeRun one vector store operation through the kdeps API

LLM context: ~415 tokens when loaded (prompt or tool definition)

Where it runs

Part of the components set, used in workflow and agent mode. Ready-made workflow steps (sql, browser, email, git, ocr...) a resource calls by name; in agent mode they are also tools.

  1. a resource names a component (or the model calls it as a tool)
  2. the component's own resources runcomponents/vector_store
  3. its output goes back to the caller

Loaded by: kdeps (agent loop), /settings, kdeps validate, kdeps run, kdeps bundle package, kdeps env, kdeps export k8s, kdeps test

In the code: kdeps (agent loop)yaml.(*Parser).ParseWorkflowyaml.(*Parser).loadAssetComponents

Install

A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.

kdeps install components/vector_store

Also installs what it requires, when missing or older: schemas/v1, tools/vector_store.

Pin a version with kdeps install components/vector_store@<version>.

Contents

component.yaml

apiVersion: kdeps.io/v1
kind: Component
metadata:
  name: vector_store
  description: Run one vector store operation through the kdeps API
  version: "1.0.0"
interface:
  inputs:
    - name: operation
      type: string
      required: true
      description: "add_documents or similarity_search"
    - name: collection
      type: string
      required: true
      description: Collection, index, or table name in the store
    - name: provider
      type: string
      description: "Vector store backend: qdrant (default), chroma, pinecone, azureaisearch, opensearch, elasticsearch, weaviate, pgvector, postgres, alloydb, cloudsql, mariadb, dolt, mysql, mongodb, redis, bedrock"
    - name: url
      type: string
      description: Endpoint or DSN for the store
    - name: apiKey
      type: string
      description: "Auth token. For mongodb the database name (default kdeps); for opensearch/elasticsearch user:pass"
    - name: documents
      type: array
      description: Documents to upsert for add_documents, each an object with content and optional metadata
    - name: query
      type: string
      description: Natural language search query (operation similarity_search)
    - name: topK
      type: number
      default: 0
      description: Number of results to return for similarity_search; 0 uses the default of 5
    - name: embedModel
      type: string
      description: Embedding model used to vectorize documents and queries, for example text-embedding-3-small
    - name: embedBackend
      type: string
      description: "Embedding provider: openai, ollama, google, or system (follow KDEPS_DEFAULT_BACKEND)"
    - name: embedBaseURL
      type: string
      description: Custom base URL for an OpenAI-compatible embedding backend
  # body is the handler text. The HTTP envelope stays inside the call.
  output: "{{ output('call').body }}"
resources:
  - actionId: call
    name: Vector store operation
    httpClient:
      method: POST
      # In-process host. The HTTP executor calls the handler without dialing.
      url: http://kdeps.api/apis/tools.kdeps.io/v1/tools/vector_store/call
      headers:
        Content-Type: application/json
      failOnError: true
      timeout: 120s  # hard stop for the call; the store and embedding backend are remote
      data:
        operation: "{{ get('vector_store.operation') }}"
        collection: "{{ get('vector_store.collection') }}"
        provider: "{{ get('vector_store.provider') }}"
        url: "{{ get('vector_store.url') }}"
        apiKey: "{{ get('vector_store.apiKey') }}"
        documents: "{{ get('vector_store.documents') }}"
        query: "{{ get('vector_store.query') }}"
        topK: "{{ get('vector_store.topK') }}"
        embedModel: "{{ get('vector_store.embedModel') }}"
        embedBackend: "{{ get('vector_store.embedBackend') }}"
        embedBaseURL: "{{ get('vector_store.embedBaseURL') }}"
requires:
  schemas/v1: ""
  tools/vector_store: ""

Versions

VersionPublishedStatus
1.0.010/21/2026active

Details

Author
kdeps
License
Apache-2.0
Latest Version
1.0.0
Published
10/21/2026

Tags

kdepskdeps-component