> ## 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.

# FAQ

> Frequently asked questions about Kimi Hosted Agents: resource concepts, versioning and concurrency, session execution and recovery, files and memory stores, and console operations.

> [accordion] What is the difference between official agents and custom agents?
>
> Official agents are prebuilt and maintained by the platform; all users can read them and reference their `agent_id` directly to create sessions, but cannot update or archive them. Custom agents are created by you via the API or console, are visible only within your project, and can be updated and archived. When you need customization, create your own custom agent based on an official agent's configuration; see [Create and Manage Agents](https://platform.kimi.ai/docs/hosted-agents/agents.md).

> [accordion] What is the difference between skills and plugins?
>
> A skill is a file-based reusable capability package—a `SKILL.md` file plus supporting resource files that instruct the model how to perform a class of tasks. A plugin is a reusable bundle of capabilities—either a platform-maintained official plugin or a project-built custom plugin—that can bundle MCP servers and skills, giving an agent prepackaged tool connections and skills from a single reference. See [Skills](https://platform.kimi.ai/docs/hosted-agents/skills.md) and [Plugins](https://platform.kimi.ai/docs/hosted-agents/plugins.md).

> [accordion] What is the difference between memory stores and session files?
>
> A memory store is a project-level collection of persistent files that can be mounted across different sessions for repeated reads and writes while retaining version history. Session files belong to a single session and hold inputs and outputs for one task. Store information that needs to persist across sessions in a memory store (see [Memory](https://platform.kimi.ai/docs/hosted-agents/memory.md)); to retrieve files produced by a task, see [Files](https://platform.kimi.ai/docs/hosted-agents/files.md).

> [accordion] Does updating an agent affect running sessions?
>
> No. A session freezes the agent version at creation time and continues using that version even if interrupted and resumed. Updating an agent affects only sessions created afterward.

> [accordion] What does a 409 response mean when updating an agent?
>
> The `version` sent in the update request does not match the agent's current version, meaning another operation modified the agent after you read it. Call `GET /v1/agents/{id}` again to fetch the latest `version`, review the configuration, and retry. Omitting `version` skips optimistic concurrency checking; see [Create and Manage Agents](https://platform.kimi.ai/docs/hosted-agents/agents.md).

> [accordion] Why is my agent still using an older plugin version after the platform upgraded the plugin?
>
> When an agent uses an official plugin or specifies an exact version of a custom plugin, the platform pins the active plugin version in the agent's immutable version when it is saved; subsequent plugin upgrades do not affect saved agent versions. To adopt the new plugin version, update the agent to generate a new agent version. If a custom plugin reference specifies `latest`, its version is re-resolved on each wakeup instead; see [Plugins](https://platform.kimi.ai/docs/hosted-agents/plugins.md).

> [accordion] Do I need to rerun a task if the event stream disconnects?
>
> No. Re-subscribe with the `id:` value from the last SSE frame received before disconnection (the resume cursor, not the event ID) as `cursor`—or send it via the `Last-Event-ID` request header—to resume reading from the disconnect point. The task itself keeps running on the server; see [Event Stream](https://platform.kimi.ai/docs/hosted-agents/event-stream.md).

> [accordion] Are model requests automatically retried after returning 429?
>
> Yes. When a model request encounters rate limiting, a service error, or a timeout, the platform automatically retries at most 20 times, waiting 0.5s, 1s, 2s, and 4s on the first four retries, and a fixed 5s before each subsequent retry. Once model requests and follow-up execution across all threads in the session finish, the session enters `idle` status and stops accruing sandbox billing duration.

> [accordion] What should I do if creating a session fails because the environment is not ready?
>
> An execution environment's sandbox image builds asynchronously after creation. If you receive an environment-not-ready error, wait for the environment status to reach `ready` and retry the original request rather than creating duplicate environments. See [Execution Environments](https://platform.kimi.ai/docs/hosted-agents/environments.md).

> [accordion] What is the difference between canceling, archiving, and deleting a session?
>
> Canceling (sending a `user.interrupt` event to `POST /v1/sessions/{id}/events`) stops only the current turn; the session returns to `idle` and can still accept further input. Archiving (`POST /v1/sessions/{id}/archive`) puts the session into a read-only terminal state where no further input can be sent, and is irreversible. Deleting (`DELETE /v1/sessions/{id}`) permanently removes the session; only archived sessions can be deleted. See [Manage Sessions](https://platform.kimi.ai/docs/hosted-agents/session-operations.md).

> [accordion] How do I retrieve files produced by an agent?
>
> First call `GET /v1/sessions/{session_id}/filesystem` to list session files (using `prefix` to browse directories level by level), then pass the file entry's `path` to `GET /v1/sessions/{session_id}/filesystem/raw` to download it. See [Files](https://platform.kimi.ai/docs/hosted-agents/files.md).

> [accordion] What are the limits on uploading files?
>
> Refer to [Files](https://platform.kimi.ai/docs/hosted-agents/files.md) for current upload limits. After uploading a file, confirm that `extract_status` is `ready` before referencing the file in a session.

> [accordion] How do I create, view, and mount memory stores in the console?
>
> On the **Memory** page in the left sidebar of the console, click **New memory store** to create a memory store and write its first memory file in a single step; open its detail page to edit the name and description, duplicate or archive the memory store, configure Dreams, and manage memory files. When creating a session, select one or more memory stores in the **Memory Stores** section and set read-only or read-write permissions along with store-specific instructions for each. You can also perform all of these operations via the API; see [Using the Console](https://platform.kimi.ai/docs/hosted-agents/console.md#memory) and [Memory](https://platform.kimi.ai/docs/hosted-agents/memory.md).
