> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runflow.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Welcome to Runflow

> Build intelligent AI agents and multi-agent systems with TypeScript

## What is Runflow?

Runflow is a complete platform for building, deploying, and managing AI agents. It combines a powerful **TypeScript SDK** with a **command-line interface (CLI)** and a **management portal**, making it easy to create production-ready AI applications.

<CardGroup cols={2}>
  <Card title="CLI" icon="terminal" href="/cli/introduction">
    Start in minutes with the command line
  </Card>

  <Card title="Quick Start" icon="rocket" href="/quickstart">
    Create your first agent with code
  </Card>

  <Card title="Core Concepts" icon="book" href="/core-concepts/agents">
    Learn about Agents, Memory, Tools, and more
  </Card>

  <Card title="Examples" icon="code" href="/use-cases/customer-support-rag">
    See real-world use cases
  </Card>
</CardGroup>

## Why Runflow?

<AccordionGroup>
  <Accordion title="Fast to Start" icon="rocket">
    Use the CLI to authenticate, clone an agent, and start testing in under 2
    minutes. No complex setup required.
  </Accordion>

  <Accordion title="Type-Safe SDK" icon="shield-check">
    Built with TypeScript-first design. Full type safety with Zod validation
    ensures your agents work correctly.
  </Accordion>

  <Accordion title="Production Ready" icon="gauge-high">
    Built-in observability, memory management, RAG, and connectors. Everything
    you need for production deployments.
  </Accordion>

  <Accordion title="Multi-Agent Systems" icon="users">
    Create complex systems with multiple specialized agents using the supervisor
    pattern.
  </Accordion>
</AccordionGroup>

## Your Journey with Runflow

### 1. Get Started with CLI (2 minutes)

The fastest way to start is with the CLI:

```bash theme={null}
# Install
npm i -g @runflow-ai/cli

# Login
rf login

# List and clone an agent
rf agents list

# Test locally
cd agent-name/
rf test
```

<Card title="CLI Guide" icon="terminal" href="/cli/introduction">
  Learn how to use the CLI
</Card>

### 2. Build with Code

Once you understand the basics, dive into the SDK:

```typescript theme={null}
import { Agent, openai } from "@runflow-ai/sdk";

// Create a basic agent
const agent = new Agent({
  name: "Support Agent",
  instructions: "You are a helpful customer support assistant.",
  model: openai("gpt-4o"),
  memory: { maxTurns: 10 },
});

// Process a message
const result = await agent.process({
  message: "I need help with my order",
  sessionId: "session_456",
});
```

<Card title="Quickstart Guide" icon="rocket" href="/quickstart">
  Create your first agent with code
</Card>

### 3. Learn Core Concepts

Understand the powerful features:

* **Agents** - Intelligent AI assistants with LLM, tools, and memory
* **Memory** - Persistent conversation history across sessions
* **Tools** - Custom functions your agents can call
* **Connectors** - Integrate with HubSpot, Twilio, Slack, and more
* **Workflows** - Orchestrate complex multi-step processes
* **RAG** - Semantic search in your knowledge base
* **Observability** - Full tracing with cost tracking

<Card title="Core Concepts" icon="book" href="/core-concepts/agents">
  Learn about Agents, Memory, Tools, and more
</Card>

### 4. See Real-World Examples

Explore production-ready examples:

* Customer Support Agent with RAG
* Sales Automation Workflows
* Collections Agent (WhatsApp)
* Customer Onboarding Assistant
* Feedback Analysis System
* Multi-Agent Systems

<Card title="Real-World Examples" icon="lightbulb" href="/use-cases/customer-support-rag">
  See practical implementations
</Card>

## Features

<CardGroup cols={2}>
  <Card title="Intelligent Agents" icon="robot">
    Create agents with LLM, tools, memory, and RAG capabilities
  </Card>

  <Card title="Type-Safe Tools" icon="wrench">
    Build custom tools with Zod schema validation
  </Card>

  <Card title="Dynamic Connectors" icon="plug">
    Connect to any API with runtime schema loading
  </Card>

  <Card title="Workflows" icon="diagram-project">
    Orchestrate complex multi-step processes
  </Card>

  <Card title="Memory Management" icon="brain">
    Persistent conversation history with auto-summarization
  </Card>

  <Card title="Agentic RAG" icon="database">
    LLM-driven semantic search in knowledge bases
  </Card>

  <Card title="Multi-Agent Systems" icon="users">
    Supervisor pattern with automatic routing
  </Card>

  <Card title="Full Observability" icon="chart-line">
    Automatic tracing with cost tracking and metrics
  </Card>
</CardGroup>

## Built-in Libraries

The SDK includes these libraries out-of-the-box. **No need to install separately**:

| Library      | Description                                |
| ------------ | ------------------------------------------ |
| **axios**    | HTTP client for API requests               |
| **zod**      | Schema validation and TypeScript inference |
| **date-fns** | Modern date utility library                |
| **lodash**   | JavaScript utility library                 |
| **cheerio**  | HTML/XML parsing                           |
| **pino**     | Fast JSON logger                           |

## Community & Support

<CardGroup cols={2}>
  <Card title="GitHub" icon="github" href="https://github.com/runflow-ai/runflow-sdk">
    View source code and contribute
  </Card>

  <Card title="Discord" icon="comments" href="https://discord.gg/runflow">
    Join our community
  </Card>

  <Card title="Support" icon="life-ring" href="mailto:support@runflow.ai">
    Get help from our team
  </Card>

  <Card title="Homepage" icon="house" href="https://runflow.ai">
    Visit Runflow\.ai
  </Card>
</CardGroup>

***

**Built with ❤️ by the Runflow team**
