VectorSmith
Your vector database, forged into tools an agent can actually use.
Write a tools.yaml. VectorSmith compiles it into typed, tenant-guarded tools — then you either import them in Python or serve them over MCP.
pip install "vectorsmith[qdrant]"
Store extras: qdrant · pgvector · chroma · pinecone · weaviate · milvus.
All adapters currently have experimental support status; see the
capability matrix and
live conformance evidence.
Two doors, one YAML
| You are building… | Install | Call |
|---|---|---|
| A Python agent (LangChain, LangGraph, OpenAI Agents, Anthropic SDK) | pip install "vectorsmith[qdrant,langchain]" |
from vectorsmith import load_tools |
| A chat / IDE host (Claude Desktop, Claude Code, Codex, Cursor) | pip install "vectorsmith[qdrant]" so vectorsmith is on PATH |
vectorsmith serve tools.yaml --name invoices |
| A remote / Kubernetes MCP server | pip install "vectorsmith[qdrant,auth-jwt,otel]" |
vectorsmith serve tools.yaml --http 0.0.0.0:8080 --auth jwt |
The agent never sees the store URL, the API key, or hidden tenant filters.
from vectorsmith import load_tools, connect
tools = load_tools("tools.invoices.yaml", env_file=".env")
# or
vs = connect("tools.invoices.yaml", env_file=".env")
rows = await vs.call("search_invoices", {"query": "Globex", "limit": 3})
await vs.aclose()
Authenticated applications can pass ctx=CallContext(...) to vs.call.
LangChain/LangGraph, OpenAI Agents, and Anthropic wrappers propagate supported
identity fields; the application remains responsible for authenticating
caller-supplied context.
{
"mcpServers": {
"invoices": {
"command": "vectorsmith",
"args": ["serve", "/absolute/path/tools.invoices.yaml", "--env-file", "/absolute/path/.env", "--name", "invoices"]
}
}
}
Host guides: Claude Desktop · Claude Code · Codex · Cursor. Production HTTP (JWT, /readyz, OTel, Helm): self-host · enterprise.
Write a tool, not a prompt
tds_version: "1"
connections:
invoices:
backend: qdrant
url: ${QDRANT_URL}
api_key: ${QDRANT_API_KEY:-}
tools:
- name: search_invoices
kind: search
description: >
Search invoices by free text and filter by client, status, or amount.
target: { connection: invoices, collection: invoices }
query: { param: query, required: false }
static_filters:
- { path: tenant, op: eq, value: acme }
parameters:
- { name: client, path: client_name, dtype: keyword, op: eq }
- { name: status, path: status, dtype: keyword, op: in,
enum: [draft, sent, paid, overdue] }
output:
fields: [invoice_id, client_name, status, amount]
tenant: acme is not in the model-facing schema. Full contract: tools.yaml reference.
Experimental local lifecycle commands are available behind an explicit flag:
vectorsmith discover, vectorsmith eval, and vectorsmith drift. Approval
supports semantic --dry-run previews, provenance, and catalog versioning.
These commands never auto-promote a draft.
0.2.0 is the production HTTP server: JWT / API keys, request tenancy, RBAC, Vault / AWS SM / Kubernetes credentials, audit (file / HTTP / OTLP), OpenTelemetry traces, Prometheus /metrics, Redis rate limits, profiles.enterprise at serve time. Extras: auth-jwt · auth-redis · otel · creds-aws · embed-openai · embed-cohere · rerank-local.
That designation applies to the HTTP runtime, not adapter stability. Check the experimental backend evidence before making a production support claim.
Apache-2.0. Forge the tools. Keep the store.
Metadata
Release files for vectorsmith 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vectorsmith-0.2.2.tar.gz | 115.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vectorsmith-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 280.9 kB
Release files / vectorsmith-0.2.2.tar.gz
| Download URL | vectorsmith-0.2.2.tar.gz |
|---|---|
| Size | 115.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c717440227a96a04f6a821200d532b8b659f0805c09477b191e9c24f28bf00e4
|
|
BLAKE2b-256 checksum How to use checksums |
d2300173c745dd51767cf51d8c425e83f54ec7220d50b83a117af88976a1906c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.
Transparency logRelease files / vectorsmith-0.2.2-py3-none-any.whl
| Download URL | vectorsmith-0.2.2-py3-none-any.whl |
|---|---|
| Size | 165.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
02a309532270574de172bc698ae7de18c8e510aa5b7d4741e4536c38718b343d
|
|
BLAKE2b-256 checksum How to use checksums |
4fa83fb49bae695ffa6fe2d97e34e5ed572c1d2115d3f4ec6a93f0e0a2e74834
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.
Transparency log