Skip to main content

Official Python SDK for Virtuals API/GAME

Project description

Virtuals Python API Library

Documentation

For

Installation

pip install virtuals

Usage

from virtuals.game import Agent

# Create agent with just strings for each component
agent = Agent(
		api_key=VIRTUALS_API_KEY,
    goal="Autonomously analyze crypto markets and provide trading insights",
    description="HODL-9000: A meme-loving trading bot powered by hopium and ramen",
    world_info="Virtual crypto trading environment where 1 DOGE = 1 DOGE"
)

# Simulate one step of the full agentic loop on Twitter/X from the HLP -> LLP -> action
response = agent.simulate_twitter()

# deploy agent! (NOTE: supported for Twitter/X only now)
agent.deploy_twitter()

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

virtuals_sdk-0.1.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

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

virtuals_sdk-0.1.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: virtuals_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.2

File hashes

Hashes for virtuals_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fa079e31936bb52c53dd719268bf1babb0e02e4961e5d118d893d45627a02216
MD5 0eaca2744f83b9ad99c449caaa3eeb25
BLAKE2b-256 dd9510cb8bfb658e45a5891c250a2b868d1514d137522096cfaba817e1064e12

See more details on using hashes here.

File details

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

File metadata

  • Download URL: virtuals_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.2

File hashes

Hashes for virtuals_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd48f3ca87e7163d3f8a905458692a1dc0ebcc39340208f30866deaeb04f4390
MD5 db9dc18f57754caf77ffc361e00e31f5
BLAKE2b-256 37272b89ebf01d277ab47fd48906f1a3cea019700fbf986ddf70d894f67d4b05

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