Skip to main content

agentex-sdk

The Agent Development Kit (ADK) overlay for the Agentex API.

What's in here

This package ships everything under agentex.lib.*:

  • ACP server (agentex.lib.sdk.fastacp) — FastAPI-based agent control plane.
  • Temporal workflows (agentex.lib.core.temporal) — durable agent execution.
  • CLI (agentex.lib.cli) — agentex init, agentex run, deploy helpers.
  • LLM provider integrations (agentex.lib.adk.providers, agentex.lib.core.temporal.plugins) — OpenAI Agents, Claude Agent SDK, pydantic-ai, langgraph, litellm.
  • Observability (agentex.lib.core.tracing, agentex.lib.core.observability) — SGP, Datadog, OpenTelemetry tracing processors.

Installation

pip install agentex-sdk

This automatically pulls in agentex-client (the slim Stainless-generated REST client) so from agentex import Agentex, AsyncAgentex works the same as before.

When to use this vs agentex-client

  • agentex-sdk — you're authoring agents. Pulls everything: ACP server, Temporal, MCP, LLM providers, observability, CLI. ~37 deps.
  • agentex-client — you only need to call the Agentex REST API. No agent authoring, no Temporal workflows, no FastACP server, no provider integrations. 6 deps.

The two packages contribute disjoint files to the agentex.* namespace — agentex/lib/* ships only from agentex-sdk.

Workflow logging

Use the workflow logger in Temporal workflow code:

from agentex.lib.core.temporal.logging import make_workflow_logger

logger = make_workflow_logger(__name__)

It suppresses logs while Temporal replays recorded history and adds top-level workflow_id and run_id fields during workflow execution. It preserves the message, caller fields, and exception details. Outside workflows, including in activities, it behaves like the ordinary SDK logger.

New Temporal templates use this helper. Existing agents must replace their own workflow loggers to get the same behavior. This does not create trace context or add trace IDs to workflows that lack it. Temporal's worker diagnostics still report replay failures.

Repo layout

This package is hand-authored and lives at adk/ inside scaleapi/scale-agentex-python. Stainless codegen never touches adk/** — it's outside the generated surface. The sibling agentex-client package lives at the repo root and IS Stainless-generated.

The wheel source is assembled from src/agentex/lib/** by adk/hatch_build.py.

Metadata

Release files for agentex-sdk 0.28.6

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

Built distribution (wheel)

Table of built distributions (wheels) for agentex-sdk 0.28.6
File Interpreter ABI Platform Actions
agentex_sdk-0.28.6-py3-none-any.whl Python 3 none any Details for agentex_sdk-0.28.6-py3-none-any.whl

Release files / agentex_sdk-0.28.6-py3-none-any.whl

Download URL agentex_sdk-0.28.6-py3-none-any.whl
Size 696.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5088c865676b887c0363fe626e48f83c3f678b2cf2fb1093dff54d7b52d96b8
BLAKE2b-256 checksum
How to use checksums
7876dde3c104a4d8d13f1f8b61961eba99bdb985c844319d3ebeeb81721d9b07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for agentex-sdk 0.28.6

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.28.6 This release

1 release file No provenance

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