Deploy a lightweight Python agent
from agno.agent import Agent from agno.models.openai import OpenAIChat agent = Agent( model=OpenAIChat(id="gpt-4o"), instructions="You are a helpful assistant.", ) while True: try: user_input = input() except EOFError: break response = agent.run(user_input) print(response.content)
agno openai
superserve deploy agent.py superserve secrets set my-agent OPENAI_API_KEY=sk-... superserve run my-agent
OpenAIChat
AnthropicChat
GroqChat