import asyncio
from mcp_agent.core.fastagent import FastAgent
# Create the application
fast = FastAgent("fast-agent example")
# Define the agent
@fast.agent(servers=["mcp_hfspace"])
async def main():
async with fast.run() as agent:
await agent.interactive()
if __name__ == "__main__":
asyncio.run(main())