/ 디렉터리 / 플레이그라운드 / Nanobot
● 커뮤니티 HKUDS ⚡ 바로 사용

Nanobot

제작: HKUDS · HKUDS/nanobot

If FastMCP and Upsonic feel heavy: Nanobot is a few hundred lines of Python that gives you a working personal agent with MCP support.

Nanobot is an academic-style minimal agent framework. Strips most abstraction; you bring tools and an LLM, it gives you the loop. Use it when you want a teachable, hackable baseline for an MCP-aware agent.

왜 쓰나요

핵심 기능

라이브 데모

실제 사용 모습

준비됨

설치

클라이언트 선택

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "nanobot-mcp": {
      "command": "uvx",
      "args": [
        "nanobot",
        "serve",
        "--mcp"
      ]
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config 열기. 저장 후 앱 재시작.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "nanobot-mcp": {
      "command": "uvx",
      "args": [
        "nanobot",
        "serve",
        "--mcp"
      ]
    }
  }
}

Cursor는 Claude Desktop과 동일한 mcpServers 스키마 사용. 프로젝트 설정이 전역보다 우선.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "nanobot-mcp": {
      "command": "uvx",
      "args": [
        "nanobot",
        "serve",
        "--mcp"
      ]
    }
  }
}

Cline 사이드바의 MCP Servers 아이콘 클릭 후 "Edit Configuration" 선택.

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "nanobot-mcp": {
      "command": "uvx",
      "args": [
        "nanobot",
        "serve",
        "--mcp"
      ]
    }
  }
}

Claude Desktop과 같은 형식. Windsurf 재시작 후 적용.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "nanobot-mcp",
      "command": "uvx",
      "args": [
        "nanobot",
        "serve",
        "--mcp"
      ]
    }
  ]
}

Continue는 맵이 아닌 서버 오브젝트 배열 사용.

~/.config/zed/settings.json
{
  "context_servers": {
    "nanobot-mcp": {
      "command": {
        "path": "uvx",
        "args": [
          "nanobot",
          "serve",
          "--mcp"
        ]
      }
    }
  }
}

context_servers에 추가. 저장 시 Zed가 핫 리로드.

claude mcp add nanobot-mcp -- uvx nanobot serve --mcp

한 줄 명령. claude mcp list로 확인, claude mcp remove로 제거.

사용 사례

실전 활용법: Nanobot

Learn the agent loop by reading the source

👤 Developers ⏱ ~15 min intermediate

언제 쓸까: You want to understand what FastMCP / Upsonic do under the hood.

흐름
  1. Read
    Open the main module — single-file core.✓ 복사됨
    → Mental model
  2. Run
    Start the bot; call its MCP tools from Claude.✓ 복사됨
    → Works
  3. Modify
    Add a tool or change the planner.✓ 복사됨
    → Fork ready

결과: Working hackable baseline for your own agent.

조합

다른 MCP와 조합해 10배 효율

nanobot-mcp + fastmcp-prefect

Prototype with Nanobot; harden with FastMCP for production

Combine nanobot-mcp with fastmcp-prefect: Prototype with Nanobot; harden with FastMCP for production✓ 복사됨

도구

이 MCP가 노출하는 것

도구입력언제 호출비용
run (see docs) Run a task through the nanobot loop 1 call

비용 및 제한

운영 비용

API 쿼터
Bound by LLM
호출당 토큰
Normal
금액
Free OSS
팁
Keep tool sets small — Nanobot is minimal, not magical

보안

권한, 시크릿, 파급범위

자격 증명 저장: LLM keys in env
데이터 외부 송신: Configured provider

문제 해결

자주 발생하는 오류와 해결

Planner gets stuck

Add a step budget; minimal planners need explicit halts

대안

Nanobot 다른 것과 비교

대안언제 쓰나단점/장점
FastMCPProduction serverMore framework

더 보기

리소스

📖 GitHub에서 공식 README 읽기

🐙 열린 이슈 보기

🔍 400+ MCP 서버 및 Skills 전체 보기