Integration · Databases
AI agents for Weaviate
Search, read, add, update and delete objects in Weaviate collections, on Weaviate Cloud or your own Weaviate server: hybrid (keyword plus meaning) and vector search, browsing a collection, and the collection schema.
- Actions
- 8
- Read
- 5
- Write
- 3
Actions
What your agents can do in Weaviate
Search, read, add, update and delete objects in Weaviate collections, on Weaviate Cloud or your own Weaviate server: hybrid (keyword plus meaning) and vector search, browsing a collection, and the collection schema. The search actions use Weaviate's REST search endpoints, which need Weaviate 1.39 or later.
Read 5
Look things up. Nothing changes.
List collections
Returns the schema, as classes: each collection with its class name, properties (each with name and dataType), vectorConfig (its named vectors and vectorizers) and multiTenancyConfig.
Hybrid search
Searches a collection with text, scoring both keywords (BM25) and meaning (the text vectorized by the collection's vectorizer), and returns results.
Search by vector
Finds the objects whose vectors are closest to a vector you give (numbers, with the collection's vector size), as results.
Browse objects
Lists a collection's objects, 25 a page by default, as objects (each with id, class and properties).
Get an object
Reads one object by its UUID, with id, class, properties, creationTimeUnix, lastUpdateTimeUnix and, when asked, its vector.
Write 3
Create, change or send.
Add or replace objects
Writes up to 100 objects in one batch.
Update an object
Changes some properties of one object (a merge: properties you leave out keep their values) and answers with no content when done.
Delete an objectDeletes data
Permanently deletes one object by its UUID.
A person can approve first
Any write action can be set to wait for a person's approval before it runs, so an agent asks before it changes anything. Actions that delete data ask first by default.
Connection
How it connects
Connect it once in the console, then give it to the agents and workflows that need it.
Paste an API key from your Weaviate account.
What you enter
- API key
Settings
- REST endpoint
Kept safe
- Credentials are stored encrypted with your organization's own keys.
- They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
- Calls go only to the tool's own servers.
Ideas
Ideas to start with
Starting points made only from the actions above. Mix them with any other tool your agents can use.
- 01
Ask about your Weaviate data
Ask a question in plain words. The agent can list collections, search by vector or get an object in Weaviate, then answers with what it found.
- 02
Let an agent update Weaviate
Have the agent add or replace objects or update an object in Weaviate as part of a larger task. Turn on approval and a person signs off on each change first.
- 03
Share what it finds in Slack
Give one agent Weaviate and Slack: it can list collections in Weaviate and post a summary to a Slack channel in the same run.
FAQ
Weaviate and MyDeepAgents
Can MyDeepAgents connect to Weaviate?
Yes. The Weaviate connector has 8 actions: 5 read and 3 make changes. Your agents can call them as tools, and your workflows can run them as steps.
How do I connect Weaviate?
Paste an API key from your Weaviate account. You'll need: API key. The connection also asks for: REST endpoint. Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.
Can an agent change data in Weaviate without asking?
Only if you let it. Each of the 3 actions that change data can be set to wait for a person's approval before it runs, and the one that deletes data asks first by default.
Can I use Weaviate in workflows as well as agents?
Yes. Every Weaviate action also works as a step in a workflow, and the same connection serves your agents and your workflows.
Early access
Put Weaviate to work
Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.