Run for others

Note: Run on your machine with a model key in the environment. The University sandbox does not host servers.

Beyond your laptop

Run for others means another program or person can send a question and get an answer while your agent keeps listening.

The Deploy course covers launch, serve, and containers. This step names the idea: one HTTP endpoint.

Example

from praisonaiagents import Agent

agent = Agent(name="API", instructions="Answer briefly.")
agent.launch(path="/ask", port=8000)

Reference: documentation