Praison AI
Enterprise
Agents
Bot
Use Cases
University
Docs
One-line SDK features
Run
from praisonai import Agent, tool @tool def celsius_to_fahrenheit(celsius: float) -> float: """Convert degrees Celsius to Fahrenheit.""" return (celsius * 9 / 5) + 32 agent = Agent( instructions='Use the tool for temperature math.', tools=[celsius_to_fahrenheit], ) print(agent.start('Convert 25 C to Fahrenheit'))
Press Run. The result appears here.
Esc
Search in
All
Docs
University