Plugins & Extensions Overview
How Tools, Skills, Connectors (MCP), and Plugins work together as four peer extension systems in PraisonAI
PraisonAI provides four peer extension systems — Tools, Skills, Connectors (inbound MCP), and Plugins — so you can add executable actions, declarative playbooks, remote SaaS integrations, or runtime lifecycle hooks without mixing concerns.
from praisonaiagents import Agent, MCP, plugins
plugins.enable(["logging"]) # Runtime lifecycle plugin
def get_order_status(order_id: str) -> str:
"""Look up an order status by ID."""
return f"Order {order_id}: shipped"
agent = Agent(
name="Support Agent",
instructions="Answer customer questions accurately.",
tools=[get_order_status], # 1. Tool (executable function)
skills=["./skills/refund-policy"], # 2. Skill (declarative SKILL.md)
mcps=MCP("https://mcp.linear.app/mcp", oauth=True, server_name="linear"), # 3. Connector (remote MCP)
)
agent.start("Check order #4821, explain our return window, and file a Linear follow-up.")The user submits one request; the agent follows its Skill instructions, calls local Tools and remote Connectors, while active Plugins observe, rewrite, or guard lifecycle events.
flowchart TB
subgraph Capabilities["Direct Agent Capabilities"]
T["🔧 Tools<br/>Executable functions<br/>praisonai tools"]
S["📚 Skills<br/>Declarative SKILL.md<br/>praisonai skills / npx skills"]
C["🔌 Connectors (Inbound MCP)<br/>Remote SaaS + OAuth 2.1<br/>praisonai connectors"]
end
subgraph Runtime["Runtime Lifecycle & Bundling"]
P["🧩 Plugins & Hooks<br/>PluginScope · requires · backends<br/>praisonai plugins"]
end
subgraph Outbound["Reverse Direction (Outbound)"]
O["🚀 Connect (Outbound MCP)<br/>Expose PraisonAI to 22 editors<br/>praisonai connect"]
end
A["🤖 PraisonAI Agent"] --> T
A --> S
A --> C
A --> P
P -. "can bundle via get_tools()" .-> T
P -. "can bundle via get_skills()" .-> S
A -. "served via praisonai-mcp" .-> O
classDef agent fill:#8B0000,stroke:#7C90A0,color:#fff
classDef cap fill:#189AB4,stroke:#7C90A0,color:#fff
classDef plugin fill:#6366F1,stroke:#7C90A0,color:#fff
classDef out fill:#10B981,stroke:#7C90A0,color:#fff
class A agent
class T,S,C cap
class P plugin
class O outWhich Extension Should I Use?
Choose the right layer based on whether you are running code, teaching instructions, connecting a remote SaaS service, or intercepting the agent runtime.
graph TB
Q{What do you want to add?}
Q -->|Connect external SaaS into PraisonAI| C[🔌 Connectors · praisonai connectors]
Q -->|Expose PraisonAI inside Cursor / Claude Code| O[🚀 Connect · praisonai connect]
Q -->|Teach procedures & domain rules| S[📚 Skills · SKILL.md]
Q -->|Run a Python function or built-in tool| T[🔧 Tools · @tool]
Q -->|Intercept lifecycle, guardrails, backends, or ship a bundle| G["🧩 Plugins & Hooks · Plugin"]
classDef decision fill:#F59E0B,stroke:#7C90A0,color:#fff
classDef target fill:#189AB4,stroke:#7C90A0,color:#fff
classDef plugin fill:#6366F1,stroke:#7C90A0,color:#fff
classDef ok fill:#10B981,stroke:#7C90A0,color:#fff
class Q decision
class C,S,T target
class G plugin
class O ok| System | One-Line Role | Python API | CLI Command | Starting Point |
|---|---|---|---|---|
| Connectors (Inbound MCP) | Connect remote third-party SaaS MCP servers (GitHub, Linear, Notion, Stripe, …) with OAuth 2.1 | MCP("https://...", oauth=True) | praisonai connectors | List of Connectors · Remote MCP Connectors |
| Skills | Declarative SKILL.md playbooks loaded via progressive disclosure | Agent(skills=["./dir"]) | praisonai skills · npx skills add | Agent Skills · Skills vs Tools |
| Tools | Executable functions — 140+ built-ins plus custom @tool callables | Agent(tools=[fn]) | praisonai tools | Tools Overview · Custom Tools |
| Plugins & Hooks | Runtime lifecycle hooks, PluginScope, guardrails, swappable backends, and pip capability bundles (TOOL, HOOK, SKILL, POLICY, GUARDRAIL, INTEGRATION) | plugins.enable() · PluginManager | praisonai plugins | Plugins · Hooks |
| Connect (Outbound MCP) | Opposite direction: register PraisonAI’s MCP server inside 22 editors & coding agents | praisonai-mcp serve | praisonai connect <client> | praisonai connect · Add to Your Agent |
Quick Start
- Connect a remote SaaS service (Inbound Connector)
bash praisonai connectors add github --auth praisonai mcp sync github - Add a Skill
bash npx skills add https://praison.ai/docspython from praisonaiagents import Agent agent = Agent( instructions="Review pull requests carefully.", skills=["./skills/code-review"], ) agent.start("Review this diff for edge cases") - Add a Tool
python from praisonaiagents import Agent def convert_usd_to_eur(amount: float) -> str: """Convert a USD amount to EUR.""" return f"{amount * 0.92:.2f} EUR" agent = Agent( instructions="Help with currency conversions.", tools=[convert_usd_to_eur], ) agent.start("Convert 150 USD to EUR") - Install or Load a Plugin
bash praisonai plugins add praisonai-my-pluginpython from praisonaiagents import Agent, discover_and_load_plugins discover_and_load_plugins() agent = Agent(name="Assistant", instructions="Help users") agent.start("Hello!")
Browse Every Section
10-vendor remote MCP catalog, OAuth 2.1, custom remote servers, and outbound editor connect.
SkillsAuthor SKILL.md playbooks, install remote skill repos, and compose skill bundles.
ToolsExplore 140+ built-in tools, custom @tool functions, streaming outputs, and tool search.
General Plugins & HooksBuild single-file or pip plugins, lifecycle hooks, guardrails/policies, and swappable backends.
Best Practices
Start with a Tool, Skill, or Connector before writing a Plugin
Use a plain function (tools=[fn]) for actions, a SKILL.md (skills=[...]) for instructions, and praisonai connectors add for remote SaaS APIs. Reach for a Plugin when you need cross-cutting lifecycle hooks, guardrails/policies, swappable backends, or a bundled pip package.
Keep inbound connectors and outbound connect separate
Use praisonai connectors when your PraisonAI agent needs to call GitHub, Linear, Notion, or Stripe. Use praisonai connect when Cursor, Claude Code, Codex, or VS Code needs to call your PraisonAI agents.
Scope tools and enforce plugin trust gates in production
Pass --allow on remote connectors, --tools on outbound MCP servers, and use plugins.enable([...]) or .praisonai/config.yaml allow-lists so untrusted project plugins never auto-load silently.
Related
Install PraisonAI skills and MCP tools in Claude Code, Cursor, Codex, and ChatGPT
Bot Platform PluginsRegister custom messaging channel adapters via Python entry points
Plugins CLIList, enable, disable, add, and reload plugins from the command line
Skills & Tools CLIManage skills and built-in tools from the terminal