pyvespa

Define Vespa application packages, deploy to Docker or Cloud, and query via Python APIs.

14|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/vespaai-playground/skills --skill pyvespa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pyvespa
Source: https://github.com/vespaai-playground/skills/tree/main/pyvespa
Command: npx skills add https://github.com/vespaai-playground/skills --skill pyvespa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Vespa developers need a Python-based interface to define application packages, deploy them to Docker or Vespa Cloud, and interact with Vespa via Python APIs.

Core Features & Use Cases

  • Official Python client for Vespa: define application packages programmatically, deploy to Vespa Docker or Vespa Cloud, feed documents, query, and use vespa.querybuilder.
  • Seamless project workflows: create schemas, rank profiles, and deployment configurations; connect to Vespa instances and perform end-to-end data workflows.
  • Real-world example: define a sample application package, deploy locally, feed documents, and run a query against the deployed instance.

Quick Start

Install pyvespa with pip, define a sample ApplicationPackage, deploy to Vespa Docker or Vespa Cloud, and run a basic query.

Frequently Asked Questions about pyvespa

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I define and deploy a Vespa application package using Python?

The pyvespa package provides a Python interface to define schemas, feed documents, and execute queries against a Vespa instance. It bridges Python APIs with Vespa application package definitions for end-to-end data workflows.

Can I use Python to feed documents and run queries in Vespa?

Yes, pyvespa enables you to feed documents and execute queries against your deployed Vespa instance via Python APIs. You can interact with the instance and perform end-to-end data workflows seamlessly after deploying your application package.

Do I need Docker or Vespa Cloud to deploy an application package with pyvespa?

You need a Vespa deployment target, which can be either Docker or Vespa Cloud, to deploy your application package. The pyvespa client supports deploying programmatically to either environment.

What Python versions are required to use the pyvespa client?

The pyvespa client requires Python 3.10 to 3.13 to operate. You also need to install the pyvespa package itself to define application packages and interact with Vespa APIs.

Is there a query builder DSL available for Vespa in Python?

Yes, pyvespa includes the vespa.querybuilder feature, allowing you to construct and execute queries programmatically. This Python-based DSL integrates directly with your application package workflow.