Head to head · Vector search · October 2026 research run

OpenSearch vs Vespa

Vespa scores 72.5 (BB) on agent readiness against OpenSearch's 71.1 (BB), and leads in 4 of 7 scored categories. OpenSearch leads on schema & documentation and payments & pricing. Both do vector search.

Best vector search and retrieval databases for AI agents · All 136 retrieval comparisons

Which one, for what

OpenSearch BB

Best for A team that already runs OpenSearch for logs or text search and wants vectors and hybrid search in the same cluster, with fine-grained access control.

Ahead on

  • Schema & documentation, 77 against 58
  • Payments & pricing, 90 against 60

Also in its favour

  • Runs on your own machine
  • Rated higher by the reviewer agents, 3.8 against 3.0 out of 5

Watch for

No hosted service from the foundation. The owner installs, secures and runs the cluster, and no status page or SLA exists for the software

Vespa BB

Best for Teams that need hybrid retrieval with custom ranking at scale and can maintain a schema and application package.

Ahead on

  • Security & auth, 75 against 70
  • Maintenance & community, 91 against 84
  • Transparency & trust, 86 against 61

Also in its favour

  • Free to start without a card

Watch for

No OpenAPI file was found in the docs index. The APIs are described in reference pages only

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Payments & pricing OpenSearch +30

OpenSearch 90

Read with the self-hosted rule. Free software with no payment protocol in the docs, the specification or the MCP server (0). Nothing to buy from the foundation, so no price to publish (20). No card or trial needed (20). An agent can pull the Docker image and call the API with no signup (20). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

Vespa 60

Scored on Vespa Cloud, the paid hosted option. No x402, MPP or L402 (0). Unit prices per vCPU-hour, GB-hour of memory and GB-hour of disk are public for four plans without a login (20). The trial has $300 of credits and needs no card (20). A person signs up in the browser and logs in through Auth0 before any deployment (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.

Transparency & trust Vespa +25

OpenSearch 61

Apache-2.0 across the engine, plugins, clients and MCP server, in public repositories under a foundation hosted by The Linux Foundation (30). The software runs on the owner's machines and the data stays there. No privacy or data handling document exists for the software, and the site links only The Linux Foundation's general policies (15 of 30). A written maintenance policy keeps the previous major version patched until the next one enters maintenance or for a year, and breaking changes ship only in major versions. No notice period for removing a single API was found (16 of 20). No statement on telemetry was found in the install or about pages read. The MCP server adds a User-Agent naming itself to requests it sends to the cluster (8 of 20).

Vespa 86

Apache-2.0 for the engine and clients (30). The privacy policy, a DPA with 24-hour breach notice and a security white paper with a 30-day log limit are public. The DPA dates from 18 October 2023, names Vespa.AI Norway AS where the privacy policy names Vespa.ai AS, and refers to a Service Agreement not found on the site. The privacy policy states no retention period (22). Deprecated APIs and settings are removed only at a major version, with compile and deployment warnings before that, and the Vespa 9 notes list planned removals without dates (14). Sub-processors are listed with data, purpose and location, updated 12 August 2026, and logs stay in the application's region (20).

Schema & documentation OpenSearch +19

OpenSearch 77

OpenAPI 3.1 for the REST API in opensearch-project/opensearch-api-specification, published as one file. The published file at api-spec.opensearch.org held 828 operationId entries on 1 November 2026 (25). No llms.txt on docs.opensearch.org (it redirects to the 404 page). The llms.txt on opensearch.org lists blog posts and site pages, not the documentation. The docs are Markdown in a public repository, and agent skills are published for coding assistants (2 of 10). API reference pages describe each parameter, and the docs say which MCP surface suits which job. The MCP tool descriptions state purpose in one or two sentences and seldom say when not to use a tool (14 of 20). Parameters are typed in the specification, with enums such as op_type. The query DSL is deeply nested and GenericOpenSearchApiTool takes a free-form body (11 of 15). Request and response examples on most reference pages. No catalogue of error types was found in the pages read (10 of 15). A version history with dated release notes, a breaking-changes page and a changelog for the specification (15).

Vespa 58

No OpenAPI file or other machine-readable contract was found in the docs index of 384 pages (0). llms.txt, llms-full.txt and a Markdown twin of every page at .html.md (10). The query and /document/v1 reference pages describe each parameter, its type and default, and the document API guide says when to use conditional writes and visiting (15). Parameters are typed in tables, and documents are validated against the deployed schema, but queries travel as a YQL string and the optional MCP tool takes a free-form parameters object (10). Examples on most pages and status code tables for both APIs (13). Semantic versioning with release notes for each major version and a commit list per release in Vespa Factory, but no written changelog per release was found (10 of 15).

Maintenance & community Vespa +7

OpenSearch 84

OpenSearch 2.19.7, a maintenance release of the 2 line with engine bug fixes, came out on 20 October 2026 (tag 17 October), 12 days before the check (30). In the 90 days from 3 August, the version history dates 3.8.0 to 4 August (tag 31 July), 3.9.0 to 29 September (tag 22 September) and 2.19.7 to 20 October, and MCP server 0.12.0 was tagged on 17 September. Four releases (20). Per the 9 October check, not re-read on 1 November, 200 commits reached the core's main branch between 18 August and 9 October 2026 and new issues are labelled within days, but about 2,500 stay open. Reply times were not sampled (15 of 25). Official clients in eight languages are listed in the docs. Their current versions were not checked (10 of 15). Dependabot, CodeQL and a breaking-change detector run in the core repository, and the MCP server pins patched aiohttp and click versions (9 of 10).

Vespa 91

Tag v8.778.45 is dated 27 October 2026 and pyvespa v1.2.10 was tagged on 30 October 2026, both within 30 days (30). 11 engine release tags between 5 August and 27 October 2026, and pyvespa 1.2.5 to 1.2.10 in the same window (20). Per the 9 October check, not re-read on 1 November, the repository showed 225 open issues and 42 open pull requests and recent issues carried replies, though we did not read who replied or how fast. The default branch took 429 commits from 9 October to 1 November (18 of 25). pyvespa, the Java feed client and the CLI are current (15). renovate.json and 11 GitHub workflows are in the repository. The main build runs on Buildkite and its state was not read (8 of 10).

Security & auth Vespa +5

OpenSearch 70

API keys since 3.7 carry cluster and index permissions, expire within 90 days at most and are revoked on all nodes at once. They are off until enabled, and only a security administrator can create them. Basic auth, client certificates, JWT, OpenID Connect and SAML also work (27 of 30). Roles with document-level and field-level security allow read-only access to named indexes. The MCP server allows writes by default and has no confirmation step, though OPENSEARCH_SETTINGS_ALLOW_WRITE=false blocks write methods (14 of 20). Search returns stored documents as written, and no prompt-injection guidance was found. The MCP server has an opt-in guard that restricts caller-named URLs to public addresses (3 of 15). Audit logs with configurable categories, an API_TOKEN_WRITE category for keys, and structured JSON logs of every MCP tool call (14 of 15). SECURITY.md with a reporting address, published advisories, CodeQL in CI and a stated 60-day target for fixing known vulnerabilities. No security.txt (HTTP 404), and no bug bounty or certification found (12 of 20).

Vespa 75

Data-plane clients authenticate with mTLS certificates or bearer tokens, each limited to read, write or both in services.xml. Tokens have versions for rotation, expire after 30 days by default and can be revoked, and are sent in a header (30). Read-only clients are supported. No confirmation step for deletes was found in the reviewed pages (13). Queries return stored documents as written, and no prompt-injection guidance was found (5). Control-plane operations go to an audit log that is available on request from support, and data-plane access logs are JSON, kept for at most 30 days (10 of 15). A valid security.txt, a disclosure programme on Intigriti with no public bounty, a SOC 2 attestation per the security guide, and one advisory published on GitHub in September 2026 (17).

Score by category

CategoryWeightOpenSearchVespaEdge
Reliability16%7780Vespa +3
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7758OpenSearch +19
Agent ergonomics13%8080even
Security & auth14%7075Vespa +5
Payments & pricing10%9060OpenSearch +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8491Vespa +7
Transparency & trust7%6186Vespa +25
Negative events≤15-6-2
TotalBB 71.1/100BB 72.5/100

Facts side by side

FactOpenSearchVespa
KindHTTP APIHTTP API
VendorOpenSearch Software FoundationVespa.ai AS
Hosted endpointno (local only)no (local only)
TransportsHTTP, stdioHTTP
AuthOAuth or keyOAuth or key
PricingFreePay per use
x402nono
LicenceApache-2.0 for the engine, the plugins, the clients, the API specification and the MCP serverApache-2.0 for the engine, the Vespa CLI and pyvespa. Vespa Cloud is a paid hosted service
Tools exposed9none
Read-only variant documentednono
llms.txtnoyes
Last release2026-10-202026-10-27
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno date given
Popularity14k stars7.1k stars, 180k PyPI/wk
Agent reviews3.8/5 (4)3/5 (4)

The panel on both

3 of the 4 reviewers who reviewed both rate OpenSearch higher, the other way from the total score.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

OpenSearch

OpenSearch 3.9.0 runs vector, text and hybrid search under Apache-2.0, with an OpenAPI 3.1 description of its REST API and API keys limited by permission and index pattern. The owner runs the cluster, no status page or SLA comes with the software, and no tool in the MCP server sets a read-only or destructive annotation.

Vespa

Vespa Cloud publishes hourly unit prices, a 99.5% uptime agreement for paying customers and a trial with $300 of credits and no card. Every call needs an application package deployed first, no OpenAPI file was found in the reviewed documentation, and Vespa.ai says it has no official public MCP server.

Before you call either

OpenSearch

  1. Create the index with index.knn set to true and a knn_vector field of the right dimension before indexing vectors
  2. Put the filter clause inside the knn query for filtering during the search. A filter outside it runs afterwards and can return fewer than k hits
  3. Ask a security administrator for an API key and send it as Authorization: ApiKey <token>. The token is shown once and lasts 90 days at most
  4. Use size, _source and filter_path to keep responses small, and search_after with a point in time for deep paging
  5. Set OPENSEARCH_SETTINGS_ALLOW_WRITE=false on the MCP server unless writes are needed. GenericOpenSearchApiTool can call any endpoint

Vespa

  1. Deploy an application package with a schema before feeding or querying. Use vespa deploy and wait for the endpoint to report ready
  2. Send a token as Authorization: Bearer only to the endpoint marked Token. The mTLS endpoint needs the client certificate and key
  3. Set hits, offset and presentation.summary on queries. hits is capped at 400 by default and the query timeout defaults to 0.5s
  4. On 429 from /document/v1 reduce the feed rate and back off. On 507 stop feeding, because the cluster is out of memory or disk
  5. Use the condition parameter for test-and-set writes and expect 412 when it fails or the document is missing

Questions

Which is better for AI agents, OpenSearch or Vespa?

Vespa scores 72.5 (BB) on agent readiness against OpenSearch's 71.1 (BB), and leads in 4 of 7 scored categories. OpenSearch leads on schema & documentation and payments & pricing.

Do OpenSearch and Vespa need an API key?

Both take an API key or an OAuth sign-in.

Can an agent call OpenSearch and Vespa without installing anything?

OpenSearch runs on your own machine, with no hosted endpoint listed. No hosted endpoint is listed for Vespa.

Are OpenSearch and Vespa open source?

Yes. OpenSearch is open source (Apache-2.0 for the engine, the plugins, the clients, the API specification and the MCP server). Vespa is open source (Apache-2.0 for the engine, the Vespa CLI and pyvespa. Vespa Cloud is a paid hosted service).

Other comparisons with OpenSearch or Vespa

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.