Skip to main content

Python SDK for quick search and agentic search in web-agent.

Project description

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

pip install web-agent-sdk

Usage

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")

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

web_agent_sdk-0.1.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

web_agent_sdk-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for web_agent_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 01cb16a6bd5d439092a24e7557cb9e84e9c6d905fddd49388fada8002bd9ef78
MD5 1e95cb1b78a6b40c511ce16c3b8e1fa4
BLAKE2b-256 b5ef1fa1c8be71d9af4ea8b0ad8ca7291094c8b2f5cc97a54f5f0c1f78946027

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for web_agent_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c509599cc7bebee640e9b713f49a32ee8b8c758acf858182763ea007718b8dea
MD5 d93329d611c13eabe53128b8afac10e1
BLAKE2b-256 6bd9d0f0d02433a9155cc13c14fd7627688f5b51a31780b27d9a9923591ba314

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