Create, manage, and chat with agents using the Pawa AI Python SDK.
Agents are available under client.agents. Chat with an agent via client.agents.chat.create(...), which supports non-streaming and streaming the same way as chat. See the Agents API reference.
Create an agent
from pawa_ai import PawaAIclient = PawaAI()agent = client.agents.create( name="TutorAI", description="TutorAI helps students with secondary school subjects.", instruction=( "Teach Form 1–4 subjects. Answer only academic questions " "related to the assigned curriculum." ), intents=["Be gentle", "Be detailed"], knowledgeBaseId=159, tools=[{"type": "pawa_tool", "pawa_tool": "web_search_tool"}],)print(agent)