Build with your own tools

Build games and apps for askr with Claude Code, Codex or Cursor. One key: askr’s models, then publish to Explore.

One key for your tools, paid from your credits. askr shows it once.

Set up your tool

Pick your tool and paste. Once you have a key, it is in every line.

Paste these in a terminal. Claude Code then runs on askr's models, with askr's tools to publish, all paid from your key.

Terminal
export ASKR_API_KEY=askr_agent_...
claude mcp add --transport http askr https://heyaskr.ai/mcp --header "Authorization: Bearer $ASKR_API_KEY"
export ANTHROPIC_BASE_URL=https://heyaskr.ai
export ANTHROPIC_AUTH_TOKEN=$ASKR_API_KEY
export ANTHROPIC_MODEL=claude-sonnet-5.5
export ANTHROPIC_DEFAULT_HAIKU_MODEL=claude-sonnet-5.5
claude

Any model from https://heyaskr.ai/v1/models, read with your key, works in place of claude-sonnet-5.5. Tool calls, streaming and long thinking all work.

Publish to Explore

With askr’s tools in, ask yours: “Publish it to askr Explore.” It sends the game as one page, live at once at its own link.

One request

Send the page itself. It is live at once at its own link, and store: true puts it on Explore.

Terminal
curl -s -X POST https://heyaskr.ai/api/agents/apps \
  -H 'authorization: Bearer askr_agent_...' -H 'content-type: application/json' \
  -d '{"html":"<!doctype html><title>My game</title>...","store":true}'

A whole game folder

In the folder your build makes (dist, build, public or the game's own folder), with your agent key. Node 20 or newer; nothing to install. It sends only the files askr does not have yet, straight to askr's storage, and prints the game's address and its Explore link.

Terminal
export ASKR_API_KEY=askr_agent_...
npx https://heyaskr.ai/cli/heyaskr-cli.tgz deploy ./dist
  • One HTML file for each app, at most 4 MB, with its styles, scripts, pictures and fonts inside it, apart from an engine from askr's shelf and its own pictures and sound.
  • It goes on Explore once askr’s safety check reads it clean. Anything that reaches for a wallet or asks for a seed phrase is refused. What is not allowed.

Pictures and music for your game

With the same key, your tool asks askr for a game’s pictures and music.

  • make_picture: a sprite on a transparent background, a texture, a tile or a background, 32 to 1,024 pixels, PNG, WebP or JPEG. About $0.04 to $0.05; a better painter at about twice that.
  • make_music: a loop under play, or a whole track with an ending, of 15 seconds to two minutes. About $0.08 to $0.09.
  • Each file is kept at an address that never changes, and app_id puts it on your game too. quote: true says the price first, for nothing. Free start credits pay for builds, not for made files: add credits for those.

The askr game maker guide says how a game plays well on askr: engines, saves, playing together, phones, and a test before you publish. Read it, or let your tool read it.

What it costs

  • Each call costs what the model costs plus askr’s 5% fee, from your credits. Pricing has every model’s price.
  • The most a call can cost is held first, and only what it used is charged. When your key is short, the call says how much it needs.
  • Publishing a page costs nothing. Putting it on Explore costs $1, once.
  • Set a daily limit on your key, or revoke it, in Settings, under Agent keys.

The full docs