文末提供程序和源码下载
Sim Studio开源程序 是一个功能强大、用户友好的平台,用于构建、测试和优化代理工作流程,Sim Studio 是一个开源的代理工作流程构建器。Sim Studio 的界面是一种轻量级、直观的方式,可快速构建和部署LLMs与您最喜欢的工具连接。
文末提供程序和源码下载,跳过第一步直接解压缩,进入解压缩目录
# Clone your forked repository
git clone https://github.com/YOUR_USERNAME/sim.git
cd sim
# Create environment file and update with required environment variables (BETTER_AUTH_SECRET)
cp sim/.env.example sim/.env
# Start Sim Studio using the provided script
docker compose up -d --build
or
./start_simstudio_docker.sh
After running these commands:
运行以下命令后:
Access the Application: 访问应用程序:
/w/
path is where the main workspace interface is located/w/
是主工作区界面所在的位置Useful Docker Commands: 有用的 Docker 命令:
# View application logs
docker compose logs -f simstudio
# Access PostgreSQL database
docker compose exec db psql -U postgres -d simstudio
# Stop the environment
docker compose down
# Rebuild and restart (after code changes)
docker compose up -d --build
To use local models with Sim Studio, follow these steps:
要在 Sim Studio 中使用本地模型,请执行以下步骤:
Pull Local Models 拉取本地模型
# Run the ollama_docker.sh script to pull the required models
./sim/scripts/ollama_docker.sh pull <model_name>
Start Sim Studio with Local Models
使用本地模型启动 Sim Studio
#Start Sim Studio with local model support
./start_simstudio_docker.sh --local
# or
# Start Sim Studio with local model support if you have nvidia GPU
docker compose up --profile local-gpu -d --build
# or
# Start Sim Studio with local model support if you don't have nvidia GPU
docker compose up --profile local-cpu -d --build
The application will now be configured to use your local models. You can access it at http://localhost:3000/w/.
现在,应用程序将配置为使用您的本地模型。您可以在 http://localhost:3000/w/ 访问它。
If you already have an Ollama instance running on your host machine, you can connect to it using one of these methods:
如果您的主机上已经运行了一个 Ollama 实例,则可以使用以下方法之一连接到它:
# Method 1: Use host networking (simplest approach)
docker compose up --profile local-cpu -d --build --network=host
Or modify your docker-compose.yml:
或者修改您的docker-compose.yml:
# Method 2: Add host.docker.internal mapping
services:
simstudio:
# ... existing configuration ...
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
- OLLAMA_HOST=http://host.docker.internal:11434
sim
directorysim
目录中设置npm run dev
in the terminal or use the sim-start
aliasnpm run dev
或使用 sim-start
别名# Clone the repository
git clone https://github.com/YOUR_USERNAME/sim.git
cd sim/sim
# Install dependencies
npm install
# Copy .env.example to .env
cp .env.example .env
# Configure your .env file with the required environment variables:
# - Database connection (PostgreSQL)
# - Authentication settings (Better-Auth Secret)
⚠️ Important Notes:
⚠️ 重要说明:
RESEND_API_KEY
is not set, verification codes for login/signup will be logged to the console.RESEND_API_KEY
设置,则登录/注册的验证码将记录到控制台。# Push the database schema
npx drizzle-kit push
# Start the development server
npm run dev
夸克网盘分享
本文信息来源于GitHub作者地址:GitHub - simstudioai/sim: Sim Studio is an open-source agent workflow builder. Sim Studio's interface is a lightweight, intuitive way to quickly build and deploy LLMs that connect with your favorite tools.