DN

disler/nano-agent

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

205 stars 56 forks Качество 51 Тренд 0

disler/nano-agent — это кандидат на MCP-сервер, импортированный из https://github.com/disler/nano-agent.

Обзор

disler/nano-agent — это кандидат на MCP-сервер, импортированный из https://github.com/disler/nano-agent.

Обзор (машинный перевод)

Смотрел, как мы использовали GPT-5 и код Клода с наноагентами здесь.

Что? Сервер MCP для экспериментальных небольших инженерных агентов с поддержкой многофункциональных LLM.

Почему? Для тестирования и сравнения агентных возможностей облачных и локальных LLM по производительности, скорости и стоимости.

«Дело уже не в одном звонке по запросу. Дело в том, насколько хорошо ваш агент объединяет несколько инструментов для достижения реальных инженерных результатов от вашего имени.» — Из нашей оценки

🎬 Увидеть это в действии

Поток многомодельной оценки — Модели Watch 9 (GPT-5, Claude Opus, Local GPT-OSS), работающие параллельно на том же M4 Max:

Сравнение моделей: GPT-5 против локальных моделей - Неожиданные результаты: GPT-OSS 20B/120B работает на устройстве с стоимостью $0.00:

🔥 Ключевые результаты наших тестов

  • Неожиданные победители: GPT-5 Nano/Mini часто превосходят более крупные модели с учётом скорости и стоимости
  • Local Revolution: модели GPT-OSS 20B/120B выполняют реальные задачи агентного кодирования на M4 Max (128 ГБ оперативной памяти)
  • Проверка реальности стоимости: Claude Opus 4.1 чрезвычайно дорогой — производительность — не всё

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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.

Открыть полный README на GitHub

Установка

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": [] } } }