Head to head · Db vector · October 2026 research run

Elasticsearch vs Vespa

Vespa scores 70 (BB) on agent readiness against Elasticsearch's 67.7 (B), and leads in 6 of 7 scored categories. Elasticsearch leads on schema & documentation. Both do db vector.

Which one, for what

Elasticsearch B

Good for Retrieval that needs keyword relevance, filters and vectors in one query, and teams already running Elastic for logs or security.

Ahead on

  • Schema & documentation, 88 against 58

Watch for

More than 20 status notices marked major between 10 July and 8 October 2026, three of them regional service incidents

Vespa BB

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

Ahead on

  • Reliability, 80 against 62
  • Payments & pricing, 40 against 35
  • Maintenance & community, 91 against 83
  • Transparency & trust, 85 against 71

Also in its favour

  • Agent-ready, a grade of BB or better

Watch for

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

Score by category

CategoryWeight this runElasticsearchVespaEdge
Reliability16%206280Vespa +18
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28858Elasticsearch +30
Agent ergonomics13%16.27780Vespa +3
Security & auth14%17.57275Vespa +3
Payments & pricing10%12.53540Vespa +5
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.88391Vespa +8
Transparency & trust7%8.87185Vespa +14
Negative events≤15-2-2
Total67.7 · B70 · BB

Facts side by side

FactElasticsearchVespa
KindHTTP APIHTTP API
VendorElasticVespa.ai AS
Hosted endpointno (local only)no (local only)
TransportsHTTPHTTP
AuthOAuth or keyOAuth or key
PricingPay per usePay per use
x402nono
LicenceAGPL-3.0, SSPL-1.0 or Elastic Licence 2.0 at the user's choice for most source. The x-pack folder is under Elastic Licence 2.0 only. Elastic Cloud is a proprietary service under Elastic's termsApache-2.0 for the engine, the Vespa CLI and pyvespa. Vespa Cloud is a paid hosted service
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-062026-10-01
Terms last updatedcouldn't be readno document linked
Privacy policy last updated2026-09-07no date given
Customer content may train modelscouldn't be read
Terms restrict automated accesscouldn't be read
Terms restrict benchmarkingcouldn't be read
Terms or service can change without noticecouldn't be read
Arbitration or class-action waivercouldn't be read
Popularity3.1M npm/wk, 7.8M PyPI/wk7.1k stars, 180k PyPI/wk

Verdicts

Elasticsearch

Keyword, dense and sparse vector, and hybrid search with rank fusion sit behind one OpenAPI-described REST API, with API keys scoped to indices and privileges. The status page lists more than 20 incidents marked major since July 2026, and Elasticsearch 9.5.0 returned incorrect results for some queries without raising an error.

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

Elasticsearch

  1. Send Authorization: ApiKey <key> to the project's Elasticsearch URL. The MCP server is on the Kibana URL at /api/agent_builder/mcp
  2. Create the MCP key with feature_agentBuilder.read and only the index patterns needed, or the endpoint answers 403
  3. On 429, wait and retry with exponential backoff. Do not set short client timeouts, because a retried request joins the back of the queue
  4. Page past 10,000 hits with search_after, not from and size
  5. Tool calls made directly through the Tools API skip Agent Builder's confirmation prompts, so restrict the key instead

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, Elasticsearch or Vespa?

Vespa scores 70 (BB) on agent readiness against Elasticsearch's 67.7 (B), and leads in 6 of 7 scored categories. Elasticsearch leads on schema & documentation.

Do Elasticsearch and Vespa need an API key?

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

Can an agent call Elasticsearch and Vespa without installing anything?

No hosted endpoint is listed for Elasticsearch. No hosted endpoint is listed for Vespa.

Are Elasticsearch and Vespa open source?

Yes. Elasticsearch is open source (AGPL-3.0, SSPL-1.0 or Elastic Licence 2.0 at the user's choice for most source. The `x-pack` folder is under Elastic Licence 2.0 only. Elastic Cloud is a proprietary service under Elastic's terms). 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 Elasticsearch 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.