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

Simulation

  • Launch your environment simulator (e.g., Gym, Unity, Unreal) before training begins:
    With this command, your local machine automatically connects to our AgentGPT WebSocket server on the cloud. This real-time connection enables seamless data communication between your environment's state and the cloud training actions, ensuring that everything is ready for the next agent-gpt train command.

     agent-gpt simulate
    

Training & Inference

  • Train a gpt model on AWS:

    agent-gpt train
    
  • Run agent gpt on AWS:

    agent-gpt infer
    

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
    

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.5.tar.gz (35.9 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.5-py3-none-any.whl (40.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_gpt_aws-0.9.5.tar.gz
  • Upload date:
  • Size: 35.9 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.5.tar.gz
Algorithm Hash digest
SHA256 7e8bcc1cb1087f95e88277455e2e393d1ad408c8549a175202c7c10bfa370484
MD5 d10a9172d98b8be1466fe2b11e3a2a88
BLAKE2b-256 7a7dcc8b91875ec6ec86981444a76f414bee3cd9cb55019e1c02054d45ff991c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_gpt_aws-0.9.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7be4e15785baea925ae6d47f270faa72938009e72cd1b0c484ed92127367024f
MD5 09698f285c5a170add97726f7e797e2e
BLAKE2b-256 de2e8a61fba561a23f5be677472c42253a1865cb1eb96edba097445694df7b52

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