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.4.0.tar.gz (14.3 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.4.0-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: godot_ai_playtest-0.4.0.tar.gz
  • Upload date:
  • Size: 14.3 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.4.0.tar.gz
Algorithm Hash digest
SHA256 963eb4ffc59112d7d8aad101cfcfebd3c83245410b29950c390bf974082776f8
MD5 ce671c0270c898c3fbea53a3ee565a00
BLAKE2b-256 b69a31da35b2c489af64939c318147d120b016d1ca3420b959cef3b81c7b1005

See more details on using hashes here.

Provenance

The following attestation bundles were made for godot_ai_playtest-0.4.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.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for godot_ai_playtest-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3888afe5a7aa27e0d4e894664430c7664b7d1d3e4064da35da8c2457c1ca9f55
MD5 381b88c0415ddea96d4d33da800fe6c6
BLAKE2b-256 535834ba858c9d5f0c1026993cce940bbbe141c7041ef03cab073e0a2188075f

See more details on using hashes here.

Provenance

The following attestation bundles were made for godot_ai_playtest-0.4.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