Skip to main content

External TCP control for Godot 4.x games — built for AI agents, automation, and CI pipelines

Project description

godot-ai-playtest

External TCP control for Godot 4.x games — built for AI agents, automation, and CI pipelines.

Installation

pip install godot-ai-playtest

Quick Start

import asyncio
from godot_ai_playtest import PlaytestClient

async def main():
    async with PlaytestClient() as client:
        # Check connection
        await client.ping()
        
        # Get game state
        state = await client.get_state()
        print(f"Player at {state['player']['position']}")
        
        # Send input
        await client.send_input("move_right", duration_ms=500)

asyncio.run(main())

CLI Usage

# Test connection
playtest ping

# Get state
playtest state

# Run test scenario
playtest run smoke_test.yaml

Requirements

  • Godot 4.x game with the godot-ai-playtest plugin installed
  • Python 3.10+

Full Documentation

See the GitHub repository for:

  • Complete API reference
  • YAML scenario format
  • Godot plugin installation
  • Examples and use cases

License

MIT

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

godot_ai_playtest-0.3.0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

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

godot_ai_playtest-0.3.0-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file godot_ai_playtest-0.3.0.tar.gz.

File metadata

  • Download URL: godot_ai_playtest-0.3.0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for godot_ai_playtest-0.3.0.tar.gz
Algorithm Hash digest
SHA256 42afccc7e0ad2ce98a3c7be73374b02b99bc746cbffa4e1e0bc4d2ae6dfe1800
MD5 7744b8a94d2e460c4fffc37ee89adcbe
BLAKE2b-256 47072a1250ced469d078c75dc508aadad0120f583bbf2ecc370573cbdcf7b4b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for godot_ai_playtest-0.3.0.tar.gz:

Publisher: publish.yml on marcushale/godot-ai-playtest

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file godot_ai_playtest-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for godot_ai_playtest-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a507304279a3406a6ada7a4f98a125ccd1f19b389fe8ff0a53443510945595c2
MD5 d1d929f30ddada6db7706626e76d637b
BLAKE2b-256 8d64c8d2e3996ed7c93ff46aa1487b22317df4053c13d7ba732b1897d8406013

See more details on using hashes here.

Provenance

The following attestation bundles were made for godot_ai_playtest-0.3.0-py3-none-any.whl:

Publisher: publish.yml on marcushale/godot-ai-playtest

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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