Skip to main content
Sameway showcase

For agents

  1. Added by showcase.

    For agents

  2. 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.

  3. Added by showcase.

    The same thing, both ways
    A personAn agent
    Presses a button on a pagePosts to the same address with Accept: application/json and reads the outcome as JSON
    Sees the page change as it happensAsks 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 meanwhileSends If-Match with the version it read, and is told when the record has moved on
    Cannot send a form twiceSends an Idempotency-Key, and a retry after a timeout is done once
    Reads a page, a screen at a timeAsks for a page of a list, and only the fields it needs
    Is let in by the owner, by nameGets a key of its own from the owner, which names it in the log and can be taken away
    Undoes a change with UndoUndoes it at the same address, or with undo_change
  4. 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.