File size: 400 Bytes
0d5ac71
 
 
 
 
9fa019c
0d5ac71
 
d13cf7b
0d5ac71
 
 
 
9fa019c
0d5ac71
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import asyncio
from mcp_agent.core.fastagent import FastAgent

fast = FastAgent("Drift Test Agent")


@fast.agent(
    name="diagnostics",
    instruction="Your name is 'diagnostics'. 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())