Build

Minimal agent

Start from Agents — First agent. Add one tool and instructions from your plan.

Run locally until one happy-path question works.

Example

from praisonai import Agent

def ping() -> str:
    """Return ok for capstone health check."""
    return "ok"

agent = Agent(
    name="Capstone",
    instructions="Answer only from your plan. Use ping when asked if you are ready.",
    tools=[ping],
)
print(agent.start("Are you ready?"))

Try it Yourself

Optional file path

When the script works, copy the idea into agents.yaml using the YAML track.

Validate before you ship.

Reference: documentation