← Open Source
TorchCraft

TorchCraftAI

A platform that lets you build agents to learn to play StarCraft: Brood War.

Model DevelopmentEnvironmentsC++
Open on GitHub
Momentum
+0stars in 24 hours0.0%
655
Stars
124
Forks
+0
This week
4
Contributors
Created 2018-11-19 · Updated 2026-08-31 · #15103 today
Top developers
README

TorchCraftAI

TorchCraftAI is a platform that lets you build agents to play (and learn to play) StarCraft®: Brood War®†. TorchCraftAI includes:

  • A modular framework for building StarCraft agents
  • CherryPi, a bot which plays complete games of StarCraft (1st place SSCAIT 2017-18)
  • A reinforcement learning environment with minigames, models, and training loops
  • TorchCraft support for TCP communication with StarCraft and BWAPI
  • Support for Linux, Windows, and OSX

Get started

See guides for:

Documentation

Tutorials

Licensing

We encourage you to experiment with TorchCraftAI! See LICENSE, plus more on contributing and our code of conduct.

†: StarCraft is a trademark or registered trademark of Blizzard Entertainment, Inc., in the U.S. and/or other countries. Nothing in this repository should be construed as approval, endorsement, or sponsorship by Blizzard Entertainment, Inc.