Skip to main content

Overview

The Agno integration exposes both sync and async tool surfaces and hydrates tool metadata from canonical ToolDefinition schemas.

Quick Start

1

Create the tools

from cobo_agentic_wallet.client import WalletAPIClient
from cobo_agentic_wallet.integrations.agno import CoboAgentWalletTools

client = WalletAPIClient(
    base_url="https://api.agenticwallet.cobo.com",
    api_key="<api_key>",
)
tools = CoboAgentWalletTools(client=client)
2

Use with an Agno agent

uv run python examples/agno_agent.py

Tool Selection

You can enable or disable specific tools via constructor flags or via include_tools / exclude_tools.
tools = CoboAgentWalletTools(
    client=client,
    include_tools=["submit_pact", "get_pact", "contract_call", "get_audit_logs"],
)
The constructor flags and include/exclude filters compose together, so you can keep role-specific defaults in code and still narrow the final surface for a particular agent.

Denial Behavior

Policy denials are returned as readable output so agent logic can adjust and retry.
Like other integrations, the Agno adapter returns policy denials as tool output text (not exceptions). The denial includes the code, reason, details, and suggestion fields that the LLM can parse for self-correction.

Source Code

src/cobo_agentic_wallet/integrations/agno/toolkit.py