nanobot
Your lightweight open-source personal agent.
Source#
- Repository: HKUDS/nanobot
- Last source update: 2026-11-01
- Last verified: 2026-11-01
Tags#
Integration notes#
Repository is focused on tool/server interoperability; wrap in bounded worker contracts for production use.
worker.md example#
Starter worker.md contract mapped from this registry entry. Copy this file and adapt schemas, constraints, and statuses for your task.
---
id: nanobot-repo-derived-worker
name: nanobot Repo-Derived Worker
version: 1.0.0
source_registry_url: https://worker.md/registry/nanobot/
source_repository: https://github.com/HKUDS/nanobot
repository_default_branch: main
repository_language: Python
repository_license: MIT
repository_updated_at: 2026-11-01
worker_mode: agent-orchestration-worker
derivation_method: github_repository_metadata_plus_raw_readme
derivation_confidence: 0.95
derived_on: 2026-11-01
tags:
- agent-framework
- ai-agent
- ai-agents
- chatbot
- chatops
- discord-bot
---
# nanobot Repo-Derived Worker
## Repo-derived summary
- Registry summary: Your lightweight open-source personal agent.
- Repository description: Your lightweight open-source personal agent.
- Stars (snapshot): 49,719
- Primary language: Python
- Worker mode classification: agent-orchestration-worker
## Extracted from
- https://github.com/HKUDS/nanobot
- https://github.com/HKUDS/nanobot/blob/main/README.md
- https://nanobot.wiki/docs/latest/getting-started/nanobot-overview
- https://github.com/HKUDS/nanobot/releases/tag/v0.4.0
- https://github.com/HKUDS/nanobot/releases
## Evidence notes (from repository text)
- README summary paragraph: English | 简体中文 | 繁體中文 | Español | Français | Bahasa Indonesia | 日本語 | 한국어 | Русский | Tiếng Việt Discord · X · WeChat 微信交流群 · Feishu
- | Connect Telegram, Discord, WeChat, Slack, Email, Mattermost, Linear, or another channel | [Chat app guide](./docs/guides/chat-app-ai-agent.md) |
- | Configure providers, fallback models, Langfuse, MCP, web tools, or security | [Docs](./docs/README.md) and [Configuration](./docs/configuration.md) |
- | Integrate from Python or HTTP | [Python SDK](./docs/python-sdk.md) or [Agent API](./docs/openai-api.md) |
- - read PDF, Word (`.docx`), Excel (`.xlsx`), and PowerPoint (`.pptx`) files with built-in file tools, for tasks such as summarizing reports
- - use shell, web search/fetch, MCP integrations, cron, image generation, and multi-agent delegation
## Installation hints found in README
- `pip install nanobot-ai`
- `pip install -U nanobot-ai`.`
- `pip install -e .`
- `pip install -e .` when Python dependencies change, then restart the instance. Contributors should also read [`CONTRIBUTING.md`](./CONTRIBUTING.md).`
## worker.md contract (derived starter)
Purpose: Execute one orchestrated agent task as a bounded worker step.
### Input schema
```json
{
"type": "object",
"additionalProperties": false,
"required": [
"run_id",
"task",
"context"
],
"properties": {
"run_id": {
"type": "string"
},
"task": {
"type": "string"
},
"context": {
"type": "object"
}
}
}
```
### Output schema
```json
{
"type": "object",
"additionalProperties": false,
"required": [
"run_id",
"status",
"result"
],
"properties": {
"run_id": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"ok",
"retryable_error",
"invalid_request",
"invalid_output"
]
},
"result": {
"type": "object"
}
}
}
```
### Constraints
- timeout_seconds: 30
- max_attempts: 2
- idempotency_key: run_id
- status_enum: [ok, retryable_error, invalid_request, invalid_output]
- notes: adapt to concrete APIs/classes documented in this repository before production use
## How this should be used
1. Treat this file as a repo-derived starter profile, not a claim of an official repository API contract.
2. Replace schemas with exact interfaces from code/docs you adopt.
3. Keep execution bounded and auditable using worker protocol constraints.
How to use#
- Save this as a worker spec file (for example:
nanobot-my-task.worker.md). - Replace the input/output schemas and purpose with your real bounded task.
- Enforce schema validation + timeout + retry policy in your runtime before production use.
Citation#
Reference URL: https://worker.md/registry/nanobot/
Source URL: https://github.com/HKUDS/nanobot