Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

AIP Agents

Python 3.13 support starts with aip-agents 0.6.141. Due to an issue with Python >=3.13.12, support for that version range starts with aip-agents 0.6.152. Python 3.12 remains the preferred version.

Description

The core agent library for local execution in GL AIP (GDP Labs AI Agents Package). aip-agents is part of the GL AIP ecosystem:

  • aip-agents (this library) — The underlying agent library for local execution
  • ai-agent-platform — The platform that provides remote server/run capabilities (uses aip-agents internally)
  • glaip-sdk — The SDK that end users use to run agents either locally (directly via aip-agents) or on the remote server (via ai-agent-platform)

You can use aip-agents directly for local execution, or let glaip-sdk manage local vs remote mode for you. See the GL AIP overview for the full architecture.

Installation

Prerequisites

1. Installation from the GDP Labs registry

This package is published to the internal GDP Labs registry. Ensure your pip/Poetry config includes the registry: https://glsdk.gdplabs.id/gen-ai-internal/simple/.

Using pip

pip install aip-agents

Using Poetry

poetry add aip-agents

2. Development Installation (Git)

For development purposes, you can install directly from the Git repository:

poetry add "git+ssh://git@github.com/GDP-ADMIN/glaip-sdk.git#subdirectory=python/aip-agents"

If you want local + remote compatibility, install the SDK's local extra instead:

pip install "glaip-sdk[local]"

Optional Extras

pip install "aip-agents[google]"
pip install "aip-agents[google-adk]"
pip install "aip-agents[memory]"
pip install "aip-agents[privacy]"
  • google: Enable GoogleADKAgent plus A2UI support for the umbrella Google install.
  • google-adk: Enable GoogleADKAgent and Google ADK MCP client integration.

Skills (PR-001 Foundation)

The Skills installer relies on GL Connectors SkillFactory. To install skills from GitHub, install the skills extra so gl-connectors-tools>=0.0.6 is available.

pip install "aip-agents[skills]"
from aip_agents.skills import Skill

skill = await Skill.from_github(
    source="https://github.com/anthropics/skills/tree/main/skills/brand-guidelines",
    destination_root=".agents/skills",
)

assert skill.name == "brand-guidelines"

If you only need to load an already-installed skill, use Skill.from_path(...).

Skill staging copies all resource files — both UTF-8 text and binary assets (images, PDFs, archives) — into the configured backend via write / write_bytes. A resource manifest is written at /skills/<skill>/.aip-skill-index.json with each resource's relative path, type classification (instruction/reference/example/script/asset), binary flag, and content summary. Noise directories such as .git, .venv, and node_modules are excluded.

When SkillsMiddleware receives multiple GitHub sources (for example, skills=["...", "..."]), it now attempts every install before failing. If one or more sources fail, middleware raises a single SkillInstallError that summarizes failed source URLs and underlying errors. This compatibility handling targets the upstream SkillFactory.create_multiple breaking-change line described in GDP-ADMIN/gl-connectors-sdk PR #699 (BatchResult + non-fail-fast behavior).

Skill Runtime Selection

By default the middleware is prompt-driven: the parent model loads skills with skill_load / skill_resource and follows the instructions itself. Setting skill_runtime="gl_skill" swaps the Skill tools for a single bounded skill_run(name, query) tool backed by the standalone GL Skill runtime (provided by gl-skill-binary, included in the skills extra). The parent model invokes the skill by name, receives one structured result, and keeps its normal loop and capabilities.

from aip_agents.middleware.skills import SkillConfig

config = SkillConfig(skills=[skill], skill_runtime="gl_skill")
agent = LangGraphReactAgent(name="parent", instruction="...", model=model, skills=config)

Notes:

  • Omitting the selector (or skill_runtime="aip") preserves the current behavior exactly.
  • Base aip-agents imports never require gl-skill-binary; it is only imported when a skill_run invocation starts, and a missing dependency produces an actionable error.
  • skill_run accepts only name and query; names resolve against the middleware's attached, materialized skills, never a model-supplied path.
  • The inner GL run receives only the resolved skill, the query, the agent's model runtime (a processed LM invoker), and a bounded time budget — parent tools, MCPs, filesystem, memory, guardrails, and HITL are never lent to it.

Integration Facade

Cross-package consumers such as glaip-sdk should import local-runtime boundary contracts from aip_agents.integration rather than reaching into deep internal modules.

Current contract modules:

  • aip_agents.integration.agent
  • aip_agents.integration.guardrails
  • aip_agents.integration.hitl
  • aip_agents.integration.ptc
  • aip_agents.integration.skills
  • aip_agents.integration.storage

The initial public contract version is v1 via aip_agents.integration.integration_contract_version.

The following deep paths are non-contract surfaces and may change without notice even when the facade currently re-exports related behavior:

  • aip_agents.agent.hitl.*
  • aip_agents.guardrails.engines.*
  • aip_agents.guardrails.manager
  • aip_agents.guardrails.schemas
  • aip_agents.ptc.custom_tools
  • aip_agents.ptc.naming
  • aip_agents.ptc.tool_def_helpers
  • aip_agents.storage.clients.*
  • aip_agents.storage.providers.*
  • aip_agents.utils.langgraph.tool_output_management

During the additive migration window, existing deep imports may still work, but new cross-package integrations should target the facade namespace only.

The legacy aip_agents.agent runtime import inventory and compatibility risks are captured in docs/public-agent-api-compatibility.md.

A2UI Support (v0.8 and v0.9 standard catalogs)

aip-agents can emit and preserve A2UI payloads in the final SSE metadata as metadata.a2ui_content when configured with a2ui at agent creation.

Enablement example:

from aip_agents.agent.langgraph_react_agent import LangGraphReactAgent

agent = LangGraphReactAgent(
    name="restaurant-finder",
    instruction="Help customer choose a restaurant.",
    config={
        "a2ui": {
            "enabled": True,
            "schema_version": "0.9",
        }
    },
)

Behavior in this release:

  • Outbound A2UI payload in the final response is validated and normalized to A2UIContentMetadata.
  • On validation fallback, metadata includes validation.status = "fallback" and a machine-readable validation.fallback_reason.
  • A userAction can be passed to the agent as ordinary input; dedicated renderer-action normalization and routing are outside this package.
  • schema_version controls catalog selection and defaults to "0.9" (STANDARD_SCHEMA_VERSION) when omitted; pass schema_version="0.8" explicitly to keep the legacy wire shape.
  • Both "0.8" and "0.9" ship bundled default list/form/confirmation examples (aip_agents/a2ui/examples/<version>/) used to enrich the system prompt.
  • Deep semantic renderability checks (root/child-reference validation beyond jsonschema) remain v0.8-only; v0.9 payloads are jsonschema-validated but not yet checked for renderability parity.

Managing Dependencies

  1. Go to the aip-agents module root, e.g. cd python/aip-agents.
  2. Run poetry shell to create a virtual environment.
  3. Run poetry install to install the aip-agents requirements (Poetry will generate a local lock file for you if needed; the repository ignores it).
  4. Run poetry update if you change any dependency versions in pyproject.toml.

Contributing

Please refer to this Python Style Guide to get information about code style, documentation standard, and SCA that you need to use when contributing to this project

  1. From python/aip-agents, install hooks with pre-commit install (this enables the module deep-import-scanner hook to run on every commit)
  2. Run poetry shell to create a virtual environment.
  3. Run poetry install to install the aip-agents requirements (this will also create a local lock file that stays local).
  4. Run which python to get the path to be referenced at Visual Studio Code interpreter path (Ctrl+Shift+P or Cmd+Shift+P)
  5. Try running the unit test to see if it's working:
poetry run pytest -s tests/unit_tests/

Hello World Examples

Prerequisites

  • Python 3.11 - 3.13
  • Install the package:
pip install aip-agents
  • Install Google ADK support only if you use Google ADK examples:
pip install "aip-agents[google-adk]"
  • For OpenAI: Set your API key in the environment:
export OPENAI_API_KEY=your-openai-key
  • For Google ADK: Set your API key in the environment:
export GOOGLE_API_KEY=your-google-api-key

Run the Hello World Examples

The example scripts are located in aip_agents/examples in the source repo. You can run them individually or use the run_all_examples.py script.

1. Running Individual Examples:

Navigate to the library's root directory (e.g., python/aip-agents if you cloned the repository).

LangGraph (OpenAI):

python aip_agents/examples/hello_world_langgraph.py

LangGraph with GL Connectors (OpenAI):

python aip_agents/examples/hello_world_langgraph_gl_connector_twitter.py

LangGraph Streaming (OpenAI):

python aip_agents/examples/hello_world_langgraph_stream.py

LangGraph Multi-Agent Coordinator (OpenAI):

python aip_agents/examples/hello_world_a2a_multi_agent_coordinator_server.py

Google ADK:

python aip_agents/examples/hello_world_google_adk.py

Google ADK Streaming:

python aip_agents/examples/hello_world_google_adk_stream.py

LangChain (OpenAI):

python aip_agents/examples/hello_world_langchain.py

LangChain Streaming (OpenAI):

python aip_agents/examples/hello_world_langchain_stream.py

HITL (Human-in-the-Loop) Approval Demo:

python aip_agents/examples/hitl_demo.py

2. Running MCP Examples

Prerequisites

Ensure you have set the environment variables for API keys required by the examples you run:

export OPENAI_API_KEY="your-openai-key"
export GOOGLE_API_KEY="your-google-api-key"

GOOGLE_API_KEY is only required for Google ADK examples.

For examples that use stateful MCP tools like browser automation, start the Playwright MCP server in a separate terminal:

npx @playwright/mcp@latest --headless --port 8931

Note: Use the --headless flag to run the server without a visible browser window, which is recommended if the browser is not installed yet to avoid failures. For using an actual (non-headless) browser, refer to the Playwright MCP documentation.

Local MCP Servers

For STDIO, SSE, and HTTP transports using local servers, open a terminal in the library root (python/aip-agents) and run:

  • For STDIO:
poetry run python aip_agents/examples/mcp_servers/mcp_server_stdio.py
  • For SSE:
poetry run python aip_agents/examples/mcp_servers/mcp_server_sse.py
  • For HTTP:
poetry run python aip_agents/examples/mcp_servers/mcp_server_http.py

Note: Start the appropriate server before running the client examples for that transport.

Running Examples

All examples are run from the library root using poetry run python aip_agents/examples/<file>.py. Examples support OpenAI for LangGraph/LangChain and Google ADK where specified.

LangChain Examples

STDIO Transport
  • Non-Streaming:
poetry run python aip_agents/examples/hello_world_langchain_mcp_stdio.py
  • Streaming:
poetry run python aip_agents/examples/hello_world_langchain_mcp_stdio_stream.py
SSE Transport
  • Non-Streaming:
poetry run python aip_agents/examples/hello_world_langchain_mcp_sse.py
  • Streaming:
poetry run python aip_agents/examples/hello_world_langchain_mcp_sse_stream.py
HTTP Transport
  • Non-Streaming:
poetry run python aip_agents/examples/hello_world_langchain_mcp_http.py
  • Streaming:
poetry run python aip_agents/examples/hello_world_langchain_mcp_http_stream.py

Google ADK Examples

STDIO Transport
  • Non-Streaming:
poetry run python aip_agents/examples/hello_world_google_adk_mcp_stdio.py
  • Streaming:
poetry run python aip_agents/examples/hello_world_google_adk_mcp_stdio_stream.py
SSE Transport
  • Non-Streaming:
poetry run python aip_agents/examples/hello_world_google_adk_mcp_sse.py
  • Streaming:
poetry run python aip_agents/examples/hello_world_google_adk_mcp_sse_stream.py
HTTP Transport
  • Non-Streaming:
poetry run python aip_agents/examples/hello_world_google_adk_mcp_http.py
  • Streaming:
poetry run python aip_agents/examples/hello_world_google_adk_mcp_http_stream.py

LangGraph Examples (OpenAI)

STDIO Transport
  • Non-Streaming:
poetry run python aip_agents/examples/hello_world_langgraph_mcp_stdio.py
  • Streaming:
poetry run python aip_agents/examples/hello_world_langgraph_mcp_stdio_stream.py
SSE Transport
  • Non-Streaming:
poetry run python aip_agents/examples/hello_world_langgraph_mcp_sse.py
  • Streaming:
poetry run python aip_agents/examples/hello_world_langgraph_mcp_sse_stream.py
HTTP Transport
  • Non-Streaming:
poetry run python aip_agents/examples/hello_world_langgraph_mcp_http.py
  • Streaming:
poetry run python aip_agents/examples/hello_world_langgraph_mcp_http_stream.py

Multi-Server Example

This LangChain example uses multiple MCP servers: Playwright (for browser actions) and a random name generator (SSE transport) with persistent sessions across multiple arun calls.

  1. Start the Playwright server:
npx @playwright/mcp@latest --headless --port 8931
  1. In another terminal, start the Name Generator SSE server:
poetry run python aip_agents/examples/mcp_servers/mcp_name.py
  1. Run the multi-server client example:
poetry run python aip_agents/examples/hello_world_langchain_mcp_multi_server.py

3. Running Individual A2A Examples:

  • Navigate to the library's root directory (e.g., libs/aip-agents if you cloned the repository).
  • Open a new terminal and navigate to the aip_agents/examples directory to run the A2A server.

LangChain Server:

python hello_world_a2a_langchain_server.py
  • Open a new terminal and navigate to the aip_agents/examples directory to run the A2A client.

LangChain Client:

python hello_world_a2a_langchain_client.py

LangChain Client Integrated with Agent Workflow:

python hello_world_a2a_langchain_client_agent.py

LangChain Client Streaming:

python hello_world_a2a_langchain_client_stream.py

Human-in-the-Loop (HITL) Approval

AIP Agents supports Human-in-the-Loop approval for tool execution, allowing human operators to review and approve high-risk tool calls before they execute.

Features

  • Configurable Approval Policies: Set approval requirements per tool with customizable timeouts and behaviors
  • Interactive CLI Prompts: Clear, structured prompts showing tool details and context
  • Structured Logging: All approval decisions are logged with full metadata
  • Timeout Handling: Configurable behavior when approval requests time out
  • Non-blocking: Tools without HITL configuration execute normally

Quick Start

Configure HITL for specific tools in your agent:

from aip_agents.agent import LangGraphReactAgent
from aip_agents.agent.hitl.config import ToolApprovalConfig

# Create agent with tools
agent = LangGraphReactAgent(
    name="My Agent",
    tools=[send_email_tool, search_tool],
)

# Configure HITL via tool_configs
agent.tool_configs = {
    "tool_configs": {
        "send_email": {"hitl": {"timeout_seconds": 300}}
    }
}

When the agent attempts to use the send_email tool, it will:

  1. Emit a pending approval event via DeferredPromptHandler
  2. Wait for ApprovalManager.resolve_pending_request() to be called
  3. Execute the tool only if approved
  4. Log the decision for audit purposes

Configuration Options

Option Type Default Description
timeout_seconds int 300 Seconds to wait for operator input

Logging

All HITL decisions are logged with structured data:

{
  "event": "hitl_decision",
  "tool": "send_email",
  "decision": "approved",
  "operator_input": "A",
  "latency_ms": 2500,
  "timestamp": "2025-09-25T10:15:00Z"
}

Demo

Run the interactive demo to see HITL in action:

python aip_agents/examples/hitl_demo.py

Delegation Timeout Policy

When using coordinator agents with delegated sub-agents (delegate_to_<agent> tools), timeout behavior follows a dedicated policy:

  • Source of truth: delegated timeout comes from the delegated agent configuration (agent.timeout or agent.config.timeout_seconds). Delegation checks timeout_seconds first and falls back to legacy execution_timeout only for delegation-specific compatibility.
  • Regular tool-resilience timeout metadata (resilience.timeout_seconds, top-level timeout_seconds, and tool_timeout_seconds) does not control delegated-agent timeout behavior.
  • Legacy delegation timeout override keys are ignored for effective timeout resolution.
  • Ignored override attempts emit a deterministic warning signal in tool metadata:
    • metadata.delegation_timeout_warning.code = \"delegation_timeout_override_ignored\"
    • metadata.delegation_timeout_warning.ignored_keys lists ignored keys
    • metadata.delegation_timeout_warning.effective_timeout_seconds records delegated effective timeout when available

If delegated timeout configuration is missing, invalid, or non-positive, delegation fails before execution with invalid_timeout_config.

Root Agent Timeout

Set AgentConfig(timeout_seconds=N) to enforce one absolute deadline across the agent's complete execution. The deadline covers setup, middleware, model calls, tools, delegation, HITL waits, formatting, and all stream waits. Delegated agents inherit the parent's remaining budget; their own shorter timeout still takes precedence.

Expiration raises AgentRunTimeoutError for direct run, arun, and regular stream calls. A2A and SSE terminal error events include the same exception type, agent name, entry point, and configured timeout in metadata. Existing tool, HITL, MCP, sandbox, and PTC timeouts remain inner operation budgets.

Cancellation is cooperative. Synchronous work already running in an executor or daemon thread cannot be forcibly stopped, although the public run() call returns at the root deadline and late results are discarded. Successful cleanup is allowed to finish; cleanup after deadline cancellation is bounded.

Architectural Notes

Memory Features

The library supports Mem0 as a memory backend for long-term conversation recall. Key features:

  • Automatic persistence of user-agent interactions via memory_backend="mem0".
  • Semantic search for relevant past conversations.
  • New built_in_mem0_search tool for explicit recall by time period (e.g., "yesterday", "last week", "July 2025").
  • Date range parsing for natural language time filters using dateparser.
  • Conditional auto-augmentation (disabled by default to reduce noise; enable with memory_auto_augment=True).

Mem0 Integration Tests

Use the Mem0 integration tests to validate memory persistence, recall, and deletion:

cd python/aip-agents && poetry run pytest tests/integration_tests/test_mem0_coordinator.py -q

Mem0 SDK Mode

Install the memory extra with SDK-mode dependencies and configure direct Elasticsearch access:

pip install "aip-agents[memory]"
export MEMORY_ELASTICSEARCH_URL="https://elasticsearch.example:9243"
export MEMORY_COLLECTION_NAME="mem0"
export MEMORY_EMBEDDING_MODEL="openai/text-embedding-3-small"
export MEMORY_EMBEDDING_DIMENSIONS="1536"
export OPENAI_API_KEY="your-api-key"

Elasticsearch credentials are provided through dedicated environment variables and never placed in agent_config: MEMORY_ELASTICSEARCH_USER and MEMORY_ELASTICSEARCH_PASSWORD for basic auth, or MEMORY_ELASTICSEARCH_API_KEY for API-key auth. Alternatively, embed the userinfo directly in MEMORY_ELASTICSEARCH_URL (http://user:pass@elasticsearch.example:9243); explicit environment variables take precedence over URL userinfo.

Pass the non-secret settings through agent_config and select SDK mode:

import os

agent_config = {
    "memory": "mem0",
    "memory_mode": "sdk",
    "memory_elasticsearch_url": os.environ["MEMORY_ELASTICSEARCH_URL"],
    "memory_collection_name": os.environ["MEMORY_COLLECTION_NAME"],
    "memory_embedding_model": os.environ["MEMORY_EMBEDDING_MODEL"],
    "memory_embedding_dimensions": int(os.environ["MEMORY_EMBEDDING_DIMENSIONS"]),
}

The runner builds the embedding invoker from the configured model and runtime credentials, then registers the agent's language-model invoker with MemoryLMComponent. Existing hosted mode remains the default and continues to use MEM0_HOST/MEM0_API_KEY or their GLLM_MEMORY_* aliases.

Deep Agents Middleware

The Deep Agents Middleware system provides composable components for enhancing agent capabilities with planning, context management, and custom lifecycle hooks.

Quick Start

Enable deep agent capabilities with a single parameter:

from aip_agents.agent.langgraph_react_agent import LangGraphReactAgent

# Enable planning + filesystem for complex multi-step tasks
agent = LangGraphReactAgent(
    name="research_agent",
    model="gpt-4",
    planning=True,  # Enables TodoListMiddleware for task decomposition
    tools=[search_tool, calculator_tool],
)

Understanding Planning vs Filesystem

Important: planning and filesystem are completely independent features:

  • planning=True

    • Adds write_todos tool for task decomposition
    • Stores todos in in-memory dictionary (per thread_id)
    • Does NOT use or require filesystem
    • Perfect for breaking down complex tasks into steps
    • Example: "Research quantum computing" → agent creates 5 subtasks
  • filesystem=True

    • Adds file operation tools: ls, read_file, write_file, edit_file, grep
    • Stores data in pluggable backend (default: InMemoryBackend)
    • Does NOT interact with planning/todos
    • Perfect for offloading large tool results to prevent context overflow
    • Example: Web search returns 50KB → agent writes to /research/results.txt
  • Both together (planning=True, filesystem=True)

    • Agent can plan tasks AND manage large data
    • Todos stored separately in memory, files in backend
    • Most powerful combination for complex research/analysis tasks

Planning Only

For task decomposition without filesystem:

agent = LangGraphReactAgent(
    name="planner_agent",
    model="gpt-4",
    planning=True,
    tools=[...],
)

Filesystem Only

For context offloading without planning:

agent = LangGraphReactAgent(
    name="data_processor",
    model="gpt-4",
    filesystem=True,  # Enables FilesystemMiddleware
    tools=[...],
)

Custom Middleware

Create domain-specific middleware by implementing the AgentMiddleware protocol:

from aip_agents.middleware.base import AgentMiddleware, ModelRequest

class CustomMiddleware:
    def __init__(self):
        self.tools = []  # Add custom tools here
        self.system_prompt_additions = "Custom instructions..."

    def before_model(self, state: dict) -> dict:
        # Hook executed before model invocation
        return {}

    def modify_model_request(self, request: ModelRequest, state: dict) -> ModelRequest:
        # Modify the model request (add tools, adjust params, etc.)
        return request

    def after_model(self, state: dict) -> dict:
        # Hook executed after model invocation
        return {}

# COMPOSITION (not override): Custom middlewares EXTEND built-in middleware
agent = LangGraphReactAgent(
    name="custom_agent",
    model="gpt-4",
    planning=True,        # Adds TodoListMiddleware
    filesystem=True,      # Adds FilesystemMiddleware
    middlewares=[CustomMiddleware()],  # EXTENDS (doesn't replace) the above
    tools=[...],
)
# Result: Agent has ALL THREE middleware active:
#   1. TodoListMiddleware (from planning=True)
#   2. FilesystemMiddleware (from filesystem=True)
#   3. CustomMiddleware (from middlewares parameter)

Key Points:

  • ✅ middlewares parameter extends (never replaces) auto-configured middleware
  • ✅ planning and filesystem are independent - use either, both, or neither
  • ✅ planning=True stores todos in memory (does NOT require filesystem)
  • ✅ Execution order: built-in middleware (planning, filesystem) → custom middlewares
  • ✅ All hooks from all middleware execute in sequence

Common Combinations:

# Planning only (no filesystem)
# → Todos stored in memory, no file operations available
agent = LangGraphReactAgent(planning=True)
# → [TodoListMiddleware]

# Filesystem only (no planning)
# → File operations available, no todo planning
agent = LangGraphReactAgent(filesystem=True)
# → [FilesystemMiddleware]

# Both planning and filesystem
# → Todos in memory + file operations (most powerful combination)
agent = LangGraphReactAgent(planning=True, filesystem=True)
# → [TodoListMiddleware, FilesystemMiddleware]

# Custom only (no auto-configuration)
agent = LangGraphReactAgent(middlewares=[CustomMiddleware()])
# → [CustomMiddleware]

# All together (composition)
agent = LangGraphReactAgent(
    planning=True,
    filesystem=True,
    middlewares=[CustomMiddleware()]
)
# → [TodoListMiddleware, FilesystemMiddleware, CustomMiddleware]

Advanced: Custom Storage Backend

Provide your own storage backend for filesystem operations:

from aip_agents.middleware.backends.protocol import BackendProtocol
from aip_agents.middleware.backends.memory import InMemoryBackend

# Use custom backend (e.g., PostgreSQL, S3, Redis)
custom_backend = MyCustomBackend()

agent = LangGraphReactAgent(
    name="agent",
    model="gpt-4",
    filesystem=custom_backend,  # Pass BackendProtocol instance
    tools=[...],
)

Benefits

  • Context Window Management: Automatically offload large tool results to files
  • Task Decomposition: Break down complex multi-step tasks into trackable todos
  • Incremental Development: Add capabilities gradually (filesystem first, then planning)
  • Zero Breaking Changes: Existing agents work unchanged (backward compatible)
  • Extensible: Compose custom middleware with built-in components

For detailed documentation, see docs/deep_agents_guide.md (coming soon).

Agent Interface (AgentInterface)

The aip_agents.agent.interface.AgentInterface class defines a standardized contract for all agent implementations within the AIP Agents ecosystem. It ensures that different agent types (e.g., LangGraph-based, Google ADK-based) expose a consistent set of methods for core operations.

Key methods defined by AgentInterface typically include:

  • arun(): For asynchronous execution of the agent that returns a final consolidated response.
  • arun_stream(): For asynchronous execution that streams back partial responses or events from the agent.

By adhering to this interface, users can interact with various agents in a uniform way, making it easier to switch between or combine different agent technologies.

Inversion of Control (IoC) / Dependency Injection (DI)

The agent implementations (e.g., LangGraphAgent, GoogleADKAgent) utilize Dependency Injection. For instance, LangGraphAgent accepts an agent_executor (like one created by LangGraph's create_react_agent) in its constructor. Similarly, GoogleADKAgent accepts a native adk_native_agent. This allows the core execution logic to be provided externally, promoting flexibility and decoupling the agent wrapper from the specific instantiation details of its underlying engine.

Metadata

Release files for aip-agents-binary 0.6.167b1

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

Built distributions (wheels)

Table of built distributions (wheels) for aip-agents-binary 0.6.167b1
File
aip_agents_binary-0.6.167b1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
aip_agents_binary-0.6.167b1-cp313-cp313-manylinux_2_36_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.36+ x86-64 Details
aip_agents_binary-0.6.167b1-cp313-cp313-macosx_13_0_arm64.whl CPython 3.13 CPython 3.13 macOS 13.0+ ARM64 Details
aip_agents_binary-0.6.167b1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
aip_agents_binary-0.6.167b1-cp312-cp312-manylinux_2_36_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.36+ x86-64 Details
aip_agents_binary-0.6.167b1-cp312-cp312-macosx_13_0_arm64.whl CPython 3.12 CPython 3.12 macOS 13.0+ ARM64 Details
aip_agents_binary-0.6.167b1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
aip_agents_binary-0.6.167b1-cp311-cp311-manylinux_2_36_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.36+ x86-64 Details
aip_agents_binary-0.6.167b1-cp311-cp311-macosx_13_0_arm64.whl CPython 3.11 CPython 3.11 macOS 13.0+ ARM64 Details

Total release size: 78.9 MB

Release files / aip_agents_binary-0.6.167b1-cp313-cp313-win_amd64.whl

Download URL aip_agents_binary-0.6.167b1-cp313-cp313-win_amd64.whl
Size 7.2 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
0bf033f2599f7be58099ee4ca0fae9ae480e5354135376b34c9153a04504d2a8
BLAKE2b-256 checksum
How to use checksums
39b11081f0eec3168093ad558d5af6eaccaec502df7fadb985c331be07edbb0f
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 Sep 17, 2026.

Transparency log

Release files / aip_agents_binary-0.6.167b1-cp313-cp313-manylinux_2_36_x86_64.whl

Download URL aip_agents_binary-0.6.167b1-cp313-cp313-manylinux_2_36_x86_64.whl
Size 10.9 MB
Tags CPython 3.13 Linux glibc 2.36+ x86-64
SHA-256 checksum
How to use checksums
02465fd40a5dfc6cc97dc17ea116ab9a13c16e613669812e10250237e7264f62
BLAKE2b-256 checksum
How to use checksums
eb277069a700f0a49ea0c91a180751a52227866252fc7e3279cc6a1025823b08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via poetry/2.1.4 CPython/3.13.15 Linux/5.10.0-32-cloud-amd64

Release files / aip_agents_binary-0.6.167b1-cp313-cp313-macosx_13_0_arm64.whl

Download URL aip_agents_binary-0.6.167b1-cp313-cp313-macosx_13_0_arm64.whl
Size 8.6 MB
Tags CPython 3.13 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
daf9d2a19acd88db156a7717d161b6f7238ec1ba66aa43f5adb9361228c0e865
BLAKE2b-256 checksum
How to use checksums
2cd08f0451f1b2bdf81e6651ee888e28d5d95a3b0ec6662b9405324a06deeef9
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 Sep 17, 2026.

Transparency log

Release files / aip_agents_binary-0.6.167b1-cp312-cp312-win_amd64.whl

Download URL aip_agents_binary-0.6.167b1-cp312-cp312-win_amd64.whl
Size 7.2 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
ebc3f4f14fc8e0fa9311d2be8b2f663640436aeeb1b220eecf61197c649f5d4f
BLAKE2b-256 checksum
How to use checksums
752b695fb03454df9f5ad3f0e5c63bf7b1f1056288f9192666c16970206b14a1
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 Sep 17, 2026.

Transparency log

Release files / aip_agents_binary-0.6.167b1-cp312-cp312-manylinux_2_36_x86_64.whl

Download URL aip_agents_binary-0.6.167b1-cp312-cp312-manylinux_2_36_x86_64.whl
Size 10.8 MB
Tags CPython 3.12 Linux glibc 2.36+ x86-64
SHA-256 checksum
How to use checksums
6b4903ac0df70c4ec01738886be103e21c6f1acd569bfd67744fb7d7b79bcdc4
BLAKE2b-256 checksum
How to use checksums
630d38c0e3540e323aa8abf9be5b1e0790970dd9ec2bcde497ce3e7c2699245a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via poetry/2.1.4 CPython/3.12.14 Linux/5.10.0-32-cloud-amd64

Release files / aip_agents_binary-0.6.167b1-cp312-cp312-macosx_13_0_arm64.whl

Download URL aip_agents_binary-0.6.167b1-cp312-cp312-macosx_13_0_arm64.whl
Size 8.6 MB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
12663b6ee22ba79bfca7af78dd4172ddf0c2cf1c19113d6a7e95c919c8a6caea
BLAKE2b-256 checksum
How to use checksums
f4f75256154be8d88bc9b7fa8d61cd7f09145cf8cb27963b133f785587386218
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 Sep 17, 2026.

Transparency log

Release files / aip_agents_binary-0.6.167b1-cp311-cp311-win_amd64.whl

Download URL aip_agents_binary-0.6.167b1-cp311-cp311-win_amd64.whl
Size 7.3 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
eb582dd016596a4546e31562a946fdb5b119722c529e6c29455132a482a35eff
BLAKE2b-256 checksum
How to use checksums
1e5847c0894111135436d0dcee67949fe042b914893120260483fa0b9c336c12
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 Sep 17, 2026.

Transparency log

Release files / aip_agents_binary-0.6.167b1-cp311-cp311-manylinux_2_36_x86_64.whl

Download URL aip_agents_binary-0.6.167b1-cp311-cp311-manylinux_2_36_x86_64.whl
Size 9.8 MB
Tags CPython 3.11 Linux glibc 2.36+ x86-64
SHA-256 checksum
How to use checksums
cc8be7adb82c98247b08fe62b0403d1eb56f58ca365fe9708d30562ecbb8f7d7
BLAKE2b-256 checksum
How to use checksums
24cfac6ce5545e0c92371bac902e4776c9e9e20013c3f940a7dc2bd30e430a9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via poetry/2.1.4 CPython/3.11.16 Linux/5.10.0-32-cloud-amd64

Release files / aip_agents_binary-0.6.167b1-cp311-cp311-macosx_13_0_arm64.whl

Download URL aip_agents_binary-0.6.167b1-cp311-cp311-macosx_13_0_arm64.whl
Size 8.5 MB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
c8e4f029de5b375698433e06ce0d9e78fc2f93f48128dc0c36f264cf2f84469f
BLAKE2b-256 checksum
How to use checksums
76ff05f7f6837c68f9fc7c0d178ebc50a4587a798343dfd1f6116df87f00b282
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 Sep 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.167b1 This release

9 release files

0.6.118

1 release file

0.6.117

1 release file

0.6.99

3 release files

0.6.98

3 release files

0.6.97

3 release files

0.6.96

3 release files

0.6.95

3 release files

0.6.94

3 release files

0.6.93

1 release file

0.6.92

1 release file

0.6.91

1 release file

0.6.90

1 release file

0.6.89

1 release file

0.6.88

1 release file

0.6.87

1 release file

0.6.86

1 release file

0.6.85

1 release file

0.6.82

1 release file

0.6.81

3 release files

0.6.80

1 release file

0.6.79

1 release file

0.6.78

2 release files

0.6.77

3 release files

0.6.75

3 release files

0.6.74

3 release files

0.6.73

3 release files

0.6.72

3 release files

0.6.71

3 release files

0.6.70

2 release files

0.6.69

1 release file

0.6.68

2 release files

0.6.67

2 release files

0.6.66

2 release files

0.6.65

2 release files

0.6.64

1 release file

0.6.58

2 release files

0.6.57

2 release files

0.6.56

1 release file

0.6.54

1 release file

0.6.52

1 release file

0.6.50

2 release files

0.6.49

1 release file

0.6.48

2 release files

0.6.47

2 release files

0.6.46

3 release files

0.6.45

3 release files

0.6.44

2 release files

0.6.43

2 release files

0.6.42

2 release files

0.6.41

1 release file

0.6.40

1 release file

0.6.39

1 release file

0.6.38

1 release file

0.6.37

1 release file

0.6.28

2 release files

0.6.27

3 release files

0.6.26

3 release files

0.6.25

3 release files

0.6.24

3 release files

0.6.23

3 release files

0.6.22

3 release files

0.6.21

2 release files

0.6.20

3 release files

0.6.19

3 release files

0.6.18

3 release files

0.6.17

3 release files

0.6.16

3 release files

0.6.15

2 release files

0.6.14

2 release files

0.6.13

1 release file

0.6.12

1 release file

0.6.9

3 release files

0.6.8

3 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.5

3 release files

0.6.4

3 release files

0.6.3

3 release files

0.6.2

3 release files

0.6.1

3 release files

0.6.0

3 release files

0.5.25

3 release files

0.5.24

3 release files

0.5.23

3 release files

0.5.19

3 release files

0.5.18

3 release files

0.5.17

3 release files

0.5.16

3 release files

0.5.15

3 release files

0.5.14

3 release files

0.5.13

3 release files

0.5.12

3 release files

0.5.11

3 release files

0.5.10

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.5

6 release files

0.5.4

6 release files

0.5.3

4 release files

0.5.2

3 release files

0.5.1

2 release files

0.5.0

5 release files

0.4.8

11 release files

0.0.0

3 release 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