Skip to main content

Official Python SDK for Virtuals API/GAME

Project description

Virtuals Python API Library

Documentation

For

Installation

pip install virtuals_sdk

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.1.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.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: virtuals_sdk-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 fe088cd6340dced517ab845db8c797f13a01cb1ee395390a9159692fd2b613e9
MD5 d94e6001b48a77d4cfa940f750d0f62c
BLAKE2b-256 284e106943722df9581d612f251b1a1d8db09455857f632a4724d9c5d5dd7f85

See more details on using hashes here.

File details

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

File metadata

  • Download URL: virtuals_sdk-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dc00257fa93094690459b268d1b82433055b7feeef9493356502d158f513b1da
MD5 f7c8fdf14f06e277a1b0fdfb9bff816b
BLAKE2b-256 3ca6dcaf78fd02fabb8ae29eecbe3ecdbff904442a04855624c8a674c63c3527

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