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"

Project links:

  • PyPI: https://pypi.org/project/web-agent-sdk/
  • GitHub: https://github.com/Nickbohm555/web-agent

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.1.tar.gz (5.6 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.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: web_agent_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 5.6 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.1.tar.gz
Algorithm Hash digest
SHA256 9ff7a2260458662f1dabb578428e707d15d6004204fc477a49a92640c78e7880
MD5 2ec9640e1bcf3fe5983934bf4843fa8d
BLAKE2b-256 533e7af3aebf89cf76366bf47dcdc8703731ef074305697fdb45416303a70961

See more details on using hashes here.

File details

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

File metadata

  • Download URL: web_agent_sdk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3f592eae7b0de8f6c006f1f2cc3ae6dd4d822f8009ced60a4cb8d9f6cbb3ba04
MD5 53098e6e7a361fba25165670cffc6f31
BLAKE2b-256 92bad87cb509d221af2ae76df5fba646643b6a2759bc2c46888f6aaa5bb3c034

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