Documentation Index
Fetch the complete documentation index at: https://docs.rako.sh/llms.txt
Use this file to discover all available pages before exploring further.
Runnable Examples
Use these examples when you want a local hello-world path before connecting to a non-mock Rako API key. They use placeholder credentials, deterministic mock offers, and a reserved.invalid checkout URL.
These examples do not process payment, collect payment details, promise conversion or payout, or mutate production/live data.
Fastest local path
- Start the mock AAP server.
- Run the JavaScript or Python SDK example against it.
- Read the MCP transcript for the canonical agent-tool sequence.
pip upgrade is intentional for fresh local virtualenvs; editable pyproject.toml installs need modern pip support. uv venv .venv && source .venv/bin/activate && uv pip install -e . is the equivalent uv path.
Expected SDK output includes a mock offer, a mock recommendation ID, and:
If port 3456 is already in use
If the mock server exits withEADDRINUSE, pick another local port and point the clients at the same URL:
AAP_API_URL value for the JavaScript and Python examples.
MCP tool sequence
For MCP-compatible clients, the canonical checkout-link flow is:MCP agent flow tutorial
Read the step-by-step version of the mock transcript and checkout-link handoff boundary.
Example directories
examples/README.md— full local walkthrough and validation checklist.examples/mock-aap-server— tiny local server with fake offers and checkout links.examples/js-sdk-basic— JavaScript/TypeScript SDK hello world.examples/python-sdk-basic— Python SDK hello world.examples/mcp-agent-flow— canonical MCP-style transcript.examples/mock-conversion— fake conversion artifact for local learning only.
Mock conversion artifact
Understand how the fake conversion payload relates to checkout-link creation.