Skip to main content

Standalone Modules

// Single-agent (caller's own scope)
import { Memory, Knowledge, RAG, LLM } from '@runflow-ai/sdk';

// Cross-agent (operate on another agent's data within the tenant)
import { Agents } from '@runflow-ai/sdk/agents';
import { Executions } from '@runflow-ai/sdk/executions';
import { Threads } from '@runflow-ai/sdk/threads';
import { MemoryAdmin } from '@runflow-ai/sdk/memory-admin';

// Reviews (production execution reviews — single or cross-agent)
import { Reviews } from '@runflow-ai/sdk/reviews';

Single-agent modules

Memory

Conversation history for the caller’s own agent.

Knowledge / RAG

Vector search and retrieval-augmented generation.

LLM

Direct LLM calls outside the Agent abstraction.

Prompts

Versioned prompt templates.

Cross-agent modules

The cross-agent SDK lets one agent operate on another agent’s data within the same tenant. All operations are tenant-scoped — cross-tenant access returns 404 (existence never leaked). See Cross-Agent SDK for the full guide.

Agents

Invoke other agents (invoke / invokeAsync), list, get.

Executions

Read execution rows and paginated trace trees.

Threads

Walk grouped conversations. getFullThread returns thread + executions + traces in one call.

MemoryAdmin

Manage another agent’s memory: get / set / append / clear / search / list / summarize.

Reviews

Reviews

Create, list, resolve, and dismiss production execution reviews. Used by reviewer agents and human reviewers in the portal.

Next Steps

Cross-Agent SDK

Full guide to cross-agent primitives.

Observability

View observability exports

API Client

View API client exports