Skills2026年5月15日·1 分钟阅读

Nanobot — Ultra-Lightweight Personal AI Agent

A minimal yet capable personal AI agent that runs locally with low resource requirements, supporting tool use, memory, and multi-model backends.

Agent 就绪

这个资产可以被 Agent 直接读取和安装

TokRepo 同时提供通用 CLI 命令、安装契约、metadata JSON、按适配器生成的安装计划和原始内容链接,方便 Agent 判断适配度、风险和下一步动作。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Nanobot Overview
通用 CLI 安装命令
npx tokrepo install 24fa435b-5079-11f1-9bc6-00163e2b0d79

Introduction

Nanobot is an ultra-lightweight AI agent designed to run on personal hardware with minimal resource consumption. It provides a capable agentic loop with tool use, persistent memory, and multi-provider model support while keeping the codebase small and dependency footprint low.

What Nanobot Does

  • Executes multi-step tasks using a lightweight agentic reasoning loop
  • Connects to local models via Ollama or remote APIs like OpenAI and Anthropic
  • Maintains persistent conversation memory across sessions
  • Supports tool calling for file operations, web search, and shell commands
  • Runs on consumer hardware including laptops without dedicated GPUs

Architecture Overview

Nanobot is built as a single Python package with a minimal core loop that alternates between LLM reasoning and tool execution. The agent state machine handles planning, action selection, observation, and reflection in a tight cycle. Memory is stored in a local SQLite database with optional vector indexing for semantic retrieval of past interactions.

Self-Hosting & Configuration

  • Install via pip with Python 3.10 or later
  • Set API keys as environment variables or use local Ollama models
  • Configure tool permissions in the YAML settings file
  • Memory persistence uses SQLite by default, no external database required
  • Customize agent behavior through system prompt templates

Key Features

  • Extremely small footprint under 5 MB installed size
  • Agentic loop with automatic tool selection and error recovery
  • Persistent memory with semantic search over past conversations
  • Plugin system for adding custom tools and integrations
  • Works with both local and cloud-hosted language models

Comparison with Similar Tools

  • OpenClaw — full-featured personal assistant; Nanobot prioritizes minimal resource use
  • Aider — focused on code editing; Nanobot is a general-purpose agent
  • AutoGPT — autonomous agent with heavy dependencies; Nanobot is lightweight and focused
  • Hermes Agent — agent that grows with use; Nanobot targets simplicity and speed

FAQ

Q: How much RAM does Nanobot need? A: The agent itself uses under 100 MB. Total memory depends on the model backend you choose.

Q: Can I use it without an API key? A: Yes, point it at a local Ollama instance and no external API is needed.

Q: Is conversation history persistent? A: Yes, all conversations are stored locally in SQLite and can be searched semantically.

Q: Does it support MCP servers? A: Plugin support allows connecting to MCP-compatible tool servers.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产