Project Earth
About 3 minutes to read
Project Earth by Metaplanets is real-world terrain your agent can drive in. On Simulusion, the world runs on Metaplanets' GPUs and your agent runs wherever you like, usually your own machine: it gets observations and sends actions over the internet, and every step can be recorded and replayed in the browser. You need no GPU and no browser automation.
This guide takes about 15 minutes, most of it waiting for Metaplanets to enable hosted worlds.
1. Connect your Metaplanets account
Earth worlds run on your own Metaplanets account: your usage and billing are with Metaplanets, separate from Simulusion.
-
Sign in to Simulusion at https://platform.simulusion.co.
-
Open Settings, Project Earth and click Connect Metaplanets: sign in to Metaplanets (or create a free account there), pick the account and allow Simulusion. You come back connected.
-
Or, if the button is not there, create a key for Simulusion at https://beta.metaplanets.ai/console.html#simulusion and paste it on the same page. The page checks it with Metaplanets straight away.

-
Hosted worlds, on Metaplanets' GPUs, come with Metaplanets' paid plans: Team, 3,000/month with 1,000 hosted hours. Both also load worlds faster. Click Upgrade on Metaplanets on the same page.
On a free account, starting a hosted Earth world fails with "hosted Project Earth worlds are not on for this key's account"; run the world on your own GPU machine instead (connect it under Machines).
2. Try a world in the browser
Open Environments, choose the Project Earth filter, pick Earth: Alpine Meadows by Camera and start a session. The world takes about a minute to open.

Then hold the arrow keys to drive: the picture is Metaplanets' live view, and Simulusion sends your keys in real time. Press Record to keep a replay.

3. Get an API token and the client
Your agent signs in with an API token. A team admin creates one in
Settings, Agents & API (tokens start with spt_; the token is shown once,
so copy it then):

Then install the client:
export PLATFORM_URL=https://platform.simulusion.co
export PLATFORM_TOKEN=spt_...
mkdir -p wheels
(cd wheels && curl -fsSOJ -H "Authorization: Bearer $PLATFORM_TOKEN" "$PLATFORM_URL/v0/wheels/platform-sdk")
pip install wheels/platform_sdk-*.whlThe client needs only numpy, gymnasium, httpx and protobuf. You do not
need Metaplanets' SDK or key on your machine: the world runs through
Simulusion, with the key you stored in step 1.
4. Drive from Python
A session works like any Gymnasium environment:
import numpy as np
import platform_sdk
with platform_sdk.connect("earth-meadows-waypoints") as env:
obs, info = env.reset() # opens the world: about a minute
east, north = obs[0], obs[1] # metres from the vehicle to the goal
print(f"goal is {np.hypot(east, north):.0f} m away")
# One leg: 75 m west, toward this world's goal (actions are east, north)
obs, reward, terminated, truncated, info = env.step([-0.5, 0.0])
print(reward, info.get("is_success"))Closing the session (leaving the with block) closes the world, so
Metaplanets stop counting its time.
5. Write an agent and run it
An agent is any Python object with start and act. This one heads straight
for the goal, one leg at a time; Metaplanets plan each leg around slopes and
water:
# goal_agent.py
import numpy as np
LEG_M = 150.0 # the longest leg, in metres: actions are scaled by it
class GoalAgent:
def start(self, env, streams):
pass
def act(self, observations, rewards, terminated, truncated, infos):
actions = []
for obs in observations:
to_goal = np.asarray(obs[:2], dtype=np.float64) # east, north
distance = float(np.linalg.norm(to_goal))
leg = to_goal * min(1.0, 135.0 / max(distance, 1e-6))
actions.append(np.clip(leg / LEG_M, -1.0, 1.0).astype(np.float32))
return actions
def make(**settings):
return GoalAgent()Run it for a few episodes and record them:
python -m platform_sdk.agents.run --agent goal_agent:make \
--env earth-meadows-waypoints --episodes 3 --recordThe log has one line per episode, then a summary with the mean return, the success rate and the recording's id. Open Recordings to replay each episode: the camera and every step's numbers.

For training loops, several sessions at once, saving and loading your agent, or comparing agents, see Compare agents.
Which world to use
| Environment | Actions | Observation | Good for |
|---|---|---|---|
earth-meadows-waypoints |
[east, north] in -1..1, times 150 m: where the next leg goes |
state | Start here. Each step drives a whole planned leg, so the delay to the hosted world does not matter. |
earth-meadows-drive |
[throttle, steer, brake], held 0.5 s |
state | Low-level control. The vehicle keeps moving during each round trip, so steer gently. |
earth-meadows-camera |
named keys: UP, LEFT, UPLEFT, BRAKE, NOOP, ... |
state and a 96x96 camera image | Agents that see. |
earth-meadows-rain, earth-meadows-snow |
[throttle, steer, brake] |
state | The same drive in rain (a truck, at dusk) or snow (a pickup, in the morning). |
The state is 11 numbers: goal_east_m, goal_north_m, goal_distance_m,
heading_sin, heading_cos, speed_mps, pitch_deg, roll_deg,
slope_deg, health, water_depth_m.
Rewards are metres of progress toward the goal, minus a small cost per
step and minus any damage, plus 10 on arrival. An episode ends on arrival
(info["is_success"], within 15 m of the goal) or a wreck, and is cut short
after 400 steps or when the vehicle is stuck.
Change the task with kwargs, for example
platform_sdk.connect("earth-meadows-drive", kwargs={"weather": "rain", "hour": 18, "vehicle": "truck"}).
Vehicles: car, pickup, truck, firetruck.
Ask the world between steps with env.call(...): terrain.sample,
terrain.profile, route.plan, vehicle.telemetry, world.status and the
camera methods. For example env.call("terrain.sample", lat=46.62, lon=8.04).
env.methods lists them. Methods that would change the task (the place, the
vehicle, the weather) are refused.
Good to know
- A world takes about a minute to open, on the first
reset. Later episodes in the same session start much faster. - No seeds, no snapshots. The world is live: it cannot be paused, saved or replayed exactly, so two runs of the same agent can differ.
- Lost worlds are replaced. If Metaplanets lose a world, Simulusion opens
a new one and restarts the episode: that step is
truncatedwithinfo["recovered"]saying why. Metaplanets' status page is https://beta.metaplanets.ai/status. - Close sessions you are done with. An idle session is closed after 30 minutes; until then its world counts on your Metaplanets account.
- Usage and billing for Earth worlds are between you and Metaplanets.
Updated Nov 20, 2026