# nanobot | ✨Data Intelligence Lab@HKU✨ | Knowledge Base | Instagit

Lightweight, open-source AI agent for your tools, chats, and workflows.

GitHub Stars: 46.1k

Repository: https://github.com/HKUDS/nanobot

---

## Articles

### [How to Extend Nanobot Providers: A Complete Guide to Adding Custom LLM Backends](/HKUDS/nanobot/how-to-extend-nanobot-providers)

Learn how to extend Nanobot providers by subclassing LLMProvider, registering a ProviderSpec, and wiring the backend.  A complete guide to adding custom LLM backends.

- Tags: how-to-guide
- Published: 2026-07-22

### [Best Practices for nanobot Config: Secure Setup and Optimization Guide](/HKUDS/nanobot/best-practices-for-nanobot-config)

Master nanobot config best practices. Secure your setup using environment variables restricted workspaces and named model presets for optimized HKUDS/nanobot performance.

- Tags: best-practices
- Published: 2026-07-22

### [Nanobot Dynamic Configuration Loading: Runtime Config Management Explained](/HKUDS/nanobot/nanobot-dynamic-configuration-loading)

Explore Nanobot dynamic configuration loading for runtime config management. Learn how Pydantic, env vars, and file watchers enable real-time updates without agent restarts.

- Tags: deep-dive
- Published: 2026-07-22

### [Customizing Nanobot Behavior with Config: A Complete Guide to the Configuration System](/HKUDS/nanobot/customizing-nanobot-behavior-with-config)

Master customizing nanobot behavior with its powerful config system. Learn to modify settings, enable live reloading, and optimize your nanobot efficiently. Get the complete guide.

- Tags: how-to-guide
- Published: 2026-07-22

### [Advanced Nanobot Provider Features: Multi-LLM Architecture and Fallback Strategies](/HKUDS/nanobot/advanced-nanobot-provider-features)

Explore advanced nanobot provider features including multi-LLM architecture and fallback strategies. Integrate dynamic provider registration OAuth and custom endpoints seamlessly.

- Tags: deep-dive
- Published: 2026-07-22

### [Nanobot Config File Location: Default Path and Customization Guide](/HKUDS/nanobot/nanobot-config-file-location)

Find your Nanobot config file at the default path ~/.nanobot/config.json. Learn how to customize its location programmatically for flexible management.

- Tags: how-to-guide
- Published: 2026-07-22

### [Integrating nanobot with External Services: A Complete Guide to Custom Channels, Providers, and Tools](/HKUDS/nanobot/integrating-nanobot-with-external-services)

Integrate nanobot with external services by building custom channels providers and tools Explore this guide to seamlessly connect your existing platforms and LLMs to the nanobot framework

- Tags: how-to-guide
- Published: 2026-07-22

### [Nanobot Config Schema Versioning: How HKUDS/nanobot Manages Configuration Evolution](/HKUDS/nanobot/nanobot-config-schema-versioning)

Learn how Nanobot config schema versioning automatically migrates fields and validates deprecated names using Pydantic. Discover hassle-free configuration evolution with HKUDS/nanobot.

- Tags: internals
- Published: 2026-07-22

### [Validating Nanobot Config Against Schema: A Developer's Guide](/HKUDS/nanobot/validating-nanobot-config-against-schema)

Learn to validate nanobot config against schema using Pydantic. Catch configuration errors early with detailed validation alerts before your application begins.

- Tags: how-to-guide
- Published: 2026-07-22

### [Understanding the Nanobot Config File Format: A Complete Guide to Pydantic-Based Configuration](/HKUDS/nanobot/understanding-nanobot-config-file-format)

Master the nanobot config file format with this guide. Learn how Pydantic models handle agents, providers, channels, and tools, with environment variable support and validation.

- Tags: tutorial
- Published: 2026-07-22

### [Nanobot Provider Configuration Options: Complete Guide to LLM Settings](/HKUDS/nanobot/nanobot-provider-configuration-options)

Explore Nanobot provider configuration options for LLM settings. This guide covers authentication, endpoint, and behavior parameters defined in the Pydantic schema.

- Tags: how-to-guide
- Published: 2026-07-22

### [Nanobot Config Schema: A Complete Guide to the Pydantic-Based Configuration System](/HKUDS/nanobot/what-is-the-nanobot-config-schema)

Explore the nanobot config schema a Pydantic-based system for type-safe configurations and environment variable overrides. Learn how it supports dynamic LLM provider registration.

- Tags: api-reference
- Published: 2026-07-22

