Praison AI
Platform
Use Cases
Bot
Partners
Community
University
Docs
Get Started
Add a tool
Run
from praisonai import Agent def word_count(text: str) -> str: """Count the words in text.""" return str(len(text.split())) agent = Agent( name="Counter", instructions="Use the word_count tool.", tools=[word_count], ) print(agent.start("How many words are in: praison agents university"))
Press Run. The result appears here.