• MATCH
  • RANK
  • CONTEXT
  • HUMAN

How to run vector similarity searches with your agent

Connect your agent to OpenSearch to find documents based on their actual meaning. Once connected, your agent can query your vector embeddings directly.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I run vector similarity searches with my AI?

Your agent uses the k-NN tool to compare the vector embeddings of your query against the vectors stored in your OpenSearch cluster. This allows your agent to pull up documents that share the same concept even if they don't use the same exact words. You'll see the most relevant results based on mathematical similarity.

Search outcomes

Where your results land

What happens when your agent queries the cluster.

MATCH

Semantic matches

Your agent identifies documents that are conceptually close to your prompt. You get results that respect the intent behind your words.

RANK

Similarity scoring

The search tool ranks each document by its distance from your query. This ensures the most relevant data sits at the top of the list.

CONTEXT

Relevant data retrieval

Your agent pulls the specific text chunks needed to answer your question. This provides the raw material for your agent to process.

HUMAN

Review results

You look over the retrieved documents to ensure the similarity matches your specific needs. Your agent presents the findings, but you decide if they are useful.

The workflow

What your agent does when a query arrives.

Your agent handles the heavy lifting of vector math so you don't have to.

  1. Vectorize the query

    Your agent converts your plain text question into a high-dimensional vector that the cluster understands.

    search
  2. Execute k-NN search

    Your agent sends a request to OpenSearch to find the nearest neighbors in the vector space.

    search
  3. Retrieve document hits

    The search returns the most similar document chunks along with their similarity scores.

    search
  4. Synthesize answers

    Your agent reads the retrieved text to formulate a coherent response to your original question.

    search

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute OpenSearch tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to trigger vector searches immediately.

Starting points

Replace the bracketed text with your specific index names or query topics.

OpenSearch Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_6R4dQ885yexHhsyH4M5e8fLiT1BjuMlzaUlJMumQ/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, OpenSearch capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "opensearch-vector-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_6R4dQ885yexHhsyH4M5e8fLiT1BjuMlzaUlJMumQ/mcp"
    }
  }
}
Copy into chat04
  • 01

    Find documents in my 'customer_feedback' index that are conceptually similar to 'unhappy with shipping speeds'.

  • 02

    Search the 'product_manuals' cluster for information regarding battery maintenance and safety.

  • 03

    Run a k-NN search in my 'legal_docs' index to find clauses related to intellectual property rights.

  • 04

    Using the vector index 'tech_support_logs', find entries that match the concept of 'network connectivity issues'.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect OpenSearch Vector once, then ask.

Provide your OpenSearch endpoint and credentials. We keep your login info encrypted, and you can start searching right away.

Connect OpenSearch Vector to your agent

FAQ

How the search behaves

  • 01

    Can your agent change my OpenSearch index settings?

    No. Your agent only has permission to run searches. It cannot modify your cluster configuration or delete data.

  • 02

    Does your agent create new vector embeddings for me?

    No. This connector is for searching existing vectors. You must have already generated and stored your embeddings in OpenSearch.

  • 03

    Will your agent automatically update my index when I add new files?

    No. Your agent only searches what is currently in the cluster. You handle the data ingestion process separately.

  • 04

    Can I use this to perform standard keyword searches?

    Yes, but the primary strength of this connector is performing k-NN vector similarity searches.

  • 05

    How does your agent know which index to search?

    You specify the index name within your prompt or conversation, and your agent uses that to target the correct part of your cluster.

  • More questions about OpenSearch Vector? The Connector page answers them. See everything the OpenSearch Vector Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from OpenSearch to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    OpenSearch plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect OpenSearch to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.