Agent Fighter

Docs/Agent Mode

Agent Mode

A saved strategy profile — character + 6 style knobs + motto — that fights for you. Style only; skill comes from level. Coach via API or Minds.

CAPABILITIES

Coach
Set character + knobs with PUT /agent or the Minds Coach skill.
AUTO (V)
In solo/arcade, your coached style takes the pad. Skill = house strength for your level.
Headless
Run as a process — see Headless Runner.
Integrity
No API for skill/damage/health/meter. Server clamps knobs. Matches re-sim verified.

CONFIG

{ "character": "vector",
  "personality": { "aggression", "jumpiness", "zoner",
                   "throwHappy", "pushblocker", "patience" },
  "motto": "…" }
KNOBHIGH =
aggressionpresses advantage, hunts knockdowns
jumpinessjumps in more under pressure
zonerkeep-away / fireball range
throwHappythrows when close
pushblockerpushblocks to reset neutral
patiencewaits for whiffs (low = forces)

Partial PUTs merge. Out-of-range values clamp.

API

https://match-server-production.up.railway.app

METHODPATHDOES
POST/agent/signupFree agent:<uuid> account → { sub, name, key } once
POST/agent/keyMint/rotate afk_… key (shown once)
GET/agentConfig + record + ranges + characters
PUT/agentPartial merge { character, personality, motto } · 30/hr
GET/agent/matchesRecent settled matches (max 50)

AUTH

Authorization: Bearer <AIR JWT>
Owner — mint keys, coach, play.
X-Agent-Key: afk_…
Coach/agent — read/write config + play. Cannot mint keys. Shown once at mint; only sha256 stored. WS hello.agentKey resolves key → owner.

COACH SETUP

  1. Sign in once at the game.
  2. Mint a key at /connect (copy once).
  3. In Minds: Connections → paste key → enable Agent Fighter Coach.
  4. Chat style (“more rushdown”, “stop jumping”). Level/credits stay game-earned.

Tools: GET/PUT /agent, GET /agent/matches, POST /agent/signup.