evalstate's picture
download
raw
682 Bytes
import asyncio
from mcp_agent.core.fastagent import FastAgent
# Create the application
fast = FastAgent("mcp server tests")
# Define the agent
# @fast.agent(name="anon",instruction="You are a helpful AI Agent",servers=["anon_hf"])
@fast.agent(name="DVe0UTvm4",instruction="You are a helpful AI Agent",servers=["test_hf"])
async def main():
# use the --model command line switch or agent arguments to change model
async with fast.run() as agent:
# print(await agent.DVe0UTvm4.call_tool("hf_whoami",{}))
# print(await agent.DVe0UTvm4.call_tool("test_hf-hf_whoami",{}))
await agent.interactive()
if __name__ == "__main__":
asyncio.run(main())

Xet Storage Details

Size:
682 Bytes
·
Xet hash:
10aa3e1db47f3b8a5e55434df7dfdf5be6f11c29fc7279e4de3c85425c1e922a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.