OSS Agent

Updated at:

OSS Agent is an AI agent provided by Alibaba Cloud Object Storage Service (OSS). Through natural language, you can manage buckets, diagnose anomalies, run health checks, analyze costs, and semantically search and chat with the multimodal data—videos, images, and documents—in your buckets.

Overview

Built on the Tongyi large model, OSS Agent interprets natural language intent, automatically plans and runs multi-step API call chains, and visualizes the execution process and results in the workspace. OSS Agent provides two core capabilities:

  • Intelligent O&M: Complete O&M operations such as bucket configuration, access anomaly diagnosis, health checks, and cost analysis with natural language. Use it when you need to complete multi-step configurations quickly, troubleshoot access anomalies, or periodically assess bucket health.

  • Talk to Bucket: Powered by OSS Metaquery content awareness, search and chat with the multimodal data—videos, images, audio, and documents—in your buckets using natural language, with no need to remember file paths or build query statements. Use it to locate target files by content semantics across large volumes of unstructured data, such as tracing security surveillance footage, searching media assets, or finding enterprise documents.

All operations are managed by risk tier: low-risk read operations run directly; medium-risk write operations run only after you confirm them; high-risk operations (such as deletions and lifecycle rules) cannot yet be run directly by the agent, which instead provides console or API/SDK procedures for your reference.

Beyond chatting with OSS Agent in the console, you can connect OSS Agent to an IM bot and start a conversation anytime from your IM app (currently Lark only; DingTalk support is coming soon). You can also create scheduled tasks so that OSS Agent automatically runs read-only operations such as health checks and cost analysis on a schedule.

Prerequisites

  • You have activated OSS.

  • If you access OSS Agent as a RAM user, make sure the user has the required operation permissions on the target bucket.

Use OSS Agent

  1. Log in to the OSS console and go to the OSS Agent chat page.

  2. On your first visit, read and confirm the User Notice to enter the chat interface.

  3. Enter your request in the input box at the bottom of the home page, or select a question on the Intelligent O&M Expert, Q&A Assistant, or Talk to Multimodal Data card to get started quickly.

The OSS Agent interface consists of three areas:

  • Left sidebar: Start a new session, select a region and a bucket, and switch between the Sessions and Tasks tabs to view session history and scheduled task run records. It also provides the entry points for IM Channels, Scheduled Tasks, and Skills.

  • Chat area: Enter requests to interact with OSS Agent. The input box supports @ to temporarily reference a bucket and run operations on that bucket.

  • Workspace: A collaboration area between the agent and the console, providing common built-in tools (such as Create Bucket, Resource Plan Recommendation, and Error Code Diagnosis).

Intelligent O&M

Multi-step operations

For operations that require multiple configuration steps, OSS Agent automatically breaks your natural-language instruction into an ordered API call chain and shows the result of each step in real time. Steps that involve costs or risks are flagged before they run.

Example: Create a bucket named sample-bucket in the China (Shanghai) region, enable server-side encryption and versioning, and configure a policy that allows access only from the internal network.

The agent's execution chain: ① Create a bucket in the China (Shanghai) region → ② Enable server-side encryption (AES256) → ③ Enable versioning (Enabled) → ④ Configure a Bucket Policy to restrict access to the internal network (VPC) only.

Note

For parameter-sensitive operations (such as creating a bucket), the agent passes its recommended parameters to the native console form and displays it in the workspace for you to review and edit. The operation runs only after you confirm.

Access anomaly diagnosis

Send an inaccessible object link or an error message to OSS Agent. The agent automatically runs a multi-step diagnosis, pinpoints the root cause, and gives you actionable fix recommendations.

Example: I can't access this image. Can you tell me why? https://examplebucket.oss-cn-hangzhou.aliyuncs.com/exampleobject?x-oss-additional-headers=host&x-oss-credential=LTAI********************%2F20241203%2Fcn-hangzhou%2Foss%2Faliyun_v4_request&x-oss-date=20241203T034420Z&x-oss-expires=3600&x-oss-signature=70c542eaf652ac291c0c343d63ac24ede41c0526661d9d4c63c0906a**********&x-oss-signature-version=OSS4-HMAC-SHA256

The agent pinpoints the root cause (for example, "This URL is an OSS V4 presigned temporary access link with a validity period of 3,600 seconds; the signature has now expired.") and provides the fix steps.

Bucket health check

Run a health check on a specified bucket. The agent automatically evaluates four dimensions—security, data protection, cost management, and basic information—reports the status and description of each item, and suggests optimizations for items at risk. After you confirm, the agent can apply the fixes item by item.

Example: Run a health check on my bucket @samplebucketname.

The agent automatically runs multiple API calls covering the following four dimensions:

Dimension

Check item

Security check

Bucket ACL, server-side encryption, block public access, hotlink protection, CORS

Data protection

Versioning, delete markers, multipart upload fragment cleanup

Cost management

Lifecycle rules, access logging, access monitoring

Basic information

Bucket overview (region, storage class, redundancy strategy, object count, storage usage)

Cost analysis

The agent automatically retrieves billing data, analyzes each billable item—storage, traffic, and request fees—and outputs a structured cost report to help you understand the actual cost breakdown of each bucket.

Example: Analyze the cost breakdown of @samplebucketname.

Talk to Bucket

How it works

OSS Agent's Talk to Bucket capability is built on OSS Metaquery data indexing (AI content awareness + vector search) and uses the following three-layer architecture for semantic search:

  1. Content awareness layer: A multimodal large model interprets the content of videos, images, audio, and documents to generate semantic descriptions and structured tags.

  2. Vector indexing layer: Converts the parsed content into high-dimensional vectors to build a vector index.

  3. Semantic matching layer: Converts your natural-language query into a query embedding, runs multi-path retrieval and re-ranking in the vector database, and returns the top-K matches.

The entire process is transparent to you. OSS Agent guides you through the full workflow—from enabling Metaquery data indexing, to vectorizing existing data, to running natural-language chats and searches.

Data indexing

In the floating panel at the lower-left corner of the input box, turn on the Talk to Bucket switch to start a session. Once it is on, the messages you send automatically trigger the multimodal data search skill to intelligently search and answer questions about the selected bucket. When you use Talk to Bucket, OSS Agent automatically checks whether Metaquery data indexing is enabled on the target bucket and guides you to enable it when needed.

Important

Enabling Metaquery data indexing incurs fees for AI content awareness and semantic vector search. OSS Agent shows the fee details for your confirmation before it enables indexing. For more information about Metaquery billing, see Data indexing fees.

Vectorizing existing data takes time, and searches are unavailable until it completes. OSS Agent shows the current indexing status while processing—wait until it finishes before you start a search.

Use cases

Image semantic search

Ideal for media asset libraries. Search images by describing their content, without relying on manual tags or file-naming rules.

Example: @sample-bucket Find images of a volcanic eruption.

The agent returns matching images, each with its file path, size, resolution, tags, and description.

Chat with multimodal data

Ideal for security surveillance and video archives. Locate the target clip among a large volume of video segments by describing the event, without playing back each segment.

Example: Check who started the fire that caused the incident. If you find the video, send it to me.

The agent returns matching videos with the video path, duration, AI-generated scene description, and object detection results, plus a presigned URL you can use to download the video directly (valid for 15 minutes; regenerate it after it expires).

Note

AI content awareness results are for reference only. Accuracy depends on factors such as video clarity and does not replace manual review.

Document semantic search

Ideal for enterprise knowledge bases and technical document management. The agent reads document content and returns relevant documents with access links based on semantic matching, rather than relying on document names or paths.

Example: Find documents related to a specific internet platform project.

Scheduled tasks

OSS Agent lets you create scheduled tasks that automatically run read-only operations—such as health checks and usage analysis—on the schedule you specify, without the need to start them manually each time.

Important

You can set the schedule only in Beijing time (Asia/Shanghai). Once triggered, a task can perform only read-only operations on OSS resources (such as queries, reads, statistics, and analysis).

Create a scheduled task

You can create a scheduled task in either of the following ways:

  • Create by chat: Tell OSS Agent directly in a chat what to run and when, and it automatically creates the scheduled task for you. Example: Query the top 10 buckets by storage usage at 9:00 every morning.

  • Create by form: In the left sidebar, click Scheduled Tasks to go to the scheduled tasks page, and click Create Scheduled Task. Fill in Task Content (for example, Query the top 10 buckets by storage usage every day) and Execution Time (for example, 9:00 every morning), and then click Create. The system opens a new session, and OSS Agent creates the scheduled task based on your description.

Note

Before it creates a scheduled task, OSS Agent first generates an execution plan for you to confirm. The task is created only after you confirm the plan.

Manage scheduled tasks

In the left sidebar, click Scheduled Tasks to view and manage the scheduled tasks you created. Click the Tasks tab to view their execution records.

Quotas and limitations

Item

Description

Concurrent sessions

A single UID can have up to 50 active sessions at a time.

High-risk operation restrictions

High-risk operations—such as deletions (of buckets, objects, and configurations), lifecycle rules, WORM, data replication, overwrites, and static website hosting—cannot yet be run directly. OSS Agent provides console links for you to run them.

Billing

OSS Agent transitioned to commercial billing on October 28, 2026 (UTC+8). Billing rolled out gradually between October 28 and November 4, and the exact effective time varies by account. Each UID receives a free quota of 1,500 Credits per month. Unused Credits do not roll over to the next month. Usage beyond the free quota is charged based on the Credits actually consumed. After billing takes effect for your account, you can view near-real-time Credits usage from Usage in the lower-left corner of the OSS Agent page. Actual fees are subject to your bill, available in the Expenses and Costs console. For more information, see OSS Agent fees.

OSS operations triggered through OSS Agent (such as enabling Metaquery data indexing and data access) are charged based on the applicable OSS billable items. The agent proactively reminds you before it runs them. For more information about billing, see Billing overview.