AG2 with PraisonAI

Low-code solution to run AG2 with integrated tools and features. AutoGen is being evolved into AG2, check the new look here

Installation

# Install with AutoGen support
pip install "praisonai[autogen]"

This installation includes:

  • AG2 framework
  • PraisonAI tools integration
  • Multi-agent conversation capabilities
  • Code execution environment

Quick Start

# Set your OpenAI API key
export OPENAI_API_KEY=xxxxxxxxxx

# Initialize with AG2
praisonai --framework autogen --init "Create a Movie Script About Cat in Mars"

# Run the agents
praisonai --framework autogen

Auto Mode

praisonai --framework autogen --auto "Create a Movie Script About Cat in Mars"

Was this page helpful?