tac.agents.participant.v1 package

Submodules

tac.agents.participant.v1.agent module

This module contains a base implementation of an agent for TAC.

class tac.agents.participant.v1.agent.ParticipantAgent(name: str, oef_addr: str, oef_port: int, strategy: tac.agents.participant.v1.base.strategy.Strategy, expected_version_id: str, agent_timeout: float = 1.0, max_reactions: int = 100, services_interval: int = 10, pending_transaction_timeout: int = 30, dashboard: Optional[tac.gui.dashboards.agent.AgentDashboard] = None, private_key_pem: Optional[str] = None, debug: bool = False)

Bases: aea.agent.Agent

The participant agent class implements a base agent for TAC.

act() → None

Perform the agent’s actions.

Returns

None

property game_instance

Get the game instance.

react() → None

React to incoming events.

Returns

None

setup() → None

Set up the agent.

start(rejoin: bool = False) → None

Start the agent.

Returns

None

stop() → None

Stop the agent.

Returns

None

teardown() → None

Tear down the agent.

update() → None

Update the state of the agent.

Returns

None

Module contents

This module contains the modules of the participant agent v1.