File size: 1,998 Bytes
dbac53e 31fae85 dbac53e 31fae85 dbac53e 38d7a2b dbac53e a7c4301 dbac53e a7c4301 b8e5043 dbac53e a7c4301 dbac53e b8e5043 a7c4301 dbac53e a7c4301 b8e5043 a7c4301 dbac53e a7c4301 dbac53e a7c4301 dbac53e a7c4301 dbac53e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | # Entelechy
> A 24/7 autonomous AI agent with long-term memory, plugin system, and browser automation
[English](#english) | [中文](#中文)
---
## English
### Overview
Entelechy is an autonomous agent runtime that runs continuously, making decisions and taking actions based on LLM responses. It features:
- **Persistent Agent Loop** - Never-ending autonomous operation with LLM calls and tool execution
- **Long-term Memory** - Markdown-based storage with semantic search and retrieval
- **Plugin System** - Runtime-loadable plugins that extend functionality
- **Browser Automation** - Playwright-based browser control
### Quick Start
#### 1. Setup
```bash
pip install -r requirements.txt
playwright install chromium
cp .env.example .env
```
#### 2. Configure
Edit `config.yaml`:
```yaml
agent:
provider: "openai" # or "anthropic"
model: "openrouter/free" # your model
max_tokens: 8000
browser:
headless: true
logging:
level: "INFO"
```
Edit `.env` with your API keys:
```bash
OPENAI_API_KEY=your_key_here
OPENAI_BASE_URL=https://openrouter.ai/api/v1
# or for Anthropic:
# ANTHROPIC_API_KEY=your_key_here
```
#### 3. Run
```bash
python main.py
```
### Docker
```bash
docker-compose up -d
```
---
## 中文
### 简介
Entelechy 是一个自主智能体运行时,能够持续运行、做出决策并根据 LLM 响应执行操作。特性包括:
- **持续智能体循环** - 永不停歇的自主运行,包含 LLM 调用和工具执行
- **长期记忆** - 基于 Markdown 的存储,支持语义搜索和检索
- **插件系统** - 运行时可加载的插件,扩展功能
- **浏览器自动化** - 基于 Playwright 的浏览器控制
### 快速开始
#### 1. 安装
```bash
pip install -r requirements.txt
playwright install chromium
cp .env.example .env
```
#### 2. 配置
编辑 `config.yaml` 和 `.env` 文件(见上文英文部分)
#### 3. 运行
```bash
python main.py
```
### Docker 部署
```bash
docker-compose up -d
```
|