> ## Documentation Index
> Fetch the complete documentation index at: https://platform.kimi.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Learn how Kimi Hosted Agents works, including its managed runtime, core capabilities, official skills and plugins, enterprise security controls, and official agent design guides.

**Kimi Hosted Agents** provides the agent runtime harness as a cloud service (Harness as a Service). Teams and developers get a 24/7 managed runtime for long-horizon tasks and multi-agent collaboration without building or maintaining the underlying execution framework.

You can configure agents for your business workflows to build two primary types of applications:

1. **Internal operations**: Integrate with your organization's systems for business monitoring, research and analysis, and incident response.
2. **Customer-facing products**: Embed agent services directly into your products, such as in-app investment research assistants or in-game strategy advisors.

To keep agent execution secure and controllable, Kimi Hosted Agents provides isolated sandboxes and network access controls so you can define operational boundaries and stop sessions whenever needed. Every step of execution is recorded and available for audit export, while transparent billing rules and usage reports give teams clear visibility into resource consumption and costs across agent projects.

**Pricing**: Hosted Agents uses pay-as-you-go billing across three components: model inference tokens, sandbox runtime, and plugin request count. See [Hosted Agents Pricing](https://platform.kimi.ai/docs/pricing/hosted-agents.md) for details.

![Kimi Hosted Agents architecture](https://mintcdn.com/moonshotai/FL7PBJefHbDvSkaP/assets/pics/hosted-agents/overview/architecture.png?fit=max\&auto=format\&n=FL7PBJefHbDvSkaP\&q=85\&s=06556ebe3adc2249804e9a97214d58c2)

## When to use Kimi Hosted Agents

Kimi API Platform currently offers two products:

| | Model Inference API | **Kimi Hosted Agents** |
| - | - | - |
| **What it is** | Direct access to model inference; see [Models](https://platform.kimi.ai/docs/models.md) | A prebuilt, configurable agent runtime hosted on Kimi API Platform infrastructure |
| **Best for** | Custom harnesses requiring fine-grained control | Long-running or asynchronous tasks without building your own sandbox and session infrastructure |

[Quickstart](https://platform.kimi.ai/docs/hosted-agents/quickstart.md)

## Skip building a custom harness and focus on your application

Teams typically spend months building a reliable runtime harness to bring an agent into production: setting up code execution environments and implementing context and session management, tool execution, permission controls, and crash recovery. After launch, maintaining that infrastructure still requires substantial engineering effort and operational cost.

Kimi Hosted Agents provides a managed harness and runtime environments so teams can define tasks, connect tools, and move from prototype to production faster. Kimi handles maintenance and upgrades for the underlying runtime, freeing your team from repetitive infrastructure work so you can iterate on product features and respond quickly to business needs.

| Capability | Self-Built Harness | Hosted Agents |
| - | - | - |
| Session history | Assemble, store, and resend the message list on every turn | The platform persists the full history as events, ready to fetch at any time |
| Tool execution | Parse tool calls, execute them, and return results yourself | Built-in tools run in a cloud sandbox managed by the platform; custom tools still run on your client |
| Sandbox | Provision and manage your own environment for commands and file I/O | The platform provides isolated cloud sandboxes, plus [Self-Hosted Environments](https://platform.kimi.ai/docs/hosted-agents/self-hosted-environments.md) for verified enterprise organizations to run sandbox tools on their own hosts |
| Crash recovery | Rebuild state yourself after crashes or disconnects | After a platform failure, execution automatically recovers and resumes from where it left off |
| Timeouts and retries | Implement retries and rate-limit backoff yourself | The platform handles execution-layer retries and scheduling |

## Accelerate development with official skills and plugins

Kimi Hosted Agents provides 140+ official skills and 30+ official plugins covering web search, specialized data queries, office document processing, and content generation. Developers can attach them on demand instead of integrating each tool from scratch. Beyond official skills and plugins, you can also configure custom skills, custom plugins, MCP servers, and custom tools to connect proprietary tools and data sources to your workflows.

![Data sources and task categories covered by official skills and plugins](https://mintcdn.com/moonshotai/FL7PBJefHbDvSkaP/assets/pics/hosted-agents/overview/official-skills-plugins.png?fit=max\&auto=format\&n=FL7PBJefHbDvSkaP\&q=85\&s=eb50d241da7a637fee7c8b7d5f9deddd)

> Additional data sources and plugins are added continuously.

## Enforce enterprise security policies with Kimi Inference Hook

Kimi Hosted Agents works with Kimi Inference Hook, a standalone security component on Kimi API Platform that connects to your in-house or third-party security services to inspect task inputs and tool outputs before every model inference call.

Your organization defines the inspection rules, and Kimi Inference Hook enforces allow-or-block decisions: only content that passes your security checks proceeds to model inference; unapproved private or sensitive data is blocked before inference.

![Kimi Inference Hook architecture](https://mintcdn.com/moonshotai/FL7PBJefHbDvSkaP/assets/pics/hosted-agents/overview/inference-hook.png?fit=max\&auto=format\&n=FL7PBJefHbDvSkaP\&q=85\&s=70a4fb474eb5c62d924eb5c984a86488)

> [!NOTE]
>
> Kimi Inference Hook is currently available by invitation to verified enterprise organizations. To request access, [contact Kimi Sales](https://www.kimi.ai/contact-sales).

## Run sandbox tools on your own hosts

[Self-Hosted Environments](https://platform.kimi.ai/docs/hosted-agents/self-hosted-environments.md) run sandbox tools on hosts you manage, while model inference, agent orchestration, and session management remain hosted on the platform. Bind a self-hosted environment to a session whenever an agent needs access to internal network services or must process code, files, and network traffic inside your own infrastructure.

> [!NOTE]
>
> Self-hosted environments are available to enterprise organizations once verification is complete.

## Official agent templates and best practices

Official agent design guides show how production-ready agents are built on Kimi Hosted Agents, covering architecture, core configuration, and how to start from a minimal working setup. Copy an official agent into your project, connect your internal systems and private data sources, and adapt the workflow to your business needs.

> [card] [PPT Generation](https://platform.kimi.ai/docs/hosted-agents/official-ppt-agent.md)
>
> Combine a model, system prompt, skills, and plugins to generate natively editable PPTX decks.

> [card] [Financial Investment Analysis](https://platform.kimi.ai/docs/hosted-agents/official-investment-research-agent.md)
>
> Coordinate a routing agent and 13 specialized subagents to produce traceable investment research.

## Next steps

> [card] [Run your first task](https://platform.kimi.ai/docs/hosted-agents/quickstart.md)
>
> Complete your first task using the kha CLI, the console, or the REST API.

> [card] [Configure resources in the Console](https://platform.kimi.ai/docs/hosted-agents/console.md)
>
> Configure resources, monitor runs, and inspect artifacts in your browser.

> [card] [Manage agents with kha CLI](https://platform.kimi.ai/docs/hosted-agents/kha.md)
>
> Create agents, submit tasks, and download artifacts in natural language from an AI coding assistant.
