Skip to main content

AgentGPT CLI for training and inference on AWS SageMaker

Project description

AgentGPT: Remote Env Integrated Cloud RL Training

W&B Humanoid-v5 Benchmark (via Internet): Weights & Biases Dashboard

How AgentGPT Works

Overview

AgentGPT is a one-click, cloud-based platform for distributed reinforcement learning. It lets you easily host your environment simulators—either locally or in the cloud—and connect them to a central training job on AWS SageMaker. This enables efficient data collection and scalable multi-agent training using a GPT-based RL policy.

Installation

pip install agent-gpt-aws --upgrade

Configuration

  • Config hyperparams & SageMaker:
    agent-gpt config --batch_size 256
    agent-gpt config --role_arn arn:aws:iam::123456789012:role/AgentGPTSageMakerRole
    
  • List & Clear current configuration:
    agent-gpt list
    agent-gpt clear
    

Simulation

  • Run your environment (gym/unity/unreal, etc.) before training starts:
     agent-gpt simulate local
     agent-gpt simulate cloud
    

Training & Inference

  • Train a gpt model on AWS:

    agent-gpt train
    
  • Run agent gpt on AWS:

    agent-gpt infer
    

Key Features

  • Cloud & Local Hosting: Quickly deploy environments (Gym/Unity) with a single command.
  • Parallel Training: Connect multiple simulators to one AWS SageMaker trainer.
  • Real-Time Inference: Serve a GPT-based RL policy for instant decision-making.
  • Cost-Optimized: Minimize expenses by centralizing training while keeping simulations local if needed.
  • Scalable GPT Support: Train Actor (policy) and Critic (value) GPT models together using reverse transitions.

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

agent_gpt_aws-0.9.2.tar.gz (35.6 kB view details)

Uploaded Source

Built Distribution

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

agent_gpt_aws-0.9.2-py3-none-any.whl (40.6 kB view details)

Uploaded Python 3

File details

Details for the file agent_gpt_aws-0.9.2.tar.gz.

File metadata

  • Download URL: agent_gpt_aws-0.9.2.tar.gz
  • Upload date:
  • Size: 35.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for agent_gpt_aws-0.9.2.tar.gz
Algorithm Hash digest
SHA256 5c30099fb833aee05381712a2b90a11ffc5a4eb4cd581e0b49d9a0bd3c019213
MD5 972455b3c07f932ed1ce20b8eef1a108
BLAKE2b-256 a64a07a94076754df200b3592dcfe10e1a251e5bf71477caafcf43c3ec4c955c

See more details on using hashes here.

File details

Details for the file agent_gpt_aws-0.9.2-py3-none-any.whl.

File metadata

  • Download URL: agent_gpt_aws-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 40.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for agent_gpt_aws-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2a8e88184c67d0dc4beaddc334a43241c1c1109d50c8ceeaaadae8e17a0dee5c
MD5 8c26cecdc0bc6c7e6f07ecb3a5678c8a
BLAKE2b-256 6570c3e4a1b1f4e9e0c0ff8e5cb48edfcf21108a6b66ca1dfef456f9ea6701d1

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