Metadata-Version: 2.4
Name: phaseo-agent-sdk
Version: 0.2.0
Summary: Python agent SDK for building agentic applications on top of Phaseo Gateway
Author: Phaseo
License-Expression: MIT
Project-URL: Homepage, https://phaseo.app
Project-URL: Documentation, https://docs.phaseo.app
Project-URL: Repository, https://github.com/phaseoteam/Phaseo
Project-URL: Issues, https://github.com/phaseoteam/Phaseo/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: phaseo>=2.0.4

# 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

```bash
pip install phaseo phaseo-agent-sdk
```

## Quickstart

```python
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)
```
