docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Python APIs

    The Python APIs allow you to control and interact with Unity environments from Python scripts. Each API is designed for specific use cases and offers different levels of abstraction and functionality.

    API Description
    Python Gym API OpenAI Gym-compatible interface for standard RL workflows.
    Python Gym API Documentation Detailed documentation for the Python Gym API.
    Python PettingZoo API Multi-agent environment interface compatible with PettingZoo.
    Python PettingZoo API Documentation Detailed documentation for the Python PettingZoo API.
    Python Low-Level API Direct low-level access for custom training and advanced use cases.
    Python Low-Level API Documentation Detailed documentation for the Python Low-Level API.
    On/Off Policy Trainer Documentation Documentation for on-policy and off-policy training methods.
    Python Optimizer Documentation Documentation for optimizers used in training algorithms.
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)