docs: improve readability and remove internal technical details from user docs (#6725)
* docs: improve readability and remove internal technical details from user docs * docs: expand user-doc cleanup to remote instances, deployment, providers, MCP presets, my-tool, and add concept diagrams * docs: streamline root README and SECURITY guide for readability * docs: move Why nanobot before Start Here and highlight lightweight footprint and WebUI
This commit is contained in:
1 parent
2ca8b72eea
commit
607de63fb4
20 files changed
+1002
-2426
No files matched your search
+27
-29
@@ -1,50 +1,47 @@
|
||||
# nanobot Documentation
|
||||
|
||||
Use these docs to get a working agent first. After the first reply, describe your next goal to nanobot or choose a task guide to read yourself. Source-level design and extension details are kept in the contributor section.
|
||||
Get nanobot running and answering your first message first. Once that works, you can ask nanobot to help you set up the next feature or follow a guide below.
|
||||
|
||||
Repository docs follow the current source tree and can be newer than the latest package release. For published release docs, visit [nanobot.wiki](https://nanobot.wiki/docs/latest/getting-started/nanobot-overview).
|
||||
> [!NOTE]
|
||||
> These docs follow the latest development version. For the latest published release, visit [nanobot.wiki](https://nanobot.wiki/docs/latest/getting-started/nanobot-overview).
|
||||
|
||||
Use the graphical setup steps first when the WebUI exposes the setting. Expand **Manual configuration** for headless deployments or configuration managed as code. Settings without a graphical control keep their direct configuration instructions.
|
||||
When a setting is available in the WebUI, follow the graphical steps first. Expand **Manual configuration** when you manage `config.json` directly or run nanobot on a headless server.
|
||||
|
||||
## Start Here
|
||||
|
||||
| Your situation | Read this | You are done when... |
|
||||
| Your situation | Read this | Done when... |
|
||||
|---|---|---|
|
||||
| Terminals, Python, or API keys are new to you | [Beginner walkthrough](./start-without-technical-background.md) | The browser can send `Hello!` and receive a reply |
|
||||
| You are comfortable running commands | [Install and Quick Start](./quick-start.md) | `nanobot status` is healthy and the WebUI or CLI can get one reply |
|
||||
| nanobot will not start | [Troubleshooting: Installation Problems](./troubleshooting.md#installation-problems) | nanobot starts, or you know what to fix next |
|
||||
| The browser or chat app opens, but nanobot does not reply | [Troubleshooting: Provider and Model Problems](./troubleshooting.md#provider-and-model-problems), [WebUI Problems](./troubleshooting.md#webui-problems), or [Chat App Problems](./troubleshooting.md#chat-app-problems) | You have a working reply or a specific next step |
|
||||
| Terminals, Python, or API keys are new to you | [Start Without Technical Background](./start-without-technical-background.md) | You send `Hello!` in your browser and get a reply |
|
||||
| You are comfortable running terminal commands | [Install and Quick Start](./quick-start.md) | `nanobot status` passes and you get a reply in the WebUI or terminal |
|
||||
| nanobot will not start | [Installation Problems](./troubleshooting.md#installation-problems) | nanobot starts, or you know what to fix next |
|
||||
| nanobot opens, but does not reply | [Provider & Model](./troubleshooting.md#provider-and-model-problems), [WebUI](./troubleshooting.md#webui-problems), or [Chat Apps](./troubleshooting.md#chat-app-problems) | You get a reply or a clear next step |
|
||||
|
||||
The recommended first-run path is:
|
||||
The fastest first-run path:
|
||||
|
||||
1. Install nanobot.
|
||||
2. Let the installer open `nanobot webui` on a fresh local desktop.
|
||||
3. Configure a provider and model in **Settings → Models**.
|
||||
2. Let the installer open the WebUI in your browser.
|
||||
3. Add a provider and model in **Settings → Models**.
|
||||
4. Send `Hello!` before configuring anything else.
|
||||
|
||||
Most people do not need to edit JSON for the first run. The WebUI handles the initial provider, model, and local browser settings. SSH, headless, existing-config, and older-release installs retain `nanobot onboard --wizard` as a terminal fallback. After the WebUI opens, use **Settings** for models and built-in capabilities, **Channels** for chat apps, and **Apps** for Agent Plugins, CLI Apps, and MCP integrations.
|
||||
You do not need to edit JSON to get started. Use **Settings** for models and built-in capabilities, **Channels** for chat apps, and **Apps** for plugins, CLI apps, and MCP tools. On servers without a browser, use `nanobot onboard --wizard` instead.
|
||||
|
||||
## After the First Reply
|
||||
|
||||
When the built-in `nanobot-document` skill is available and enabled, nanobot can consult the documentation bundled with your installation as you ask about features, configuration, or errors. Describe your current setup and one goal in the same chat; see [Continue with nanobot](./quick-start.md#continue-with-nanobot) for examples and explicit skill invocation. The skill links to the task and reference pages below as needed.
|
||||
|
||||
For independent reading, choose a task guide below. Use the reference section when you need an exact field, default, command, or protocol detail.
|
||||
Once nanobot replies, you can ask it directly in chat to help configure your next feature—when the built-in `nanobot-document` skill is enabled, it reads the bundled docs for your version. See [Continue with nanobot](./quick-start.md#continue-with-nanobot) for examples, or pick a guide below.
|
||||
|
||||
## Add One Capability
|
||||
|
||||
Pick the row that matches what you want to accomplish next:
|
||||
|
||||
| Goal | Guide |
|
||||
|---|---|
|
||||
| Learn the browser workbench | [WebUI](./webui.md) |
|
||||
| Connect Telegram, Discord, Slack, Feishu, WeChat, Email, or another chat app | [Chat Apps](./chat-apps.md) |
|
||||
| Choose a hosted, OAuth, company, or local model | [Provider Cookbook](./provider-cookbook.md) |
|
||||
| Set up a hosted, OAuth, company, or local model | [Provider Cookbook](./provider-cookbook.md) |
|
||||
| Add model fallbacks | [Configure Model Fallback](./guides/configure-model-fallback.md) |
|
||||
| Enable web search | [Configure Web Search](./guides/configure-web-search.md) |
|
||||
| Manage Agent Plugins, CLI Apps, or MCP integrations | [WebUI Apps](./webui.md#apps) |
|
||||
| Add an MCP tool server | [Configure MCP Tools](./guides/configure-mcp-tools.md) |
|
||||
| Generate images | [Image Generation](./image-generation.md) |
|
||||
| Schedule work or create a local trigger | [Automations](./automations.md) |
|
||||
| Schedule recurring tasks or local triggers | [Automations](./automations.md) |
|
||||
| Understand and manage long-term memory | [Memory](./memory.md) |
|
||||
| Run nanobot continuously | [Deployment](./deployment.md) |
|
||||
| Run separate bots or workspaces | [Multiple Instances](./multiple-instances.md) |
|
||||
@@ -57,31 +54,32 @@ For shorter, outcome-focused walkthroughs, browse the [task guide index](./guide
|
||||
| Need | Read |
|
||||
|---|---|
|
||||
| Commands and flags | [CLI Reference](./cli-reference.md) |
|
||||
| Update an installation or recover an interrupted update | [Updating nanobot](./updating.md) |
|
||||
| Update nanobot or recover a failed update | [Updating nanobot](./updating.md) |
|
||||
| In-chat slash commands | [In-Chat Commands](./chat-commands.md) |
|
||||
| Config, workspace, gateway, sessions, tools, and memory in plain language | [Concepts](./concepts.md) |
|
||||
| Provider/model matching and selection | [Providers and Models](./providers.md) |
|
||||
| Setup and runtime diagnosis | [Troubleshooting](./troubleshooting.md) |
|
||||
| Plain-language overview of how nanobot works | [Concepts](./concepts.md) |
|
||||
| Provider and model matching | [Providers and Models](./providers.md) |
|
||||
| Diagnose setup or runtime problems | [Troubleshooting](./troubleshooting.md) |
|
||||
| Older development highlights | [Release Archive](./release-archive.md) |
|
||||
|
||||
## Reference
|
||||
|
||||
Use reference pages to look up an exact option after you know what you are trying to configure:
|
||||
Use these pages when you need exact config keys, defaults, or API details:
|
||||
|
||||
| Area | Reference |
|
||||
|---|---|
|
||||
| Every configuration field and default | [Configuration](./configuration.md) |
|
||||
| Configuration fields and defaults | [Configuration](./configuration.md) |
|
||||
| Provider and model behavior | [Providers and Models](./providers.md) |
|
||||
| Chat channel prerequisites and manual JSON | [Chat Apps](./chat-apps.md) |
|
||||
| WebSocket authentication and wire protocol | [WebSocket](./websocket.md) |
|
||||
| Python SDK classes, events, sessions, and hooks | [Python SDK](./python-sdk.md) |
|
||||
| Runtime self-inspection and tuning | [My Tool](./my-tool.md) |
|
||||
|
||||
Configuration examples are usually snippets to merge into `~/.nanobot/config.json`, not complete replacement files. The docs use camelCase because nanobot writes config that way. Keep real API keys, bot tokens, and passwords out of issues and public logs.
|
||||
> [!TIP]
|
||||
> JSON examples in these docs are usually snippets to merge into `~/.nanobot/config.json`, not complete files. Never share real API keys, bot tokens, or passwords in issues or logs.
|
||||
|
||||
## Extend or Contribute
|
||||
|
||||
These pages explain implementation and extension points. You do not need them to install or operate nanobot.
|
||||
You do not need these pages to install or use nanobot.
|
||||
|
||||
| Goal | Read |
|
||||
|---|---|
|
||||
@@ -89,7 +87,7 @@ These pages explain implementation and extension points. You do not need them to
|
||||
| Set up a development environment | [Development](./development.md) and [CONTRIBUTING.md](../CONTRIBUTING.md) |
|
||||
| Add a channel package | [Channel Package Guide](./channel-package-guide.md) |
|
||||
| Build the WebUI source | [WebUI Development](../webui/README.md) |
|
||||
| Change update APIs, execution or recovery | [Update protocol](./update-protocol.md) |
|
||||
| Change update APIs or execution | [Update protocol](./update-protocol.md) |
|
||||
| Prepare and publish a release | [Release checklist](./releasing.md) |
|
||||
|
||||
If a command or screen no longer matches these docs, please [open an issue](https://github.com/HKUDS/nanobot/issues) with your nanobot version, operating system, and the page that needs correction.
|
||||
If a command or screen no longer matches these docs, please [open an issue](https://github.com/HKUDS/nanobot/issues) with your nanobot version, operating system, and the page that needs updating.
|
||||
Reference in new issue
Block a user