Skip to main content

Goat adapter for AG2

Project description

AG2 Adapter for GOAT

Integrate the more than +200 onchain tools of GOAT with AG2, the open-source AgentOS (formerly AutoGen).

Installation

pip install goat-sdk-adapter-ag2
poetry add goat-sdk-adapter-ag2

Usage

See a full working example here.

from goat_adapters.ag2.adapter import register_tools
from autogen import ConversableAgent

crypto_agent = ConversableAgent(
    name="crypto_agent",
    system_message="You are a crypto expert...",
)

executor_agent = ConversableAgent(
    name="executor_agent",
    human_input_mode="NEVER",
)

register_tools(
    caller=crypto_agent,
    executor=executor_agent,
    wallet=# Your wallet,
    plugins=[
        # Your plugins
    ],
)


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

goat_sdk_adapter_ag2-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

goat_sdk_adapter_ag2-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file goat_sdk_adapter_ag2-0.1.0.tar.gz.

File metadata

  • Download URL: goat_sdk_adapter_ag2-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.16 Linux/6.8.0-1021-azure

File hashes

Hashes for goat_sdk_adapter_ag2-0.1.0.tar.gz
Algorithm Hash digest
SHA256 de7e06fadf7ed7c5d2cd06d5f7bff7173a9db8e7de90b1d3d42011570177cff0
MD5 8d76ef06573535df063eccde9ad9df80
BLAKE2b-256 aa57a82c55603afa7456da7c970491c5e4b80cda87a67dc77b0e27875bdd6ff8

See more details on using hashes here.

File details

Details for the file goat_sdk_adapter_ag2-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: goat_sdk_adapter_ag2-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.16 Linux/6.8.0-1021-azure

File hashes

Hashes for goat_sdk_adapter_ag2-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 83082db49eb7e81f3511acceff62566948a901d3625bad83789c9566211b9b60
MD5 70e0ba5c2d178a526b6fff53e1c55148
BLAKE2b-256 7286341693349709caa5196b09621e2aa1b12449dae708746167ead1fa8c77e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page