Practonaut
v0.2.0Local practice gym for AI agents on real apps: practice Excalidraw tasks, get a reproducible score.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
observe
Start here and call again whenever unsure. Returns the shared practice session as JSON: task (title, prompt and the goal conditions, each a sentence plus its formal form), state.objects (the live frames, steps and arrows keyed by id, with labels, positions, styles and arrow ends), step and revision (copy both into act), recent history, the last check and player-visible error explanations. Optional: detail "full" adds the action definitions, rules, task list and complete history; lang "en" (default), "de" or "both"; history = how many recent history items (default 5).
| Parameter | Type | Description |
|---|---|---|
detail | string | |
history | integer | |
lang | string |
list_actions
List the actions this session accepts, each with its parameters: type (id, nullable-id, string, integer, enum, end), bounds and allowed values. Id parameters take ids from observe's state.objects; ids of new objects appear in the created list of the reply to the action that creates them.
act
Apply exactly one action. Arguments: name (an action from list_actions), params (exactly that action's parameters), baseStep (the current step) and expectedRevision (the current revision), both from the latest observe or act reply; optional lang. On success the reply gives the new step and revision, the objects that changed (as they are now), the ids created and removed, and the current error explanations. A rejected action changes nothing: read error.code and error.message (a stale step or revision names the current ones), then choose a valid action. Never guess step or revision.
| Parameter | Type | Description |
|---|---|---|
baseStep * | integer | |
expectedRevision * | integer | |
name * | string | |
params * | ||
lang | string |
undo
Undo the most recent action. Argument: expectedRevision (the current revision); optional lang. The reply lists what changed, like act.
| Parameter | Type | Description |
|---|---|---|
expectedRevision * | integer | |
lang | string |
reset
Discard every action of this attempt and return to the starting state. Arguments: expectedRevision (the current revision) and confirmed: true; optional lang. The reply lists what changed, like act.
| Parameter | Type | Description |
|---|---|---|
confirmed * | boolean | |
expectedRevision * | integer | |
lang | string |
explain_result
Read the result of the last check and the player-visible explanations of errors in the current state. Optional lang. Changes nothing and never reveals hidden evaluation data.
| Parameter | Type | Description |
|---|---|---|
lang | string |
check_result
Check whether the current state meets the task's goal conditions: passed plus one met/unmet entry per condition with its sentence and formal form, the same check a human player gets. Argument: expectedRevision (the current revision); optional lang. Checking changes nothing on the board. If observe shows limits.checks, each check uses one (checksRemaining says how many are left) and a used-up limit is refused with check_budget_exhausted.
| Parameter | Type | Description |
|---|---|---|
expectedRevision * | integer | |
lang | string |