Arete documentation
Arete developer portal
For the complete documentation index optimized for AI agents, see llms.txt or llms-full.txt. A markdown version of this page is available by appending.mdto the URL or sendingAccept: text/markdown.
For AI agents: the documentation index is at llms.txt (full corpus: llms-full.txt). A markdown source for this page is /developers.md.
This is the Arete developer portal. Use it when you need keys, docs, the HTTP API, or a first working project. Humans and agents should start here rather than scraping the marketing site.
API keys and authentication
Section titled “API keys and authentication”Hosted protocols, cloud dev environments, Program Read, and live views use origin-bound publishable keys and account API keys. They are not interchangeable.
- Create or inspect a key at https://arete.run/keys.
- In a project, prefer
a4 auth login --key <a4_ak_…>ora4 auth signupwhen the user asked for an agent account. - Browser apps take
auth={{ publishableKey }}on the generated client. Never put an account API key in frontend code, logs, or git.
a4 doctor --json reports the current identity and the exact fix command
when a required check is not ready.
Documentation and quickstart
Section titled “Documentation and quickstart”| Resource | URL | Use it for |
|---|---|---|
| Quickstart | /using-stacks/quickstart/ | Build and exercise a first protocol |
| Protocol clients | /integrating-protocols/overview/ | Integrate an existing deployment |
| Dev environments | /cli/local-development/ | Persistent cloud mainnet forks |
| Agent bootstrap | /agent.md | One-page setup for coding agents |
| What is Arete | /getting-started/what-is-arete/ | Product model |
| Catalog + descriptors | /agent-skills/explore/ | Find programs and stacks by intent |
| MCP servers | /agent-skills/mcp/ | Docs MCP and stream MCP |
| TypeScript SDK | /sdks/typescript/ | Generated clients |
| OpenAPI spec | /openapi.json | Function-calling description of the docs HTTP API |
The documentation index for agents is llms.txt. Append .md to
any docs URL, or send Accept: text/markdown.
HTTP API and MCP
Section titled “HTTP API and MCP”The documentation HTTP API is the MCP server at
https://docs.arete.run/mcp.
GET /mcpreturns the descriptor (search_docs,fetch_page).POST /mcpis JSON-RPC 2.0 Streamable HTTP.- Errors are JSON objects
{ "error": { "code", "message", "hint" } }. - The OpenAPI document is at
/openapi.json.
This API searches and fetches these docs. It does not submit Solana
transactions or mint hosted deployments. Those stay on the a4 CLI and
generated SDKs.
Development environments
Section titled “Development environments”Run a4 dev up in a protocol project or Solana app to create or reuse a
persistent cloud mainnet fork. The CLI provides a loopback RPC for local
wallets and apps, a dev UI, and protocol rebuilds. Environments require the
appropriate account access; restricted agent discovery signup does not grant
owner deployment access.
Build a first protocol · Cloud dev environments
Skills
Section titled “Skills”Install product skills with a4 init (runs npx skills add AreteA4/skills)
or read the well-known index at
/.well-known/agent-skills.