Rabbit Logo

Singleship Agents

"And now, watch our Assistant pull a rabbit out of the hat..."

What Will a "Singleship Agent" Be?

High-level architecture

A Singleship Agent in D can be structured as an HTTP‑speaking “mini service” with clear perception–decision–action–learning stages around the Galaxy Simulator’s vibe.d API.
The diagram below shows the major components inside a Singleship Agent and how it talks to the Galaxy Simulator over HTTP.
Key parts inside the Singleship Agent:

Galaxy Simulator API needs (from the agent’s POV)

This Architecture implies a set of HTTP endpoints and behaviors

Mapping to PCs vs NPCs

Given this structure, the difference between PC and NPC becomes mostly at the edge: