integrations • AI Agents Framework

PraisonAI Integrations – External CLI tool and managed agent integrations.

integrations

AI Agents Framework

PraisonAI Integrations – External CLI tool and managed agent integrations.

This module provides integrations with external AI coding tools:

  • Claude Code CLI
  • Gemini CLI
  • OpenAI Codex CLI
  • Cursor CLI
  • Managed Agent Backends (Anthropic Managed Agents API)

All integrations use lazy loading to avoid performance impact.

Usage:

python
from praisonai.integrations import ClaudeCodeIntegration, ManagedAgent

# CLI tool integration
claude = ClaudeCodeIntegration(workspace="/path/to/project")

# Managed agent integration
managed = ManagedAgent(config={"model": "claude-sonnet-4-6"})

# Use as agent tool
tool = claude.as_tool()

# Or execute directly
result = await claude.execute("Refactor this code")

Public surface Backed by a static name -> lazy-loader map plus the entry-point group `praisonai.integrations for third-party plugins. There is no third registry: CLI backends and managed backends keep their own typed registries (:class:ExternalAgentRegistry, :class:ManagedBackendRegistry) as the sources of truth for the --external-agent and run_on=` surfaces.

Third-party plugins::

# your-plugin/pyproject.toml [project.entry-points.”praisonai.integrations”] acme = “acme_praison:AcmeIntegration”

# after pip install your-plugin from praisonai.integrations import acme

Names that collide with a built-in integration are ignored — built-ins always win.

Import

python
from praisonai import integrations

Related Documentation