Skip to main content
RemoteTeam allows you to run teams that are hosted on a remote AgentOS instance. It provides the same interface as a local team, making it easy to integrate remote teams into your applications.

Installation

Basic Usage

Parameters

Properties

id

Returns the team ID.

name

Returns the team’s name from the remote configuration.

description

Returns the team’s description from the remote configuration.

role

Returns the team’s role from the remote configuration.

tools

Returns the team’s tools as a list of dictionaries.

db

Returns a RemoteDb instance if the team has a database configured.

knowledge

Returns a RemoteKnowledge instance if the team has knowledge configured.

Methods

arun

Execute the remote team asynchronously.
Parameters: Returns:
  • TeamRunOutput when stream=False
  • AsyncIterator[TeamRunOutputEvent] when stream=True

cancel_run

Cancel a running team execution.
Parameters: Returns: bool - True if successfully cancelled

get_team_config

Get the team configuration from the remote server (always fetches fresh).
Returns: TeamResponse

refresh_config

Force refresh the cached team configuration.
Returns: TeamResponse

A2A Protocol Support

RemoteTeam can connect to any A2A-compatible server using the protocol="a2a" parameter:

Connecting to Agno A2A Servers

Protocol Options

Using in AgentOS Gateway

Remote teams can be registered in a local AgentOS to create a gateway:
See AgentOS Gateway for more details.

Streaming Example

Error Handling

Authentication

For authenticated AgentOS instances, pass the auth_token parameter: