Skip to content

Start building

Integration · Databases

AI agents for Upstash Vector

Search, add, read and delete vectors in an Upstash Vector index.

Actions
8
Read
5
Write
3

Actions

What your agents can do in Upstash Vector

Search, add, read and delete vectors in an Upstash Vector index: similarity search by vector, or by text on indexes that embed text themselves, with metadata filters, plus reading vectors by ID or page by page and the index's size and namespaces. One connection works with one index.

Read 5

Look things up. Nothing changes.

  • Get index info

    Returns the index's vectorCount, pendingVectorCount (still being indexed), indexSize in bytes, dimension, similarityFunction, indexType (DENSE, SPARSE or HYBRID), the embedding model when it has one.

  • Search by vector

    Finds the vectors most similar to a query vector (numbers, with the index's dimension), as result (most similar first).

  • Search by text

    Searches with plain text on an index created with an embedding model (Upstash embeds the text), as result (most similar first).

  • Get vectors by ID

    Reads vectors by ids, or up to 1,000 whose IDs start with prefix, as result.

  • Browse vectors

    Pages through the vectors of a namespace, as result.vectors (each with id and, when asked, metadata, data and vector) and result.nextCursor.

Write 3

Create, change or send.

  • Add or replace vectors

    Writes up to 1,000 vectors, each with an id, a vector (numbers, with the index's dimension), optional metadata (an object to filter on) and optional data (text kept with the vector).

  • Add or replace text

    Writes up to 1,000 texts to an index created with an embedding model (Upstash embeds each text and keeps it as the vector's data), each with an id, the text and optional metadata.

  • Delete vectorsDeletes data

    Permanently deletes vectors from one namespace by ids, by an ID prefix, or by a metadata filter like status = 'archived' (a full scan, slow on large indexes).

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.

API key

Paste an API key from your Upstash Vector account.

What you enter

  • REST token

Settings

  • REST URL

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.

How we protect your data

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 Upstash Vector data

    Ask a question in plain words. The agent can get index info, search by vector or search by text in Upstash Vector, then answers with what it found.

  • 02

    Let an agent update Upstash Vector

    Have the agent add or replace vectors or add or replace text in Upstash Vector 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 Upstash Vector and Slack: it can get index info in Upstash Vector and post a summary to a Slack channel in the same run.

FAQ

Upstash Vector and MyDeepAgents

Can MyDeepAgents connect to Upstash Vector?

Yes. The Upstash Vector 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 Upstash Vector?

Paste an API key from your Upstash Vector account. You'll need: REST token. The connection also asks for: REST URL. 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 Upstash Vector 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 Upstash Vector in workflows as well as agents?

Yes. Every Upstash Vector action also works as a step in a workflow, and the same connection serves your agents and your workflows.

Early access

Put Upstash Vector to work

Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.