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 — which stores ship.
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 |
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()
{
"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.
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.
Apache-2.0. Forge the tools. Keep the store.
Metadata
Release files for vectorsmith 0.1.3
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.1.3.tar.gz | 92.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vectorsmith-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 231.9 kB
Release files / vectorsmith-0.1.3.tar.gz
| Download URL | vectorsmith-0.1.3.tar.gz |
|---|---|
| Size | 92.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39266312d0de7073eb934caac1d8a4b905e4f11de45fb2fc21a8748760a73a4d
|
|
BLAKE2b-256 checksum How to use checksums |
b834665ab894e47cf4f2842bd4cfc41f61b4c209f3105bcc5ded4aef7ee0fa06
|
| 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 Aug 22, 2026.
Transparency logRelease files / vectorsmith-0.1.3-py3-none-any.whl
| Download URL | vectorsmith-0.1.3-py3-none-any.whl |
|---|---|
| Size | 139.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
22e3b1905e870d85279a93b6b67aff185d901689fd6f7d556736376fd27a9e6f
|
|
BLAKE2b-256 checksum How to use checksums |
845f5591e235242b2a7bfe1f36aa328df19137850d3f0413842bd4acd2cb329c
|
| 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 Aug 22, 2026.
Transparency log