Skip to content

Tools

Agentmd provides three types of tools for your agents.

Built-in Tools

Always available, no configuration needed:

Learn more →

Custom Tools

Extend with Python. Use the SDK for sandbox-safe file access:

# workspace/agents/_config/tools/my_tool.py
from langchain_core.tools import tool
from agent_md.sdk import resolve_path

@tool
def my_tool(path: str) -> str:
    """Read a file safely."""
    resolved, error = resolve_path(path)
    if error:
        return f"ERROR: {error}"
    return resolved.read_text()

Create custom tools →

MCP Integration

Use external MCP servers:

mcp:
  - fetch
  - github

MCP integration →