{"id":23142,"library":"praisonai","title":"PraisonAI","description":"PraisonAI is an AI Agents Framework with Self Reflection. It combines PraisonAI Agents, AutoGen, and CrewAI into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customization, and efficient human-agent collaboration. The current version is 4.6.33, with frequent releases.","status":"active","version":"4.6.33","language":"python","source_language":"en","source_url":"https://github.com/mervinpraison/PraisonAI","tags":["ai","agents","multi-agent","llm","framework","autogen","crewai"],"install":[{"cmd":"pip install praisonai","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Wrong class name and module. Correct class is PraisonAIAgents (plural) from top-level package.","wrong":"from praisonai.agents import PraisonAIAgent","symbol":"PraisonAIAgents","correct":"from praisonai import PraisonAIAgents"},{"note":"Agent is top-level; old docs might suggest a nested import.","wrong":"from praisonai.agents import Agent","symbol":"Agent","correct":"from praisonai import Agent"},{"note":"Task is directly importable from praisonai.","wrong":"","symbol":"Task","correct":"from praisonai import Task"},{"note":"Crew is directly importable from praisonai.","wrong":"","symbol":"Crew","correct":"from praisonai import Crew"}],"quickstart":{"code":"import os\nfrom praisonai import PraisonAIAgents, Agent, Task, Crew\n\nagent = Agent(\n    name=\"Researcher\",\n    role=\"Research Analyst\",\n    goal=\"Provide accurate summaries\",\n    backstory=\"Expert in research\",\n    llm=\"gpt-4\"\n)\ntask = Task(\n    description=\"Summarize the latest AI news\",\n    expected_output=\"A brief summary\"\n)\ncrew = Crew(\n    agents=[agent],\n    tasks=[task],\n    process=\"sequential\"\n)\nresult = crew.kickoff()\nprint(result)","lang":"python","description":"Basic creation of an agent, task, and crew, then kickoff the process."},"warnings":[{"fix":"Update imports to use 'from praisonai import PraisonAIAgents, Agent, Task, Crew'.","message":"From v4.x, the API has changed significantly. Old v3.x code using 'PraisonAIAgent' (singular) and nested modules will break. Use top-level imports.","severity":"breaking","affected_versions":">=4.0.0"},{"fix":"Replace 'process=\"sequential\"' with 'execution_mode=\"sequential\"'.","message":"The 'process' parameter in Crew may be deprecated in future versions. Use 'execution_mode' instead.","severity":"deprecated","affected_versions":">=4.5.0"},{"fix":"Always pass an 'llm' string (e.g., 'gpt-4', 'gpt-3.5-turbo') to Agent().","message":"If you omit the 'llm' parameter, PraisonAI may try to use the OpenAI default (GPT-4) without asking. Set it explicitly to avoid unexpected API costs.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use 'from praisonai import Agent' instead of 'from praisonai.agents import Agent'.","cause":"Old import path from v3.x documentation.","error":"ModuleNotFoundError: No module named 'praisonai.agents'"},{"fix":"Upgrade to >=4.0.0 and use 'crew.kickoff()'. If stuck on old version, use 'crew.run()'.","cause":"Using an older version (<4.0.0) where the method was 'run'.","error":"AttributeError: 'Crew' object has no attribute 'kickoff'"},{"fix":"Pass a string like 'gpt-4' or 'claude-opus-4' to the 'llm' parameter.","cause":"Passing an unexpected type (e.g., an object) instead of a string.","error":"pydantic.errors.PydanticUserError: Invalid type for field 'llm'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}