How to integrate Valyu MCP with Atomic Agent

Connect Atomic Agent to Valyu MCP. Compare recent battery recycling methods with citations, research clinical trial results from specialist sources, and more using natural language, with authentication handled for you.

Valyu logoValyu
Api Key

Valyu is a research API for searching specialist, proprietary, and web sources. It returns multi-step research with cited, structured outputs.

32 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 Valyu.

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 Valyu 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 Valyu with

How Atomic Agent connects to Valyu

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 Valyu 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 Valyu. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your Valyu 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 Valyu MCP server, and what's possible with it?

The Valyu MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Valyu account. It provides structured and secure access to Valyu's web, news, academic, financial, specialist, and proprietary search and research tools, so your agent can search sources, generate cited answers, extract web content, run deep research, and manage research workflows on your behalf.

  • Search across specialist and web sources: Have your agent search web, news, academic, financial, and specialist sources, then return ranked results, source coverage, warnings, and costs.
  • Generate cited research answers: Let the agent answer questions using live search and provide complete cited responses with supporting sources and usage details.
  • Extract content from URLs: Direct your agent to extract content from one or more URLs, either immediately or as an asynchronous job for larger sets of links.
  • Run and manage deep research: Instruct your agent to start research tasks, check progress and reports, respond to planning or source review checkpoints, add follow-up instructions, and manage batch research jobs.
  • Build and use research workflows: Have your agent discover datasources, preview workflows and estimated credits, create or update private workflows, manage their versions, and publish workflow updates.

Use Valyu from Atomic Agent

With your account connected, ask Atomic Agent to work with Valyu 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 Valyu action and event your agent gets out of the box.

Add DeepResearch Batch Tasks

Add 1-100 paid research tasks to an open or processing DeepResearch batch.

Answer

Generate a cited answer from live search and return the complete answer, sources, warnings, token usage, and authoritative billed cost.

Cancel DeepResearch Batch

WARNING: irreversibly cancel all queued and running tasks in an open or processing DeepResearch batch.

Cancel DeepResearch Task

WARNING: irreversibly cancel a DeepResearch task in queued, running, awaiting_input, or paused status.

Create DeepResearch Batch

Create an empty DeepResearch batch with shared mode, output, search, webhook, and metadata configuration.

Create DeepResearch Task

Start a paid asynchronous DeepResearch task.

Create Workflow

Create a private organization workflow and its first immutable version.

Delete DeepResearch Task

Permanently delete a completed, failed, or cancelled DeepResearch task and all associated outputs, sources, PDFs, and images.

Delete Workflow

Soft-delete an organization-owned workflow.

Extract Contents

Extract content from up to 10 URLs synchronously or queue up to 50 URLs asynchronously.

Get Contents Job

Get an asynchronous content extraction job's status, per-URL results, failures, and final charge.

Get DeepResearch Batch Status

Get a DeepResearch batch's lifecycle status, task counts, shared configuration, timestamps, and aggregate cost.

Get DeepResearch Sharing

List the people and company domains a DeepResearch report is shared with, including its share link, public setting, notification timestamps, and view timestamps.

Get DeepResearch Status

Get a DeepResearch task's status, progress, checkpoint, report, sources, generated files, warnings, and cost.

Get Workflow

Get a workflow's current version, including its template, tools, output formats, deliverables, and variables.

Get Workflow Version

Get a workflow resolved at one specific immutable version, including its template, tools, output formats, deliverables, and variables.

List Datasource Categories

List current datasource category IDs, names, descriptions, and dataset counts.

List Datasources

List searchable datasources and their IDs, capabilities, pricing, plan requirements, schemas, and example queries, optionally by category.

List DeepResearch Batches

List DeepResearch batches with lifecycle status, task counts, and aggregate cost.

List DeepResearch Batch Tasks

Return one cursor-controlled page of a DeepResearch batch's tasks, optionally filtered by status and expanded with outputs, sources, files, errors, and costs.

List DeepResearch Tasks

List up to 100 DeepResearch task summaries for the connected API key.

List Workflows

List visible curated and organization workflows with discovery metadata and optional current-version expansion.

List Workflow Versions

List a workflow's immutable version history newest first, including current-version and changelog metadata.

Preview Workflow

Resolve workflow variables and return the exact DeepResearch configuration and estimated credits without launching or charging for a research task.

Publish Workflow Version

Publish a new immutable version of an organization-owned workflow.

Respond to DeepResearch Checkpoint

Answer an active planning, plan-review, source-review, or outline-review checkpoint so a DeepResearch task in awaiting_input or paused state can continue.

Search

Search web, news, academic, financial, and specialist sources, returning ranked content, source coverage, warnings, and the amount charged.

Search Datasources

Find datasources accessible to the connected key from a natural-language need, returning ranked datasource IDs and full metadata.

Set DeepResearch Public Access

Make a DeepResearch task public or private.

Update DeepResearch Sharing

Atomically add or remove people and company domains that can open a private DeepResearch report.

Update DeepResearch Task

Add a follow-up instruction to a running DeepResearch task before its writing phase begins.

Update Workflow

Update metadata on an organization-owned workflow.

FAQ

Frequently asked questions

Start with Valyu.It takes 30 seconds.

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

Start building