Skip to main content

Paved SDK

Project description

Paved SDK

PVD SDK for Paved platform (the Firewall for AI Agents). All policy checks and telemetry route through the Paved Platform API (default: https://app.hipaved.com).

Install

pip install pvd

After installing, you can log in to the platform (assuming you have created an account in https://app.hipaved.com):

pvd login

CLI Usage

# Init a starter agent project
pvd init my-agent --template llm

# Build a tarball to deploy
cd my-agent
pvd build . -o my-agent.tar.gz

# Deploy to the platform
pvd deploy my-agent.tar.gz --name my-agent

# List and invoke
pvd list
pvd invoke <agent-id> --payload '{"message": "hello"}'
pvd logs <invocation-id> --follow

SDK Usage

from pvd.sdk import Agent, PolicyDeniedError

agent = Agent(
    agent_id="my-remote-agent",
    policies=["pii_strict"],
)

try:
    text = agent.llm("Summarize our Q3 performance.")
finally:
    agent.complete(result={"ok": True})

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pvd-0.1.0.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pvd-0.1.0-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file pvd-0.1.0.tar.gz.

File metadata

  • Download URL: pvd-0.1.0.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for pvd-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ad6257603e4102b2881f07b302240ce89815f1f90d40a4904c0e9fd30b9b6167
MD5 283f1df8f512c40e8baa23f9b603bfce
BLAKE2b-256 439e0fba003de304b48fd653547f82b0f03a48a809811b16ee0b27250db40095

See more details on using hashes here.

File details

Details for the file pvd-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pvd-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for pvd-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a86662b995eb161da7eee4f1b27695bfa415ea1ba44bbbf22004a9d248a18ca
MD5 2d48ebbd363c19a1a4c053c6675a4c37
BLAKE2b-256 b625255b10fee53e27e5577c0d6582c35dff0ed6f29f15d8dc269a281ea618e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page