---
title: "S&box AI Helper - s&box library"
description: "An AI chatbot integrated directly into the S&box editor. Chat with a local AI assistant trained on S&box"
canonical: "https://sbox.watch/zh-cn/libraries/icu/ai-chat/"
generated_at: "2026-11-27T17:41:25.488Z"
---

# S&box AI Helper

An AI chatbot integrated directly into the S&box editor. Chat with a local AI assistant trained on S&box

- 类型: 库
- 标识符: icu.ai-chat
- 创作者: icu
- 规范地址: https://sbox.watch/zh-cn/libraries/icu/ai-chat/
- Markdown: https://sbox.watch/zh-cn/libraries/icu/ai-chat/index.md
- sbox.game: https://sbox.game/icu/ai-chat/
- 生成时间: 2026-11-27T17:41:25.488Z

## 统计

- 24小时热度: +0
- Terry 评分: 27%
- 收藏: 4
- 好评: 3
- 差评: 2
- 更新时间: 2026年4月17日
- 创建时间: 2026年4月17日
- 大小: 41.4 MB
- 文件: 268
- 标签: ai, ai, bot, chat, helper, tools

## 描述

\# AI Chat for S&box

An AI chatbot integrated directly into the S&box editor. Chat with a local AI assistant while you build your game.

\#\# Features
- Dockable editor panel — dock it anywhere in your layout
- Uses \*\*Ollama\*\* for free, local AI (no API key needed)
- Supports any Ollama model (llama3, mistral, phi3, etc)
- Conversation history maintained during session
- Customisable system prompt

\#\# Setup

\#\#\# 1. Install Ollama
Download from \[ollama.com\](https://ollama.com) and install it.

\#\#\# 2. Pull a model
\`\`\`
ollama pull llama3
\`\`\`

\#\#\# 3. Start Ollama on port 8080
S&box only allows localhost on specific ports. Start Ollama with:

\*\*CMD:\*\*
\`\`\`
set OLLAMA\_HOST=0.0.0.0:8080 && ollama serve
\`\`\`

\*\*PowerShell:\*\*
\`\`\`
$env:OLLAMA\_HOST="0.0.0.0:8080"; ollama serve
\`\`\`

\#\#\# 4. Open AI Chat in S&box
Find it in \*\*View > AI Chat\*\* or look for the AI Chat panel in your dock options.

\#\# Usage
- Type a message in the input field
- Press \*\*Enter\*\* or click \*\*Send\*\*
- The AI responds using your local Ollama model
- Change the model name in the field at the top

\#\# Notes
- Ollama must be running on port 8080 before using the chat
- All processing is local — nothing is sent to external servers
- Larger models give better responses but are slower

\#\# Credits
Made by ICU
