Skip to main content

No project description provided

Project description

Agentic Layer Python SDK for Google ADK

SDK for Google ADK that helps to get agents configured in the Agentic Layer quickly.

Features

  • Configures OTEL (Tracing, Metrics, Logging)
  • Converts an ADK agent into an instrumented starlette app
  • Configures A2A protocol for inter-agent communication
  • Offers parsing methods for sub agents and tools
  • Set log level via env var LOGLEVEL (default: INFO)

Usage

Dependencies can be installed via pip or the tool of your choice:

pip install agentic-layer-sdk-adk

Basic usage example:

from agenticlayer.agent_to_a2a import to_a2a
from agenticlayer.otel import setup_otel

# Set up OpenTelemetry instrumentation, logging and metrics
setup_otel()

# Declare your ADK root agent
root_agent = ...

# Define the URL where the agent will be available from outside
# This can not be determined automatically,
# because the port is only known at runtime,
# when the starlette app is started with Uvicorn.
rpc_url = "http://localhost:8000/"

# Create starlette app with A2A protocol
app = to_a2a(root_agent, rpc_url)

OpenTelemetry Configuration

The SDK automatically configures OpenTelemetry observability when running setup_otel(). You can customize the OTLP exporters using standard OpenTelemetry environment variables: https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/

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

agentic_layer_sdk_adk-0.7.0.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

agentic_layer_sdk_adk-0.7.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file agentic_layer_sdk_adk-0.7.0.tar.gz.

File metadata

  • Download URL: agentic_layer_sdk_adk-0.7.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for agentic_layer_sdk_adk-0.7.0.tar.gz
Algorithm Hash digest
SHA256 3310c836d0211f60c2c1e4299e8d1cf2473de17108c698d10d902ab5212ac6e9
MD5 3e1928b81f77d376f3e947ad27455e19
BLAKE2b-256 1ca7f9a393ad7e02880a80cc172f5ed466b8b37b715e63845aa16be40eb17a90

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentic_layer_sdk_adk-0.7.0.tar.gz:

Publisher: publish.yml on agentic-layer/sdk-python

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

File details

Details for the file agentic_layer_sdk_adk-0.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agentic_layer_sdk_adk-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1a70813c53819b000d82e50723978917ab08f32738def93e952a3080c48f591
MD5 ef58a61ba38dca478c006e7046c8b228
BLAKE2b-256 fb8eebc3a97f702ec8de7c1c8914bc47a29b00d615c65d651cd7516839ee383b

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentic_layer_sdk_adk-0.7.0-py3-none-any.whl:

Publisher: publish.yml on agentic-layer/sdk-python

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

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