DN

disler/nano-agent

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

205 stars 56 forks 品質 51 トレンド 0

disler/nano-agentは、https://github.com/disler/nano-agent.からインポートされたMCPサーバー候補です。

概要

disler/nano-agentは、https://github.com/disler/nano-agent.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

ここでGPT-5とClaude Codeをナノエージェントで使った様子を見ました。

何? 実験的で小規模なエンジニアリングエージェント向けのMCPサーバーで、マルチプロバイダーのLLMサポート付きです。

なぜ? クラウドおよびローカルLLMの性能、速度、コストの面でのエージェントティック能力をテスト・比較するためです。

「もはや単一のプロンプトコールが重要なのではありません。エージェントが複数のツールをうまく連携させ、あなたのために実際のエンジニアリング成果を達成するかどうかが重要です。」- 私たちの評価より

🎬 実際に見てみよう

マルチモデル評価フロー - 同じM4 Max上で並列に動作する9つのモデル(GPT-5、Claude Opus、ローカルGPT-OSS)をご覧ください:

モデル比較:GPT-5とローカルモデル - 驚くべき結果:デバイス上で動作するGPT-OSS 20B/120Bが0.00ドルで動作:

🔥 私たちのテストの主な発見

  • 意外な勝者:GPT-5 Nano/Miniは速度とコストを考慮すると、大型モデルをしばしば上回る性能を発揮します
  • ローカル革命:GPT-OSS 20B/120BモデルがM4 Max(128GB RAM)上で実際のエージェントコーディング作業を完成
  • コスト現実チェック:Claude Opus 4.1は非常に高価です - 性能がすべてではありません

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Nano Agent

Watched how we used GPT-5 and Claude Code with nano-agents here.

What? A MCP Server for experimental, small scale engineering agents with multi-provider LLM support.

Why? To test and compare Agentic Capabilities of Cloud and Local LLMs across Performance, Speed, and Cost.

“It’s not about a single prompt call anymore. It’s about how well your agent chains together multiple tools to accomplish real engineering results on your behalf.” - From our evaluation

🎬 See It In Action

Multi-Model Evaluation Flow - Watch 9 models (GPT-5, Claude Opus, Local GPT-OSS) running in parallel on the same M4 Max:

Model Comparison: GPT-5 vs Local Models - Surprising results: GPT-OSS 20B/120B running on-device with $0.00 cost:

🔥 Key Findings from Our Testing

  • Surprising Winners: GPT-5 Nano/Mini often outperform larger models when factoring in speed and cost
  • Local Revolution: GPT-OSS 20B/120B models complete real agentic coding tasks on M4 Max (128GB RAM)
  • Cost Reality Check: Claude Opus 4.1 is extraordinarily expensive - performance isn’t everything
  • The Trade-off Triangle: Performance vs Speed vs Cost - you don’t always need the most expensive model

Installation

  • Install Astral UV
  • Setup Claude Code
  • Setup Ollama
  • Get your OpenAI API key and Anthropic API key
  • Setup dotenv
    • cp ./.env.sample ./.env and fill out variables
    • cp ./apps/nano_agent_mcp_server/.env.sample ./apps/nano_agent_mcp_server/.env and fill out variables
  • Clone the repository
    • git clone https://github.com/disler/nano-agent
  • Global Install nano-agent to expose it for Claude Code (any mcp client)
    • cd nano-agent/apps/nano_agent_mcp_server
    • ./scripts/install.sh
    • uv tool install -e .
  • cp .mcp.json.sample to .mcp.json to use nano-agent
  • You should end up with a .mcp.json file that looks like this:
{
  "mcpServers": {
    "nano-agent": {
      "command": "nano-agent",
      "args": []
    }
  }
}
  • You can also test without installing nano-agent globally by running it this directory with
{
  "mcpServers": {
    "nano-agent": {
      "command": "uv",
      "args": ["--directory", "apps/nano_agent_mcp_server", "run", "nano-agent"]
    }
  }
}

Now you can follow the Nano Agent Interaction section below to test out the nano agent.

Nano Agent Interaction

There are three ways to interact with the nano agent.

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "nano-agent": { "command": "nano-agent", "args": [] } } }