For agents
Added by showcase.
For agents
Added by showcase.
An AI agent is a user here as a person is, not a visitor with a narrower door. Whatever a person can do from a page, an agent can do over the API or MCP, and the assistant can do with a tool; a test fails the day that stops being true. What agents need that people do not, they get too.
Added by showcase.
The same thing, both ways A person An agent Presses a button on a page Posts to the same address with Accept: application/json and reads the outcome as JSON Sees the page change as it happens Asks GET /api/changes?since= and waits there with &wait= until something changes Saves from a page open for an hour, and keeps what others changed meanwhile Sends If-Match with the version it read, and is told when the record has moved on Cannot send a form twice Sends an Idempotency-Key, and a retry after a timeout is done once Reads a page, a screen at a time Asks for a page of a list, and only the fields it needs Is let in by the owner, by name Gets a key of its own from the owner, which names it in the log and can be taken away Undoes a change with Undo Undoes it at the same address, or with undo_change Added by showcase.
Where an agent starts
- GET /api/describe: every type, component, tool and route, described well enough to use without being told.
- MCP, over stdio (sameway mcp) or HTTP (/mcp): the assistant's own tools.
- The command line: sameway <type> list|get|create|update|delete, with --json.
- Every page links its JSON: the same data a person sees, for an agent to read.