Skip to main content

agenttrafficlab

Zero-dependency Python client for Agent Traffic Lab.

Install

pip install agenttrafficlab
from agenttrafficlab import run

result = run("search latest critical CVE")
print(result["result"])
print(result["execution_status"])

For the default tenant, run() now calls ATL's canonical atl_complete_task MCP tool directly. The caller sends the natural-language task once; ATL chooses an eligible provider/tool, executes it, applies bounded fallback when needed, verifies the result, and records the durable Outcome automatically. There is no client-side decide -> execute round trip and no separate feedback callback.

When capability is omitted, the SDK leaves capability inference to ATL. Pass it only when the caller already knows the required capability.

result = run("extract the fields from this page")
result = run("custom task", capability="extract")

You can also call the default path explicitly:

from agenttrafficlab import complete_task

result = complete_task("translate Hello into Spanish")

The returned object is ATL's structured task result and retains advanced decision and execution evidence for callers that need it.

Advanced: Decision only

from agenttrafficlab import decide

result = decide("search latest critical CVE")
print(result["recommended_provider"]["provider_id"])

Use decide() only when your own system specifically needs routing/Decision evidence without immediate ATL-owned completion. execute_decision() remains available for explicit Decision-bound execution. If you pass a non-default tenant_scope to run(), the client preserves that advanced Decision-bound path for backward compatibility.

When execution happens outside ATL, report the real result if you want it included as Outcome evidence. Normal run() / complete_task() usage records Outcome automatically.

Provider selection remains ATL-owned; callers do not choose a provider directly.

Public surfaces:

  • MCP / default complete-task path: https://mcp.agenttrafficlab.com/mcp
  • Decision API: https://mcp.agenttrafficlab.com/intent-entrance/decision
  • Execution API: https://mcp.agenttrafficlab.com/intent-entrance/execute
  • Live demo: https://mcp.agenttrafficlab.com/try

Python 3.9+; no runtime dependencies.

Metadata

Release files for agenttrafficlab 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agenttrafficlab 0.1.5
File Size Uploaded Provenance Actions
agenttrafficlab-0.1.5.tar.gz 5.7 kB With provenance Details for agenttrafficlab-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agenttrafficlab 0.1.5
File Interpreter ABI Platform Actions
agenttrafficlab-0.1.5-py3-none-any.whl Python 3 none any Details for agenttrafficlab-0.1.5-py3-none-any.whl

Total release size: 12.7 kB

Release files / agenttrafficlab-0.1.5.tar.gz

Download URL agenttrafficlab-0.1.5.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
26c63771bef165be253284cd46038c71f679ca8fe3d351b6f32e311ea326673b
BLAKE2b-256 checksum
How to use checksums
9b3e4b32ffca74155ab6ad872b6e4ae3533fb44dada06c54dc4df836cfe3e875
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / agenttrafficlab-0.1.5-py3-none-any.whl

Download URL agenttrafficlab-0.1.5-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97af67e8ed750198dd3e14b546b1b5353b7ffe7f04156614824253bc749d886b
BLAKE2b-256 checksum
How to use checksums
9addf49966c3463a164cb5071f138e5017134170ed695ecfd9beff2b0ad357e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Security for agenttrafficlab 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for agenttrafficlab-0.1.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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