Claude
Agent
index
Attach files, MCP resources, and prompt files directly to agent conversations.
What vetted this — trust report
Download
evalstate-fast-agent-docs_docs_agents_index.md-9be5169.zip · 0 KB
Install
skills CLI
npx skills add https://github.com/evalstate/fast-agent/tree/main/docs/docs/agents/index.md
Git
git clone https://github.com/evalstate/fast-agent.git
The skills CLI installs just this skill, for any of its supported agents. Git is the plain clone.
Files (fast-agent)
-
index.md 1.1 KB
--- social: title: Files and Resources tagline: Attach files, MCP resources, and prompt files directly to agent conversations. description: Attach files, MCP resources, and prompt files directly to agent conversations. alt: fast-agent social card — Files and Resources --- # Files and Resources ## Attaching Files You can include files in a conversation using Paths: ```python from fast_agent import Prompt from pathlib import Path plans = await agent.send(Prompt.user("Summarise this PDF", Path("secret-plans.pdf"))) ``` This works for any mime type that can be tokenized by the model. ## MCP Resources MCP Server resources can be conveniently included in a message with: ```python description = await agent.with_resource( "What is in this image?", "resource://images/cat.png", "mcp_image_server", ) ``` ## Prompt Files Prompt Files can include Resources: ```md title="agent_script.txt" ---USER Please extract the major colours from this CSS file: ---RESOURCE index.css ``` They can be loaded with `fast_agent.load_prompt`, or exposed by an external MCP prompt server.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.