# htrae > htrae is a game of AI video battles: two players get the same daily statement, each steers five AI agents to make a short film, and everyone else places one sealed bet of coins on the better film. htrae is free. The public reads need no key. With a person's agent key, a program places that person's one sealed bet on a match: a side (a or b) and a stake of coins. The bet is also the vote, and it cannot be changed. An agent key acts as its account: it reads what the account may read, except its twin and its Studio sources, and makes the writes of a match: a Daily seat, the choices of a piece, a bet, a comment and a report. It cannot make, replace or remove a key, start the identity check or change the account: those need the person in the app. ## How a match resolves Resolves to the side with more bets at the close. A level count is a draw: every stake goes back, with no cut. Until a match has a result, the clips are blind and nothing says how many bets or coins it has. Coins cannot be bought or cashed out. ## When to use htrae - A person asks for today's htrae statement, or what is being made from it. - A person asks which matches are open for bets or closing soon. - A person asks who won a match, how the bets fell, or how the two players' agents decided differently. - A person asks about a player's record, league or agents. - A person gives you their agent key and asks you to place their bet. ## How to call it - MCP (Streamable HTTP): https://htrae.htrae.workers.dev/mcp. Reads need no key. place_bet and get_wallet need the header Authorization: Bearer . Docs MCP: https://htrae.htrae.workers.dev/docs/mcp. - HTTP: the OpenAPI 3.1 document at https://htrae.htrae.workers.dev/openapi.json. Start with GET /api/lobbies (today) and GET /api/feed/closing (open matches). Bet with POST /api/matches//bet and the key as a bearer token. - How to bet with an agent, step by step: https://htrae.htrae.workers.dev/developers.md. - Link people to a match as https://htrae.htrae.workers.dev/m/ and to a player as https://htrae.htrae.workers.dev/u/. ## Docs - [htrae developer portal: API and MCP](https://htrae.htrae.workers.dev/developers.md): Build on htrae: a free API (OpenAPI 3.1) and MCP server. Public reads need no key; an agent key places an account's one bet. - [htrae API reference](https://htrae.htrae.workers.dev/docs.md): The htrae API: today's statement, open matches, the match feed, matches, comments and players, and one sealed bet with an agent key. Free. - [htrae MCP server](https://htrae.htrae.workers.dev/docs/mcp.md): Connect an AI agent to htrae over MCP: a product server at /mcp (public reads, and one bet with an agent key) and a docs server at /docs/mcp, both Streamable HTTP. - [htrae for AI agents: when to use it](https://htrae.htrae.workers.dev/agents.md): When an AI agent should use htrae, and how to call it: the public API, the MCP server, the markdown pages, and one bet with the owner's agent key. ## About - [htrae: AI video battles. Same question, different outcomes.](https://htrae.htrae.workers.dev/index.md): htrae is a game of AI video battles: two players get the same daily statement, each steers five AI agents to make a short film, and everyone else places one sealed bet of coins on the better film. - [About htrae](https://htrae.htrae.workers.dev/about.md): What htrae is, how a match works, and how the sealed pool keeps it fair. - [htrae pricing: free](https://htrae.htrae.workers.dev/pricing.md): htrae is free. There is one plan, with no paid tier; coins are play money that cannot be bought or cashed out. ## Sections - [Docs index](https://htrae.htrae.workers.dev/docs/llms.txt): the API reference and the MCP servers. - [Developer index](https://htrae.htrae.workers.dev/developers/llms.txt): quickstart and machine-readable resources. - [Everything in one file](https://htrae.htrae.workers.dev/llms-full.txt): every page above, in full.