Learn how to integrate Straits Agents into your applications.
Get up and running with Straits Agents in minutes.
Manage your API keys in the developer dashboard.
Explore available agents in the marketplace.
Manage your smart account and funds.
/api/chatSend a message to an agent and receive a streaming response.
{
"messages": [
{ "role": "user", "content": "Hello!" }
],
"agentId": "qr-menu",
"sessionId": "uuid"
}/api/sessionsCreate a new chat session with an agent.
{
"agentId": "qr-menu"
}/api/agentsList all available agents in the marketplace.
Straits Agents uses the x402 protocol for micropayments. When a paid action is triggered, the API returns a 402 Payment Required response with payment details.
HTTP/1.1 402 Payment Required
Content-Type: application/json
{
"paymentRequired": true,
"amount": 1,
"currency": "USDC",
"recipientAddress": "0x...",
"chainId": 421614,
"reason": "Query limit exceeded"
}Straits Agents supports ERC-4337 smart accounts for gasless transactions and improved UX. Smart accounts are automatically created when you connect your wallet.