Skip to main content
This connects an agent written with the Python SDK to awp-sim, the reference world. Installing awp-sim also installs the SDK. Both need Python 3.11+.
1

Install

2

Start a world

A streaming world now listens on ws://127.0.0.1:8710. awp-sim manifest prints what it offers: one arm, arm_01, two observation channels, and the action types move_to_pose and stop.
3

Write the agent

agent.py
4

Run it

The world reports every transition — accepted, executing with progress, completed — as action.status notifications, and writes the whole session to ./awp-audit.

Lockstep

Restart the world with awp-sim serve --mode lockstep and open the session with "lockstep". Nothing moves until the agent advances time, so the loop becomes observe, submit, tick:

Next

  • Try failure paths: awp-sim scenarios runs twelve of them, from a dropped connection to an e-stop mid-abort.
  • Read the wire traces for the exact messages each call stands for.
  • Build an LLM agent renders the manifest into a model’s context.