Metadata-Version: 2.4
Name: web-agent-sdk
Version: 0.1.0
Summary: Python SDK for quick search and agentic search in web-agent.
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: httpx<1.0.0,>=0.28.1
Requires-Dist: pydantic<3.0.0,>=2.11
Provides-Extra: dev
Requires-Dist: pytest<10.0.0,>=9.0.0; extra == "dev"

# web-agent-sdk

Small Python SDK for this repo's two stable search entrypoints:

- `quick_search(...)` posts to the frontend `/api/search` route
- `agentic_search(...)` posts to the backend `/api/agent/run` route with `mode="agentic"`

## Install

```bash
pip install web-agent-sdk
```

## Usage

```python
from web_agent_sdk import WebAgentClient

client = WebAgentClient(
    base_url="http://localhost:3000",
    backend_base_url="http://localhost:8000",
)

quick = client.quick_search("Find pricing", max_results=3)
agentic = client.agentic_search("Investigate this company")
```
