Skip to main content

Python agent SDK for building agentic applications on top of Phaseo Gateway

Project description

Phaseo Agent SDK (Python)

phaseo-agent-sdk is the native Python runtime for building tool-using applications on Phaseo Gateway.

It provides:

  • create_agent(...)
  • define_tool(...)
  • create_gateway_agent_client(...)
  • bounded and concurrent local tool execution with per-tool timeouts
  • model retry/backoff, lifecycle events, and serializable run state
  • human-review pauses and continue_run(...)
  • Phaseo Devtools capture for runs and continuations

Install

pip install phaseo phaseo-agent-sdk

Quickstart

from phaseo_agent import create_agent, create_gateway_agent_client

agent = create_agent({
    "id": "quickstart-agent",
    "model": "openai/gpt-5.4-nano",
    "instructions": "Answer concisely and helpfully.",
})

result = agent.run(
    input="Give me one fun fact about cURL.",
    client=create_gateway_agent_client(),
)

print(result.output)

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

phaseo_agent_sdk-0.2.0.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

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

phaseo_agent_sdk-0.2.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file phaseo_agent_sdk-0.2.0.tar.gz.

File metadata

  • Download URL: phaseo_agent_sdk-0.2.0.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for phaseo_agent_sdk-0.2.0.tar.gz
Algorithm Hash digest
SHA256 09b0113ac82292fb77cf404eb03232c7816ed73aa056b89a73663528b672cb36
MD5 156a54ece191ff3a21fe98e90a170aa6
BLAKE2b-256 b738f544a3023d4cde659c70410b5c8b58c427f471cfb61d75b90b6a7785b5a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for phaseo_agent_sdk-0.2.0.tar.gz:

Publisher: publish-agent-sdks.yml on phaseoteam/Phaseo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phaseo_agent_sdk-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for phaseo_agent_sdk-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31deb492c2937a095076ce9abc28c9d9ee89fb022cc4431abc3ef34d93f7d724
MD5 ad656beba2e1943f5b67e2834f2bdeac
BLAKE2b-256 92ff8be1342646a6696c948dac67d2b54bc028d0e6035dbcb1c8bc24454ae5f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for phaseo_agent_sdk-0.2.0-py3-none-any.whl:

Publisher: publish-agent-sdks.yml on phaseoteam/Phaseo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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