reminix.runtime.serve¶
- reminix.runtime.serve(agents, *, host='0.0.0.0', port=8080)[source]¶
Start the HTTP server to serve agents.
- Parameters:
- Return type:
Example:
from reminix.runtime import Agent, serve agent = Agent(name="my-agent") @agent.invoke async def handle_invoke(input: dict): return {"output": "Hello!"} serve([agent], port=8080)