Create a new file everart_agent.py with the following code:
Copy
from praisonaiagents import Agent, MCPimport os# Get Everart API key from environmenteverart_api_key = os.getenv("EVERART_API_KEY")# Use a single string command with Everart configurationeverart_agent = Agent( instructions="""You are a helpful assistant that can interact with Everart. Use the available tools when relevant to generate and manage art.""", llm="gpt-4o-mini", tools=MCP("npx -y @modelcontextprotocol/server-everart", env={"EVERART_API_KEY": everart_api_key}))everart_agent.start("Generate an artistic image of a sunset")