
lastmile-ai/mcp-agent
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
モデルコンテキストプロトコルとシンプルなワークフローパターンを用いて効果的なエージェントを構築する
概要
シンプルで構成可能なパターンを用いて、Model Context Protocolで効果的なエージェントを構築しましょう。 は、モデルコンテキストプロトコルを用いて効果的なエージェントを構築するためのシンプルで構成可能なフレームワークです。 MCP-Agentのビジョンは、MCPだけでエージェントを構築すること、そして高品質なエージェントを送るには複雑なアーキテクチャよりもシンプルなパターンの方が堅牢であるというものです。 1. : MCPを完全に実装し、MCPサーバー接続のライフサイクル管理という面倒な業務もこなせるので、ユーザーが操作しなくて済みます。2. : Anthropicの『Building Effective Agents』で説明されたすべてのパターンをコンポジブルな方法で実装し、これらのパターンを連結できます。3. : シンプルなエージェントに対応し、Temporal上で構築された高度なワークフローにスケールできるため、エージェントのAPI変更なしで一時停止、再開、復旧が可能です。 総じて、これは堅牢なエージェントアプリケーションを構築する最も簡単で簡単な方法です。 あらゆるご寄稿、フィードバック、そしてこのプロジェクトの改善へのご協力を歓迎します。
概要(AI 翻訳)
シンプルで構成可能なパターンを用いて、Model Context Protocolで効果的なエージェントを構築しましょう。
例 | 効果的なエージェントの構築 | MCP
概要
mcp-agent は、モデルコンテキストプロトコルを用いて効果的なエージェントを構築するためのシンプルでコンポーザブルなフレームワークです。
[!注] mcp-agent>ビジョンは、エージェントを構築するには_MCPだけで十分であり、シンプルなパターンの方が複雑なアーキテクチャよりも高品質なagents_を送る際には堅牢であるということです。
mcp-agentは以下の通りです:
- 完全なMCPサポート:完全にMCPを実装し、MCPサーバー接続のライフサイクル管理という面倒な業務を処理しているので、あなたがそうしなくて済みます。
- 効果的なエージェントパターン:Anthropicの「効果的なエージェント構築」で説明されたすべてのパターンを_composable_方法で実装し、これらのパターンを連結させることを可能にします。
- 耐久エージェント:シンプルなエージェントに対応し、Temporalsを基盤とした高度なワークフローにスケールできるため、エージェントのAPI変更なしで一時停止、再開、復旧が可能です。
総じて、これは堅牢なエージェントアプリケーションを構築する最も簡単で簡単な方法です。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Build effective agents with Model Context Protocol using simple, composable patterns.
Examples | Building Effective Agents | MCP
Overview
mcp-agent is a simple, composable framework to build effective agents using Model Context Protocol.
[!Note] mcp-agent’s vision is that MCP is all you need to build agents, and that simple patterns are more robust than complex architectures for shipping high-quality agents.
mcp-agent gives you the following:
- Full MCP support: It fully implements MCP, and handles the pesky business of managing the lifecycle of MCP server connections so you don’t have to.
- Effective agent patterns: It implements every pattern described in Anthropic’s Building Effective Agents in a composable way, allowing you to chain these patterns together.
- Durable agents: It works for simple agents and scales to sophisticated workflows built on Temporal so you can pause, resume, and recover without any API changes to your agent.
Altogether, this is the simplest and easiest way to build robust agent applications.
We welcome all kinds of contributions, feedback and your help in improving this project.
Minimal example
import asyncio
from mcp_agent.app import MCPApp
インストール
uvx mcp-agent` scaffolds projects, manages secrets, inspects workflows, and deploys to Cloud.