Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions pages/agents/introduction.zh.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# AI 智能体介绍

import { Callout } from 'nextra/components'

<Callout type="info" emoji="ℹ️">
AI 智能体正在改变我们处理复杂任务的方式,让大型语言模型(LLM)能够自主行动并实现可重复的结果。
</Callout>

## 什么是智能体?

在本文中,我们将智能体定义为一种由 LLM 驱动的系统,设计用于自主执行动作和解决复杂任务。与传统的 LLM(仅做简单的文本生成)不同,智能体配备了额外的能力,包括:

- **规划与反思**:智能体可以分析问题,将其分解为步骤,并根据新信息调整方法。
- **工具访问**:它们可以与外部工具和资源交互,如数据库、API 和软件应用,以获取信息并执行操作。
- **记忆**:智能体可以存储和检索信息,使它们能够从过去的经验中学习并做出更明智的决策。

这一概念探讨了智能体的本质及其在人工智能领域的重要性。

## 为什么要使用智能体?

虽然大型语言模型(LLM)在简单、零散的任务(如翻译或邮件生成)方面表现出色,但在处理需要多步骤、规划和推理的复杂任务时却往往力不从心。这些复杂任务通常需要访问外部工具和超出 LLM 知识库的信息。

例如,开发营销策略可能涉及研究竞争对手、分析市场趋势和访问公司特定数据。这些操作需要真实世界的信息、最新的见解和内部公司数据,而这些可能是一个独立的 LLM 无法访问的。

智能体通过将 LLM 的能力与记忆、规划和外部工具相结合来弥补这一差距。

通过提升这些能力,智能体可以有效地处理以下复杂任务:

- 开发营销策略
- 规划事件
- 提供客户支持

<Callout type="info" emoji="ℹ️">
[加入我们的新课程](/courses/introduction-to-ai-agents),学习如何构建智能体!
</Callout>

## 常见应用场景

以下是智能体在各行业中的一些常见应用:

- **推荐系统**:为产品、服务或内容提供个性化推荐。
- **客户支持系统**:处理咨询、解决问题并提供帮助。
- **研究**:深入研究各领域的课题,如法律、金融和医疗。
- **电子商务**:简化在线购物体验、管理订单并提供个性化推荐。
- **预订**:协助旅行和活动安排。
- **报告分析**:分析大量数据并生成综合报告。
- **财务分析**:分析市场趋势、财务数据并以无与伦比的速度和准确性生成报告。
4 changes: 2 additions & 2 deletions pages/models/_meta.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"olmo": "OLMo",
"phi-2": "Phi-2",
"sora": "Sora",
"openclaw": "OpenClaw",
"collection": "LLM Collection"
}

}
7 changes: 3 additions & 4 deletions pages/models/_meta.zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"code-llama": "Code Llama",
"olmo": "OLMo",
"sora": "Sora",
"collection": "Model Collection"
}


"collection": "Model Collection",
"openclaw": "OpenClaw"
}
116 changes: 116 additions & 0 deletions pages/models/openclaw.en.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# OpenClaw - Local AI Assistant

import { Callout } from 'nextra/components'

<Callout type="info" emoji="ℹ️">
OpenClaw is a powerful local AI assistant that brings AI co-worker capabilities to your development environment.
</Callout>

## Overview

OpenClaw is an open-source AI assistant that runs locally on your machine. Unlike cloud-based AI tools, OpenClaw keeps your data private and provides persistent memory, workflow automation, and deep system integration.

## Key Features

### 🤖 Local AI Execution
- Runs entirely on your local machine
- No data leaves your environment
- Supports multiple AI providers (OpenAI, Anthropic, Google, etc.)

### 💾 Persistent Memory
- Remembers your preferences and past interactions
- Long-term memory across sessions
- Context-aware conversations

### 🔧 Deep System Integration
- File system access
- Shell command execution
- Browser automation
- Git operations

### ⚡ Workflow Automation
- Custom skill system for extensibility
- Automation pipelines
- Scheduled tasks (cron jobs)

### 🔌 Rich Tool Ecosystem
- Feishu (飞书) integration for Chinese users
- GitHub operations
- Browser control
- Multi-platform support (Windows, macOS, Linux)

## Prompting Guide

When working with OpenClaw, use clear and specific prompts:

```markdown
# Good prompt example
Create a Python script that:
1. Reads data from a CSV file
2. Processes the data with pandas
3. Outputs results to a new CSV

# Include specific requirements
- Handle missing values gracefully
- Add logging for debugging
- Include unit tests
```

## Use Cases

| Category | Examples |
|----------|----------|
| **Development** | Code generation, debugging, code review |
| **Automation** | File processing, scheduled tasks, workflow automation |
| **Data Analysis** | Data processing, report generation |
| **Communication** | Feishu messaging, email automation |
| **Research** | Web scraping, information gathering |

## Installation

```bash
# Install via npm
npm install -g openclaw

# Initialize configuration
openclaw init

# Start interactive mode
openclaw start
```

## Configuration

OpenClaw uses a YAML configuration file:

```yaml
model: "claude-sonnet-4-20250514"
provider: "anthropic"
skills:
- browser-automation
- file-management
- shell-commands
memory:
enabled: true
persist: true
```

## Comparison with Other Tools

| Feature | OpenClaw | Claude Code | Cursor |
|---------|----------|-------------|--------|
| Local deployment | ✅ | ❌ | ❌ |
| Persistent memory | ✅ | Limited | Limited |
| Skill system | ✅ | ❌ | ❌ |
| Feishu integration | ✅ | ❌ | ❌ |
| Free to use | ✅ | ✅ | Limited |

## Resources

- [Official Documentation](https://docs.openclaw.ai)
- [GitHub Repository](https://github.com/openclaw/openclaw)
- [Discord Community](https://discord.gg/openclaw)

<Callout type="warning" emoji="⚠️">
OpenClaw requires an API key from your chosen AI provider. It does not include AI capabilities by default.
</Callout>
116 changes: 116 additions & 0 deletions pages/models/openclaw.zh.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# OpenClaw - 本地 AI 助手

import { Callout } from 'nextra/components'

<Callout type="info" emoji="ℹ️">
OpenClaw 是一个强大的本地 AI 助手,为你的开发环境带来 AI 协作者能力。
</Callout>

## 概述

OpenClaw 是一个开源 AI 助手,运行在本地机器上。与云端 AI 工具不同,OpenClaw 保护你的数据隐私,提供持久记忆、工作流自动化和深度系统集成。

## 核心特性

### 🤖 本地 AI 执行
- 完全在本地机器上运行
- 数据不离开你的环境
- 支持多种 AI 提供商(OpenAI、Anthropic、Google 等)

### 💾 持久记忆
- 记住你的偏好和过去的交互
- 跨会话的长期记忆
- 上下文感知的对话

### 🔧 深度系统集成
- 文件系统访问
- Shell 命令执行
- 浏览器自动化
- Git 操作

### ⚡ 工作流自动化
- 自定义技能系统,可扩展
- 自动化管道
- 定时任务(cron 作业)

### 🔌 丰富的工具生态
- 飞书集成(中国用户)
- GitHub 操作
- 浏览器控制
- 多平台支持(Windows、macOS、Linux)

## 提示词指南

使用 OpenClaw 时,使用清晰具体的提示词:

```markdown
# 好的提示词示例
创建一个 Python 脚本:
1. 从 CSV 文件读取数据
2. 使用 pandas 处理数据
3. 将结果输出到新的 CSV

# 包含具体要求
- 优雅处理缺失值
- 添加日志以便调试
- 包含单元测试
```

## 使用场景

| 类别 | 示例 |
|------|------|
| **开发** | 代码生成、调试、代码审查 |
| **自动化** | 文件处理、定时任务、工作流自动化 |
| **数据分析** | 数据处理、报告生成 |
| **沟通** | 飞书消息、邮件自动化 |
| **研究** | 网页抓取、信息收集 |

## 安装

```bash
# 通过 npm 安装
npm install -g openclaw

# 初始化配置
openclaw init

# 启动交互模式
openclaw start
```

## 配置

OpenClaw 使用 YAML 配置文件:

```yaml
model: "claude-sonnet-4-20250514"
provider: "anthropic"
skills:
- browser-automation
- file-management
- shell-commands
memory:
enabled: true
persist: true
```

## 与其他工具对比

| 特性 | OpenClaw | Claude Code | Cursor |
|------|----------|-------------|--------|
| 本地部署 | ✅ | ❌ | ❌ |
| 持久记忆 | ✅ | 有限 | 有限 |
| 技能系统 | ✅ | ❌ | ❌ |
| 飞书集成 | ✅ | ❌ | ❌ |
| 免费使用 | ✅ | ✅ | 有限 |

## 资源

- [官方文档](https://docs.openclaw.ai)
- [GitHub 仓库](https://github.com/openclaw/openclaw)
- [Discord 社区](https://discord.gg/openclaw)

<Callout type="warning" emoji="⚠️">
OpenClaw 需要从你选择的 AI 提供商获取 API 密钥。默认不包含 AI 能力。
</Callout>
Loading