Note
本文档由 WeHub 基于上游 README 翻译整理,属于社区翻译,非官方中文文档。
English · 原始项目 · 上游 README
原作者、版权与许可证归属以原始项目及本仓库 LICENSE 文件为准。
用于构建、部署和管理 AI 智能体与工作流的工作空间。
npx simstudio
必须安装并运行 Docker。使用 -p, --port <port> 在其他端口运行 Sim,或使用 --no-pull 跳过拉取最新 Docker 镜像。
聊天和工作流只是开始 — 表格、文件、知识库和定时任务都在同一工作空间中。
Tables — 内置数据库 |
Files — 团队与各智能体共享的统一存储 |
Knowledge — 智能体的记忆 |
Scheduled tasks — 按你的计划运行 |
git clone https://github.com/simstudioai/sim.git && cd sim
docker compose -f docker-compose.prod.yml up -d
Sim 还支持通过 Ollama 和 vLLM. 使用本地模型。详见 Docker 自托管文档 了解配置详情。
环境要求: Bun, Node.js v20+、PostgreSQL 12+ 及 pgvector
git clone https://github.com/simstudioai/sim.git
cd sim
bun install
bun run prepare # Set up pre-commit hooks
docker run --name simstudio-db -e POSTGRES_PASSWORD=your_password -e POSTGRES_DB=simstudio -p 5432:5432 -d pgvector/pgvector:pg17
或通过 pgvector 指南. 手动安装
cp apps/sim/.env.example apps/sim/.env
# Create your secrets
perl -i -pe "s/your_encryption_key/$(openssl rand -hex 32)/" apps/sim/.env
perl -i -pe "s/your_internal_api_secret/$(openssl rand -hex 32)/" apps/sim/.env
perl -i -pe "s/your_api_encryption_key/$(openssl rand -hex 32)/" apps/sim/.env
# DB configs for migration
cp packages/db/.env.example packages/db/.env
# Edit both .env files to set DATABASE_URL="postgresql://postgres:your_password@localhost:5432/simstudio"
cd packages/db && bun run db:migrate
bun run dev:full # Starts Next.js app and realtime socket server
或分别运行:bun run dev(Next.js)和 cd apps/sim && bun run dev:sockets(realtime)。
Chat 是 Sim 托管的服务。在自托管实例上使用 Chat:
COPILOT_API_KEY 环境变量设置为该值完整列表见环境变量参考,默认值见 apps/sim/.env.example。
我们欢迎贡献!详情请参阅我们的贡献指南。
本项目采用 Apache License 2.0 许可证 — 详情请参阅 LICENSE 文件。