# Developer Platform

Abazi Developer Platform, the tools for integrating on both sides. API keys, signed webhooks with retries and replay, request logs, the MCP server, the REST API, the Python SDK and a TypeScript client typed from the OpenAPI contract.

<ShortProductTruth>**One tool call. Every rail.** Developers on both sides get scoped keys, signed webhooks they can replay, logs of every call, an MCP server for agents and a REST API for everything else.</ShortProductTruth>


## The problem it removes [#the-problem-it-removes]

An integration that cannot be inspected is debugged by guesswork. Abazi Developer Platform gives agent and merchant developers what they need to integrate and debug on their own: keys they control, events they can trust and replay, and a record of what each call did.

## Who uses it [#who-uses-it]

| Who | How |
| --- | --- |
| Agent developers | Connect an agent over MCP, JSON-RPC, REST or an SDK with its Abazi credential, and read the request log when something fails. |
| Merchant and platform developers | Create API keys, register webhook endpoints and react to payment, delivery, dispute and payout events. |
| Owners | Decide who may manage keys and endpoints. |

## How it works [#how-it-works]

| Tool | What it does |
| --- | --- |
| API keys | Secrets shown once and stored only as a hash. Creating, rolling or revoking a key needs a fresh passkey check, and a key can only carry scopes its creator holds. Rolling keeps the old key valid for an overlap you choose. |
| Webhooks | Events are written in the same transaction as the change they describe, then delivered to matching endpoints signed with the Standard Webhooks scheme (an HMAC-SHA256 signature over the id, timestamp and body). |
| Retries and replay | A failed delivery is retried on a fixed schedule, up to eight attempts in all over about a day. After three failures in a row the endpoint shows as failing. Any event can be replayed to one endpoint or to all. |
| Request logs | API and MCP calls are kept for 7 days, with method, path, status, latency and the reason code if a purchase was refused. |
| MCP server | Six tools for agents, over stdio or streamable HTTP, authenticated with the agent's Abazi credential. |
| REST API | The same operations over HTTP, with an agent credential, an API key or a console session. |
| Python SDK | The Python SDK (`uapg_client`) wraps the REST API for agents. See [Python SDK](/docs/agents/python-sdk). |
| TypeScript | A typed client generated from the OpenAPI contract. See [TypeScript](/docs/agents/typescript). |

A webhook endpoint's address is checked before Abazi will call it, and its signing secret is shown once. Each delivery records the status code, latency and the start of the response body.

## Connect an agent [#connect-an-agent]

Every agent harness connects the same way: an Abazi credential and the MCP server or the REST API. Abazi supports <PlatformCount of="harnesses" /> harnesses, each with its own setup page under [Agents](/docs/agents): [Claude Code](/docs/agents/claude-code), [Claude Desktop](/docs/agents/claude-desktop), [Cursor](/docs/agents/cursor), [any MCP client](/docs/agents/any-mcp-client), the [Python SDK](/docs/agents/python-sdk), [plain HTTP](/docs/agents/http-api), [TypeScript](/docs/agents/typescript) and a [local model on Tether QVAC](/docs/agents/local-model-qvac).

<HarnessList />

```python
from uapg_client import Gateway

gw = Gateway("YOUR_AGENT_KEY", base_url="https://api.52-28-238-205.sslip.io")
svc = gw.search("weather")[0]
result = gw.purchase(service_id=svc["id"], idempotency_key="task-42")
```

Replace `YOUR_AGENT_KEY` with an agent credential: create one in the [Console](https://app.52-28-238-205.sslip.io) under **Agents > New agent** (shown once). See [Credentials](/docs/api/credentials).

## Screens [#screens]

<Screenshot id="developers-quickstart" />

<Screenshot id="developers-mcp" />

<Screenshot id="developers-webhooks" />

<Screenshot id="developers-events" />

## Boundaries [#boundaries]

| Case | What happens |
| --- | --- |
| Asking for a scope you do not hold | Refused. |
| Rolling a revoked key | Refused. |
| An agent credential used to manage keys or rules | Refused. An agent credential cannot manage keys, endpoints or rules. |
| A webhook receiver that rejects the signature | The delivery counts as failed and is retried. |

## API [#api]

The Developers operations in the API reference, each with its parameters, responses and code samples:

<ApiOperationList ids={['listApiKeys', 'createApiKey', 'rollApiKey', 'revokeApiKey', 'listRequestLogs', 'getDeveloperSnippets', 'streamEvents']} />

## Next steps [#next-steps]

<Cards>
  <Card title="An agent's first purchase" href="/docs/guides/first-purchase-mcp" description="Connect an agent over MCP and follow one purchase." />
  <Card title="Events and webhooks" href="/docs/webhooks" description="See every event type and how to verify a signature." />
  <Card title="Agents" href="/docs/agents" description="Connect Claude Code, Claude Desktop, Cursor, any MCP client, Python, TypeScript or plain HTTP." />
</Cards>

