How to integrate BytePlus Ark MCP with Atomic Agent

Connect Atomic Agent to BytePlus Ark MCP. Create 10s promo video from script, check status of latest video task, and more using natural language, with authentication handled for you.

BytePlus Ark logoBytePlus Ark
Api Key

BytePlus Ark is a regional generative AI platform offering model APIs for text, images, and video. It provides asynchronous video generation task management and low-latency, region-compliant endpoints.

17 Tools

Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,700+ apps through Composio, including BytePlus Ark.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a BytePlus Ark account. See the Atomic Agent documentation for installation instructions.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate BytePlus Ark with

How Atomic Agent connects to BytePlus Ark

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect BytePlus Ark to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in BytePlus Ark. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your BytePlus Ark account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

What is the BytePlus Ark MCP server, and what's possible with it?

The BytePlus Ark MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your BytePlus Ark account. It provides structured and secure access to your asynchronous video generation tasks, so your agent can create, monitor, list, cancel, and delete video tasks on your behalf.

  • Video generation: Have your agent start a new asynchronous video generation task using BytePlus Ark.
  • Task monitoring: Let the agent check a video task's progress, review failure details, and retrieve the generated output when it's ready.
  • Task discovery and filtering: Instruct your agent to list video tasks and narrow the results by status, model, or service tier.
  • Task cancellation and cleanup: Direct your agent to cancel queued video tasks or permanently delete completed and failed task records.

Use BytePlus Ark from Atomic Agent

With your account connected, ask Atomic Agent to work with BytePlus Ark in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

TOOLS

Supported Tools

Every BytePlus Ark action and event your agent gets out of the box.

Cancel or Delete Video Task

Irreversibly cancel a video generation task when it is queued, or permanently delete its task record when it is terminal.

Count Message Tokens

Count input tokens for a BytePlus Ark Anthropic-compatible Messages request without generating a model response.

Create Chat Completion

Generate one synchronous chat completion from an activated BytePlus Ark model or inference endpoint in the connected Johor or Dublin region.

Create Message

Generate one complete, non-streaming message through BytePlus Ark's official Anthropic-compatible Messages API.

Create Multimodal Embedding

Create one semantic embedding from mixed text, image, and supported video inputs using an activated skylark-embedding-vision model.

Create Video Task

Start a potentially billable asynchronous video generation task and return its task ID.

Delete File

Permanently delete a BytePlus Ark file from storage.

Delete Response

Permanently delete one stored BytePlus Ark Responses API object by ID.

Generate Image

Generate or edit images synchronously with an activated Seedream model in the connected Johor or Dublin region.

Get File

Retrieve one BytePlus Ark file's metadata, preprocessing status, expiration, and failure details by file ID.

Get Response

Retrieve a stored BytePlus Ark Responses API object by ID, including its status, output, configuration, and token usage.

Get Video Task

Retrieve one video generation task's status, failure details, and generated output URLs by task ID.

List Files

Return one cursor-paginated page of BytePlus Ark files, optionally filtered by purpose or Managed Agents session scope.

List Response Input Items

Return one page of the input context associated with a BytePlus Ark response, with forward or backward ID pagination.

List Video Tasks

Return one page of video generation tasks, optionally filtered by status, task IDs, model, or service tier.

Tokenize Text

Tokenize text with an activated BytePlus Ark text model or inference endpoint This endpoint accepts text only; token vocabulary and model availability are model- and region-specific.

Upload File

Upload a local file or import an HTTP(S) or BytePlus TOS file into BytePlus Ark for model or agent use.

FAQ

Frequently asked questions

Start with BytePlus Ark.It takes 30 seconds.

Managed auth, hosted MCP servers, and every BytePlus Ark tool your agent needs.Free to start.

Start building