use praisonai::Agent;
// Build step-by-step reasoning into instructions
let agent = Agent::new()
.name("Thinker")
.instructions("When solving problems:
1. Break down the problem into smaller parts
2. Think through each part step by step
3. Show your reasoning before the final answer
4. Provide a clear conclusion")
.build()?;
let response = agent.chat("What causes rain?").await?;
// Agent shows step-by-step reasoning in response