> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Add PraisonAI to Your Agent

> Install PraisonAI agent skills and MCP tools in Claude Code, Cursor, Codex, ChatGPT, and 20+ coding agents in one command.

Connect PraisonAI skills and MCP tools to Claude Code, Cursor, Codex, ChatGPT, Antigravity, VS Code, or any agent that supports Agent Skills or Model Context Protocol (MCP).

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
graph LR
    subgraph "Your Coding Agent"
        A["🤖 Claude Code / Cursor / Codex / ChatGPT"]
    end

    subgraph "One-Line Install"
        B["✨ npx skills add https://praison.ai/docs"]
        C["🔌 praisonai connect / praisonai-mcp"]
    end

    subgraph "PraisonAI Capabilities"
        D["📘 SDK & CLI Skills"]
        E["⚡ Multi-Agent, Workflows, RAG, Guardrails"]
    end

    A --> B
    A --> C
    B --> D
    C --> E

    classDef agent fill:#8B0000,stroke:#7C90A0,color:#fff
    classDef install fill:#6366F1,stroke:#7C90A0,color:#fff
    classDef tools fill:#189AB4,stroke:#7C90A0,color:#fff
    classDef done fill:#10B981,stroke:#7C90A0,color:#fff

    class A agent
    class B,C install
    class D tools
    class E done
```

## Quick Start

Pick your coding agent or package manager below.

> [tab] Skills (npx)
>
> Run this in your project folder to install the PraisonAI agent skills directly from the well-known discovery endpoint:
>
> ```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> npx skills add https://praison.ai/docs
> ```
>
> This discovers and installs `praisonai` (SDK, CLI, YAML, and local models) and `praisonai-orchestrator` (MCP delegation guide). You can also pass `https://praison.ai` or `https://docs.praison.ai`.

> [tab] Claude Code
>
> Install the PraisonAI agent skills and connect the scoped 6-tool MCP server:
>
> ```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> # 1. Add PraisonAI agent skills
> npx skills add https://praison.ai/docs
>
> # 2. Add PraisonAI MCP tools (stdio via uvx, zero permanent install)
> claude mcp add praisonai -- uvx --from praisonai-mcp praisonai-mcp serve --transport stdio \
>   --tools praisonai.agent.run,praisonai.workflow.run,praisonai.workflow.run_file,praisonai.rag.query,praisonai.guardrails.check,praisonai.search
> ```
>
> Or let the PraisonAI CLI write the config automatically:
>
> ```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> praisonai connect claude-code
> ```

> [tab] Cursor
>
> Auto-configure Cursor with `praisonai connect`:
>
> ```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> praisonai connect cursor
> npx skills add https://praison.ai/docs
> ```
>
> Or add to `.cursor/mcp.json`:
>
> ```json theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> {
>   "mcpServers": {
>     "praisonai": {
>       "command": "uvx",
>       "args": [
>         "--from",
>         "praisonai-mcp",
>         "praisonai-mcp",
>         "serve",
>         "--transport",
>         "stdio",
>         "--tools",
>         "praisonai.agent.run,praisonai.workflow.run,praisonai.workflow.run_file,praisonai.rag.query,praisonai.guardrails.check,praisonai.search"
>       ]
>     }
>   }
> }
> ```

> [tab] Codex
>
> Install skills and register PraisonAI in Codex CLI (`~/.codex/config.toml`):
>
> ```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> npx skills add https://praison.ai/docs
> praisonai connect codex
> ```
>
> Or register directly with the Codex CLI:
>
> ```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> codex mcp add praisonai -- uvx --from praisonai-mcp praisonai-mcp serve --transport stdio
> ```

> [tab] ChatGPT
>
> ChatGPT connects from OpenAI's cloud over HTTPS using Streamable HTTP + OAuth 2.1. Start your PraisonAI MCP server behind a public HTTPS URL (or tunnel):
>
> ```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> praisonai-mcp serve --transport http-stream --host 0.0.0.0 --port 8080 --oauth
> ```
>
> Then in ChatGPT, go to **Settings → Apps & Connectors → Create** (Developer Mode) and enter your server's `https://<your-host>/mcp` URL. ChatGPT discovers OAuth 2.1 metadata automatically.

> [tab] ClawHub
>
> Install the published PraisonAI bundle (6 curated MCP tools + orchestrator skill) via ClawHub:
>
> ```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> npx clawhub install praisonai
> ```

***

## Connect 20+ Clients Automatically

`praisonai connect` detects installed editors and terminal agents and writes the right MCP configuration (including `--tools` filtering and `--agents agents.yaml` exposure):

**1. Connect your editor or terminal agent**

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
# Supported clients include:
# claude-code, cursor, codex, vscode, antigravity, gemini-cli,
# windsurf, claude-desktop, zed, kiro, trae, cline, opencode, goose, lm-studio
praisonai connect cursor
```

**2. Expose your own agents.yaml as MCP tools**

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai connect claude-code --agents agents.yaml --tools 'ask_*'
```

**3. Verify with a real MCP handshake**

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai-mcp serve --transport stdio --agents agents.yaml
```

***

## What Gets Installed

### Agent Skills (`npx skills add https://praison.ai/docs`)

| Skill | Purpose |
| - | - |
| `praisonai` | Guides coding agents when writing `praisonaiagents` Python/TS/Rust code, YAML workflows, tools, RAG, and offline local models. |
| `praisonai-orchestrator` | Teaches coding agents when and how to delegate subtasks, workflows, RAG queries, and guardrail checks to PraisonAI over MCP. |

### Curated MCP Tools (`praisonai-mcp`)

| Tool | Use when |
| - | - |
| `praisonai.agent.run` | Delegating a focused subtask to a PraisonAI assistant |
| `praisonai.workflow.run` | Running an inline YAML multi-agent workflow (sequential, parallel, route, or loop) |
| `praisonai.workflow.run_file` | Executing an existing `agents.yaml` or `workflow.yaml` file on disk |
| `praisonai.rag.query` | Querying a configured PraisonAI RAG knowledge base |
| `praisonai.guardrails.check` | Validating text or agent output against a PraisonAI guardrail policy |
| `praisonai.search` | Running a quick web search via PraisonAI's search tool |

***

## Machine-Readable Discovery Endpoints

PraisonAI publishes standard agent discovery files so tools and coding agents can auto-discover docs and skills without manual configuration:

| Endpoint | Standard | Purpose |
| - | - | - |
| `https://praison.ai/docs/.well-known/skills/index.json` | Well-Known Skills (`npx skills add`) | Lists installable skills and their `SKILL.md` files |
| `https://praison.ai/.well-known/skills/index.json` | Well-Known Skills (`npx skills add`) | Root-domain mirror for `npx skills add https://praison.ai` |
| `https://praison.ai/.well-known/agent-skills/index.json` | Agent Skills Discovery RFC 0.2.0 | Signed SHA-256 skill index |
| `https://praison.ai/skill.md` | Root capability summary | Single-file summary of PraisonAI capabilities |
| `https://praison.ai/docs/llms.txt` | `llms.txt` | Compact index of all PraisonAI documentation pages |
| `https://praison.ai/docs/llms-full.txt` | `llms-full.txt` | Full documentation index for LLM context ingestion |

***

## Best Practices

> [accordion] Scope MCP tools to keep context small
>
> Passing `--tools` exposes only the 6 core orchestration tools (or a glob like `--tools 'ask_*'`) instead of loading dozens of tool schemas into your coding agent's context window.

> [accordion] Use uvx for zero-install MCP startup
>
> Running `uvx --from praisonai-mcp praisonai-mcp serve --transport stdio` keeps `praisonai-mcp` isolated from your project's Python virtual environment and avoids dependency conflicts.

> [accordion] Enable OAuth 2.1 for remote HTTP-Stream servers
>
> Whenever binding `praisonai-mcp serve --transport http-stream` to a non-loopback address (for ChatGPT, Claude Connectors, or remote editors), pass `--oauth` so editors complete PKCE OAuth 2.1 + CIMD verification automatically.

> [accordion] Run fully offline with local models
>
> Export `OPENAI_API_BASE` or configure an Ollama / LM Studio model in `agents.yaml` to delegate tasks from your coding agent to a local model with zero external data transfer.

***

## Related

> [card] [Deploy PraisonAI MCP Server](https://praison.ai/docs/deploy/servers/praisonai-mcp.md)
>
> Full CLI options for stdio and Streamable HTTP transports

> [card] [MCP Server OAuth 2.1](https://praison.ai/docs/features/mcp-server-oauth.md)
>
> Automatic OAuth 2.1, DCR, and CIMD editor verification


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.