drift-detector / agent.py
Sars6's picture
Checkpointing a working code
9fa019c
raw
history blame
372 Bytes
import asyncio
from mcp_agent.core.fastagent import FastAgent
fast = FastAgent("Drift Test Agent")
@fast.agent(
name="diagnostics",
instruction="Run diagnostics using the MCP server tool.",
servers=["drift-server"]
)
async def main():
async with fast.run() as agent:
await agent.interactive()
if __name__ == "__main__":
asyncio.run(main())