Integrate the more than +200 onchain tools of GOAT with OpenAI Agents SDK.
pip install goat-sdk-adapter-openai-agents-sdk
poetry add goat-sdk-adapter-openai-agents-sdk
See a full working example here.
from goat_adapters.openai_agents_sdk.adapter import get_on_chain_tools
tools = get_on_chain_tools(
wallet=# Your wallet,
plugins=[
# Your plugins
],
)
agent = Agent(
name="GOAT Agent",
instructions=(
"You are a helpful agent that can interact onchain using the GOAT SDK. "
),
tools=tools
)