> For the complete documentation index, see [llms.txt](https://praxis-4.gitbook.io/praxis/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://praxis-4.gitbook.io/praxis/api-reference/readme.md). Agents can also search and read this documentation through its [MCP server](https://praxis-4.gitbook.io/praxis/~gitbook/mcp).

# Overview

Programmatic access to Praxis markets via REST API, MCP server, and WebSocket. We're building this for developers and AI agents.

{% hint style="info" %}
The Praxis API is under active development and not yet publicly available. This page outlines what's coming. Join our community to be among the first to get access.
{% endhint %}

We're building a full programmatic interface to Praxis so you can trade, monitor positions, and run automated strategies without ever touching the UI.

Whether you're shipping a trading bot, integrating Praxis into your own product, or building an AI agent that operates on yield 24/7, this API is designed for you.

## What's Coming

<table data-view="cards"><thead><tr><th>Interface</th><th>Description</th></tr></thead><tbody><tr><td><strong>REST API</strong></td><td>Query markets, place and settle positions, manage vaults, and pull analytics. Standard JSON over HTTPS.</td></tr><tr><td><strong>MCP Server</strong></td><td>A Model Context Protocol interface purpose-built for AI agents. Deposit once, let your agent operate on yield with no principal at risk.</td></tr><tr><td><strong>WebSocket</strong></td><td>Real-time market data, position updates, and settlement events. Essential for latency-sensitive strategies and live dashboards.</td></tr></tbody></table>

## Why Praxis for Agents?

The principal-protected model is structurally well-suited for automated strategies. Your agent operates on yield instead of principal so high-frequency execution has bounded downside. One deposit, indefinite operation.

{% columns %}
{% column %}
**Human developers**

Build integrations, analytics dashboards, custom UIs, or trading tools on top of Praxis markets.
{% endcolumn %}

{% column %}
**AI agents**

Run autonomous prediction strategies with a natural yield budget. No principal at risk across execution cycles.
{% endcolumn %}
{% endcolumns %}

## Explore the Protocol

Before the API lands, everything you need to understand Praxis is in the documentation.

<table data-view="cards"><thead><tr><th>Section</th><th>Description</th></tr></thead><tbody><tr><td><a href="https://github.com/PraxisFinance/docs/blob/main/documentation/getting-started/what-is-praxis.md"><strong>What is Praxis</strong></a></td><td>The principal-protection model, PT/YT mechanics, and product overview.</td></tr><tr><td><a href="https://praxis-4.gitbook.io/praxis/documentation/how-it-works/pt-and-yt.md"><strong>How It Works — PT &#x26; YT, Vaults, Markets</strong></a></td><td>A dive into token mechanics, vault lifecycle, and market structure.</td></tr><tr><td><a href="https://praxis-4.gitbook.io/praxis/documentation/strategies-and-guides/mathematical-foundations.md"><strong>Strategies &#x26; Mathematical Foundations</strong></a></td><td>Expected value, Kelly Criterion, and PT/YT trading strategies.</td></tr><tr><td><a href="https://praxis-4.gitbook.io/praxis/documentation/for-agents-and-builders/agents.md"><strong>For Agents &#x26; Builders</strong></a></td><td>Programmatic access, agent-oriented design, and upcoming API surface.</td></tr></tbody></table>

## Stay in the Loop

<a href="https://github.com/PraxisFinance/docs/blob/main/documentation/agents/README.md" class="button secondary">Agents & Builders Overview</a>
