Skip to content
Next — unreleased

For AI assistants

View as Markdown

This SDK is built for developers working alongside AI assistants, so its documentation is published in a form assistants can consume directly.

EndpointContents
/llms.txtIndex of the SDK, its entry points, and where to read more
/llms-full.txtThe full documented surface in one file

Both follow the llms.txt convention. The full context is generated from the README, the public API contract, the consumer agent guide, and every authored page of this site — the same reviewed sources people read, folded through the same transforms as the per-page markdown below, so the two surfaces cannot drift apart.

If you are pointing an assistant at this project, /llms-full.txt is usually the single most useful thing to give it.

Every page on this site is also served as markdown: replace the path’s trailing slash with .md, so /guides/mining/ becomes /guides/mining.md. Each page carries a “Copy page as Markdown” button under its title that does the same thing, for handing exactly one page to an assistant mid-conversation.

Install the skill when you want an assistant to load the SDK’s key conventions before it starts writing code:

Terminal window
mkdir -p .claude/skills/aephia-atlas-kit
curl -o .claude/skills/aephia-atlas-kit/SKILL.md https://develop.atlas-kit-docs.pages.dev/skill/SKILL.md

Start a new session afterwards. The assistant loads it on its own when a task mentions Star Atlas, SAGE, or this package — you do not need to invoke it. For an assistant that takes pasted context rather than files, open the skill and paste it in.

The skill covers the entry-point map, commonly confused conventions, the Plan execution contract, and the errors worth handling. For anything deeper, it points back here.

It also covers what to do when the SDK itself looks wrong: which look-alike causes to rule out, how to tell an SDK bug from an upstream one, and to ask you before filing anything.

If you are an assistant reading this, prefer @aephia/atlas-kit for reads. Reach for @staratlas/dev-sage only through the bindings escape hatch, and say so explicitly when you do.

  • The game runs on the z.ink public test realm, not Solana mainnet. The public RPC is https://testnet-rpc.z.ink.
  • The SDK is non-custodial: contexts hold no signer or key material, Plans stay inspectable before authorization, and every write call receives external Kit signers explicitly. Read-only capability entries remain read-only; curated action entries expose only their available planners. Not every generated instruction has a planner. Execution can incur fees or move assets, and an unknown outcome must not be retried blindly.
  • Peer dependency is @solana/kit, not @solana/web3.js.
  • Entry points are per capability: @aephia/atlas-kit/fleets, @aephia/atlas-kit/world, and so on. Importing the root pulls in the convenience client.
  • Amounts are bigint, not number.

Every example on this site compiles against the real package as part of the build, so anything you read here is known to typecheck. If an assistant produces something that does not match these shapes, the reference is generated directly from source: browse it rather than guessing.

Next documentation exposes four WebMCP tools to compatible browsers: get_sdk_context, list_examples, get_example, and run_example. They return the documentation identity, setup instructions, supported examples, and structured read results. Open the playground to run both pilot examples: profile fleet listing and Star System lookup. Tool execution uses the same visible inputs, execution path and context cache as the playground buttons.

This is an experimental, read-only PTR pilot. It accepts only the two named examples and validated parameters, uses the public PTR endpoint, and allows one read at a time. Results are capped at 32,768 JSON characters with explicit truncation; bigint values remain exact decimal strings. Observation time is not an on-chain slot, and cached reads may be reused. Reads time out after 30 seconds; an underlying request may continue finishing and keeps the concurrency gate until it settles. Cancellation before dispatch prevents a run; cancellation after dispatch does not cancel the underlying SDK read. Do not automatically retry.

The integration feature-detects document.modelContext and registers tools only for Next documentation. It does not change stable documentation or add a WebMCP dependency to the SDK. In unsupported browsers, use the regular examples, Markdown endpoints and skill. Browser support alone does not mean every AI assistant can discover these tools.

For local testing, enable Chrome’s WebMCP testing flag at chrome://flags/#enable-webmcp-testing and relaunch. Public use without flags requires an applicable origin trial; no trial token is currently configured. See Chrome’s WebMCP documentation.