# HKUDS/nanobot

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/hkuds-nanobot).**

21,923 stars · 3,366 forks · Python · mit

## Links

- GitHub: https://github.com/HKUDS/nanobot
- awesome-repositories: https://awesome-repositories.com/repository/hkuds-nanobot.md

## Description

Nanobot is an orchestration framework designed for building, deploying, and managing autonomous AI agents. It provides a secure runtime environment that supports persistent memory, multi-step workflow management, and tool integration, allowing agents to maintain context and state across long-running tasks.

The platform distinguishes itself through a unified model gateway that normalizes requests across diverse local and remote language models, alongside a multi-channel integration layer that connects agents to various messaging platforms. It enforces security through containerized sandboxing and network policies, ensuring that agent execution remains isolated and controlled.

The system includes comprehensive infrastructure for monitoring agent performance through internal tracing pipelines and managing background tasks via an event-driven job queue. It also provides standardized endpoints compatible with common model request formats, enabling interoperability with external applications and development kits.

## Tags

### Artificial Intelligence & ML

- [Agent Runtimes](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-runtimes.md) — Provides a secure, containerized runtime environment for executing and managing autonomous AI agents.
- [AI Agent Orchestration Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-agent-orchestration-frameworks.md) — Orchestrates autonomous agent loops and multi-step workflows with persistent memory and tool access.
- [Autonomous Agent Orchestration](https://awesome-repositories.com/f/artificial-intelligence-ml/autonomous-agent-orchestration.md) — Orchestrates autonomous AI agents with persistent memory and multi-step workflow management capabilities.
- [OpenAI-Compatible APIs](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/model-integration-serving/model-integration-interfaces/ai-integration-apis/openai-compatible-apis.md) — Exposes universal endpoints compatible with standard model request formats for external application interoperability. ([source](https://github.com/HKUDS/nanobot/tree/main/docs/))
- [Model API Gateways](https://awesome-repositories.com/f/artificial-intelligence-ml/model-api-gateways.md) — Exposes standardized API endpoints that normalize interactions with diverse local and remote language models.
- [Model Gateways](https://awesome-repositories.com/f/artificial-intelligence-ml/model-gateways.md) — Normalizes requests across diverse local and remote language models through a unified gateway interface.
- [Stateful Agent Orchestration](https://awesome-repositories.com/f/artificial-intelligence-ml/stateful-agent-orchestration.md) — Maintains long-running agent memory and goal-oriented context across multi-step tasks.
- [Agent Memory Stores](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-memory-stores.md) — Stores and versions session history to allow agents to recall information across multiple user interactions. ([source](https://github.com/HKUDS/nanobot/tree/main/docs/))
- [Model Orchestration and Management](https://awesome-repositories.com/f/artificial-intelligence-ml/artificial-intelligence-tooling/language-model-integrations/model-orchestration-management.md) — Manages model request lifecycles and automated fallbacks across local and remote language model services. ([source](https://cdn.jsdelivr.net/gh/HKUDS/nanobot@main/README.md))
- [Model Abstractions](https://awesome-repositories.com/f/artificial-intelligence-ml/model-abstractions.md) — Normalizes requests across diverse language models to provide a consistent interface for text and image generation.
- [Workflow State Persistences](https://awesome-repositories.com/f/artificial-intelligence-ml/workflow-state-persistences.md) — Persists agent state, memory, and chat context to ensure continuity across complex multi-step tasks. ([source](https://cdn.jsdelivr.net/gh/HKUDS/nanobot@main/README.md))
- [External Tool Integration](https://awesome-repositories.com/f/artificial-intelligence-ml/external-tool-integration.md) — Enables agents to interact with external APIs and tools to expand their functional capabilities. ([source](https://github.com/HKUDS/nanobot/tree/main/docs/))

### Development Tools & Productivity

- [Agent Sandboxes](https://awesome-repositories.com/f/development-tools-productivity/agent-sandboxes.md) — Provides isolated, containerized environments for secure agent execution and tool access.

### Networking & Communication

- [Messaging Platform Integrations](https://awesome-repositories.com/f/networking-communication/messaging-platform-integrations.md) — Connects AI agents to various messaging platforms for seamless cross-platform user interaction.
- [Messaging Adapters](https://awesome-repositories.com/f/networking-communication/messaging-adapters.md) — Standardizes communication flows by bridging disparate messaging platforms to an internal message bus.

### Operating Systems & Systems Programming

- [Multi-Instance Process Isolations](https://awesome-repositories.com/f/operating-systems-systems-programming/kernel-core-internals/process-and-memory-management/multi-instance-process-isolations.md) — Runs multiple independent agent instances with isolated configurations and network ports on a single host. ([source](https://github.com/HKUDS/nanobot/tree/main/docs/))

### Security & Cryptography

- [Agent Sandboxing Policies](https://awesome-repositories.com/f/security-cryptography/network-access-control/agent-sandboxing-policies.md) — Enforces security through containerized sandboxing and network policies to ensure isolated agent execution. ([source](https://github.com/HKUDS/nanobot/tree/main/docs/))

### System Administration & Monitoring

- [Event-Driven Background Processors](https://awesome-repositories.com/f/system-administration-monitoring/event-driven-background-processors.md) — Manages system maintenance and agent behavior through an asynchronous, event-driven job queue.
- [Agent Performance Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/agent-performance-monitoring.md) — Tracks agent execution and internal logic flows through integrated tracing pipelines for performance visibility. ([source](https://github.com/HKUDS/nanobot/tree/main/docs/))
- [Background Job Schedulers](https://awesome-repositories.com/f/system-administration-monitoring/background-job-schedulers.md) — Automates periodic maintenance and agent behavior management through scheduled background tasks.

### DevOps & Infrastructure

- [Task Schedulers](https://awesome-repositories.com/f/devops-infrastructure/automation-orchestration/task-execution-frameworks/task-job-management/task-schedulers.md) — Executes scheduled background jobs to manage agent behavior and periodic system maintenance. ([source](https://github.com/HKUDS/nanobot/tree/main/docs/))

### Software Engineering & Architecture

- [Middleware Pipelines](https://awesome-repositories.com/f/software-engineering-architecture/middleware-pipelines.md) — Intercepts internal logic flows to provide real-time visibility into agent decision-making and system performance.

### Web Development

- [Web Application Hosting](https://awesome-repositories.com/f/web-development/web-application-hosting.md) — Serves a built-in web dashboard directly from the runtime for monitoring agent activity. ([source](https://cdn.jsdelivr.net/gh/HKUDS/nanobot@main/README.md))
