Skip to main content

agent-workbench-fastapi

Thin streaming adapter for mounting a standalone Agent Workbench service in a FastAPI application without giving the Python process a Node or Postgres dependency.

pip install agent-workbench-fastapi
from fastapi import FastAPI
from agent_workbench_fastapi import AgentWorkbenchProxy

app = FastAPI()
app.mount(
    "/api/agent",
    AgentWorkbenchProxy("http://agent-workbench:8080/api/agent"),
)

The proxy forwards only standard content negotiation, content, authentication, cookie, tracing, and idempotency headers by default. It does not forward client-supplied identity or tenant headers. The upstream Workbench service must verify the user credential, or the host must provide a resolve_headers callback that creates a trusted service-to-service identity assertion.

Request and response bodies are streamed. Long-running agent responses are not buffered by the adapter.

The adapter and TypeScript runtime have independent versions. Python releases use tags in the form agent-workbench-fastapi-vX.Y.Z and are published to PyPI. The Agent Workbench service itself can run beside the FastAPI application or elsewhere on the company's private network.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_workbench_fastapi-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

agent_workbench_fastapi-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_workbench_fastapi-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for agent_workbench_fastapi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 897252b80e7f5fa684a995acf4fc5c0c6429eb702e82ded66429a9bf1bab41cf
MD5 13aeb1cc5d1f54bd8e888e5054a2b772
BLAKE2b-256 e6d68393e96666a476362df2f85932025cd074115e6569e08a782592e10391df

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_workbench_fastapi-0.1.0.tar.gz:

Publisher: python-release.yml on Dark-Horse-Labs/agent-workbench

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

File details

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

File metadata

File hashes

Hashes for agent_workbench_fastapi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 55933649f47ea293ae72846777f638bbd53e94979956c511583b8f6e82e01914
MD5 7dcda4d165ca408ae6067a8d5e826bdf
BLAKE2b-256 ecd66851c60bf776c20bef27012135ff60bd240e51ccadde0b1d0006f807c7c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_workbench_fastapi-0.1.0-py3-none-any.whl:

Publisher: python-release.yml on Dark-Horse-Labs/agent-workbench

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

Release history Release notifications | RSS feed

0.2.0

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page