Skip to content

Commit 2ad40e2

Browse files
Merge remote-tracking branch 'origin/staging' into feat/insert-delete-row-optimization
# Conflicts: # apps/sim/lib/table/service.ts
2 parents 93a733b + d80f0c6 commit 2ad40e2

178 files changed

Lines changed: 48215 additions & 2274 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</a>
99
</p>
1010

11-
<p align="center">The open-source platform to build AI agents and run your agentic workforce. Connect 1,000+ integrations and LLMs to orchestrate agentic workflows.</p>
11+
<p align="center">The open-source AI workspace where teams build, deploy, and manage AI agents. Build conversationally, visually, or with code. Connect 1,000+ integrations and every major LLM to automate real work.</p>
1212

1313
<p align="center">
1414
<a href="https://sim.ai" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/sim.ai-33c482" alt="Sim.ai"></a>
@@ -21,25 +21,39 @@
2121
<a href="https://deepwiki.com/simstudioai/sim" target="_blank" rel="noopener noreferrer"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a> <a href="https://cursor.com/link/prompt?text=Help%20me%20set%20up%20Sim%20locally.%20Follow%20these%20steps%3A%0A%0A1.%20First%2C%20verify%20Docker%20is%20installed%20and%20running%3A%0A%20%20%20docker%20--version%0A%20%20%20docker%20info%0A%0A2.%20Clone%20the%20repository%3A%0A%20%20%20git%20clone%20https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim.git%0A%20%20%20cd%20sim%0A%0A3.%20Start%20the%20services%20with%20Docker%20Compose%3A%0A%20%20%20docker%20compose%20-f%20docker-compose.prod.yml%20up%20-d%0A%0A4.%20Wait%20for%20all%20containers%20to%20be%20healthy%20(this%20may%20take%201-2%20minutes)%3A%0A%20%20%20docker%20compose%20-f%20docker-compose.prod.yml%20ps%0A%0A5.%20Verify%20the%20app%20is%20accessible%20at%20http%3A%2F%2Flocalhost%3A3000%0A%0AIf%20there%20are%20any%20errors%2C%20help%20me%20troubleshoot%20them.%20Common%20issues%3A%0A-%20Port%203000%2C%203002%2C%20or%205432%20already%20in%20use%0A-%20Docker%20not%20running%0A-%20Insufficient%20memory%20(needs%2012GB%2B%20RAM)%0A%0AFor%20local%20AI%20models%20with%20Ollama%2C%20use%20this%20instead%20of%20step%203%3A%0A%20%20%20docker%20compose%20-f%20docker-compose.ollama.yml%20--profile%20setup%20up%20-d"><img src="https://img.shields.io/badge/Set%20Up%20with-Cursor-000000?logo=cursor&logoColor=white" alt="Set Up with Cursor"></a>
2222
</p>
2323

24-
### Build Workflows with Ease
25-
Design agent workflows visually on a canvas—connect agents, tools, and blocks, then run them instantly.
24+
### Build everything in Mothership
25+
Your AI command center. Describe what you want in plain language. Mothership knows your entire workspace and takes action: building agents, running them, querying data, and more.
2626

2727
<p align="center">
28-
<img src="apps/sim/public/static/workflow.gif" alt="Workflow Builder Demo" width="800"/>
28+
<img src="apps/sim/public/static/mothership.gif" alt="Mothership building and running an agent from chat" width="800"/>
2929
</p>
3030

31-
### Supercharge with Copilot
32-
Leverage Copilot to generate nodes, fix errors, and iterate on flows directly from natural language.
31+
### Create files and documents
32+
Generate documents, reports, and presentations from a single prompt, grounded in your workspace data.
3333

3434
<p align="center">
35-
<img src="apps/sim/public/static/copilot.gif" alt="Copilot Demo" width="800"/>
35+
<img src="apps/sim/public/static/files.gif" alt="Mothership generating a document from a prompt" width="800"/>
3636
</p>
3737

38-
### Integrate Vector Databases
39-
Upload documents to a vector store and let agents answer questions grounded in your specific content.
38+
### Ground agents in your knowledge
39+
Upload documents to a knowledge base and let agents answer questions from your own content.
4040

4141
<p align="center">
42-
<img src="apps/sim/public/static/knowledge.gif" alt="Knowledge Uploads and Retrieval Demo" width="800"/>
42+
<img src="apps/sim/public/static/knowledge.gif" alt="Creating a knowledge base" width="460"/>
43+
</p>
44+
45+
### Structured data with Tables
46+
A database, built in. Store, query, and wire structured data into agent runs.
47+
48+
<p align="center">
49+
<img src="apps/sim/public/static/tables.png" alt="Tables view with typed columns" width="800"/>
50+
</p>
51+
52+
### Build visually with Workflows
53+
Prefer a canvas? Design agents block by block in the visual builder, and let Copilot generate blocks, wire variables, and fix errors from natural language.
54+
55+
<p align="center">
56+
<img src="apps/sim/public/static/workflow.gif" alt="Workflow builder demo" width="800"/>
4357
</p>
4458

4559
## Quickstart
@@ -74,7 +88,7 @@ docker compose -f docker-compose.prod.yml up -d
7488

7589
Open [http://localhost:3000](http://localhost:3000)
7690

77-
Sim also supports local models via [Ollama](https://ollama.ai) and [vLLM](https://docs.vllm.ai/) — see the [Docker self-hosting docs](https://docs.sim.ai/self-hosting/docker) for setup details.
91+
Sim also supports local models via [Ollama](https://ollama.ai) and [vLLM](https://docs.vllm.ai/). See the [Docker self-hosting docs](https://docs.sim.ai/self-hosting/docker) for setup details.
7892

7993
### Self-hosted: Manual Setup
8094

apps/docs/content/docs/de/tools/slack.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ In Sim ermöglicht die Slack-Integration Ihren Agenten, programmatisch mit Slack
4141
- **Reaktionen hinzufügen**: Drücken Sie Stimmungen oder Bestätigungen aus, indem Sie Emoji-Reaktionen zu jeder Nachricht hinzufügen
4242
- **Canvases erstellen**: Erstellen und teilen Sie Slack-Canvases (kollaborative Dokumente) direkt in Kanälen, um reichhaltigere Inhalte zu teilen und zu dokumentieren
4343
- **Nachrichten lesen**: Lesen Sie aktuelle Nachrichten aus Kanälen, um Überwachung, Berichterstattung oder das Auslösen weiterer Aktionen basierend auf Kanalaktivitäten zu ermöglichen
44-
- **Dateien herunterladen**: Rufen Sie in Slack-Kanälen geteilte Dateien zur Verarbeitung oder Archivierung ab
44+
- **Dateien herunterladen**: Rufen Sie in Slack-Kanälen geteilte Dateien zur Verarbeitung in einem Workflow ab
4545

4646
Dies ermöglicht leistungsstarke Automatisierungsszenarien wie das Senden von Benachrichtigungen mit dynamischen Updates, das Verwalten von Gesprächsabläufen mit bearbeitbaren Statusnachrichten, das Bestätigen wichtiger Nachrichten mit Reaktionen und das Sauberhalten von Kanälen durch Entfernen veralteter Bot-Nachrichten. Ihre Agenten können zeitnahe Informationen liefern, Nachrichten aktualisieren, während Workflows fortschreiten, kollaborative Dokumente erstellen oder Teammitglieder benachrichtigen, wenn Aufmerksamkeit benötigt wird. Diese Integration überbrückt die Lücke zwischen Ihren KI-Workflows und der Kommunikation Ihres Teams und stellt sicher, dass jeder mit genauen, aktuellen Informationen auf dem Laufenden bleibt. Durch die Verbindung von Sim mit Slack können Sie Agenten erstellen, die Ihr Team mit relevanten Informationen zur richtigen Zeit auf dem Laufenden halten, die Zusammenarbeit verbessern, indem sie Erkenntnisse automatisch teilen und aktualisieren, und die Notwendigkeit manueller Statusaktualisierungen reduzieren – alles während Sie Ihren bestehenden Slack-Workspace nutzen, in dem Ihr Team bereits kommuniziert.
4747
{/* MANUAL-CONTENT-END */}

apps/docs/content/docs/en/enterprise/sso.mdx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,10 @@ SSO provisioning creates internal organization members. External workspace membe
250250
question: "Can I still use email/password login after enabling SSO?",
251251
answer: "Yes. Enabling SSO does not disable password-based login. Users can still sign in with their email and password if they have one. Forced SSO (requiring all users on the domain to use SSO) is not yet supported."
252252
},
253+
{
254+
question: "A user already has an account with the same email — what happens when they sign in with SSO?",
255+
answer: "Sim links the SSO identity to the existing account automatically, as long as your identity provider reports the email as verified (email_verified) or the provider is trusted. Most OIDC providers (Okta, Google Workspace, Auth0) assert email_verified, so linking just works. If sign-in fails with 'account not linked' — common with SAML providers that omit the claim — add the provider's ID to SSO_TRUSTED_PROVIDER_IDS on self-hosted and restart."
256+
},
253257
{
254258
question: "Who can configure SSO on Sim Cloud?",
255259
answer: "Organization owners and admins can configure SSO. You must be on the Enterprise plan."
@@ -280,8 +284,25 @@ NEXT_PUBLIC_SSO_ENABLED=true
280284
# Required if you want users auto-added to your organization on first SSO sign-in
281285
ORGANIZATIONS_ENABLED=true
282286
NEXT_PUBLIC_ORGANIZATIONS_ENABLED=true
287+
288+
# Optional: comma-separated SSO provider IDs to trust for automatic account linking
289+
# (links an SSO sign-in to an existing account with the same email). Needed when your
290+
# IdP does not assert email_verified — typically SAML providers, or OIDC providers that
291+
# omit the claim. Set it to the Provider ID you registered, then restart.
292+
# (If you also keep SSO_PROVIDER_ID in the app's environment, that provider is trusted
293+
# without listing it here.)
294+
SSO_TRUSTED_PROVIDER_IDS=custom-oidc,partner-saml
283295
```
284296

297+
<Callout type="info">
298+
When someone signs in with SSO and an account with the same email already exists
299+
(for example, they previously signed up with email/password), Sim links the SSO
300+
identity to that account automatically as long as your IdP reports the email as
301+
verified, or the provider is trusted. If you hit an `account not linked` error,
302+
either confirm your IdP sends `email_verified`, or add the provider's ID to
303+
`SSO_TRUSTED_PROVIDER_IDS` and restart.
304+
</Callout>
305+
285306
You can register providers through the **Settings UI** (same as cloud) or by running the registration script directly against your database.
286307

287308
### Script-based registration

apps/docs/content/docs/en/self-hosting/environment-variables.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,19 @@ import { Callout } from 'fumadocs-ui/components/callout'
7070
| `ALLOWED_LOGIN_EMAILS` | Restrict signups to specific emails (comma-separated) |
7171
| `DISABLE_REGISTRATION` | Set to `true` to disable new user signups |
7272

73+
## File Storage
74+
75+
By default Sim writes uploads to local disk. For production, point it at AWS S3 or Azure Blob. See [Object Storage](/self-hosting/object-storage) for the full setup, bucket layout, and IAM policy.
76+
77+
| Variable | Description |
78+
|----------|-------------|
79+
| `AWS_REGION` | AWS region — set with `S3_BUCKET_NAME` to enable S3 |
80+
| `AWS_ACCESS_KEY_ID` | AWS access key. Omit to use the instance/IRSA credential chain |
81+
| `AWS_SECRET_ACCESS_KEY` | AWS secret key. Omit to use the instance/IRSA credential chain |
82+
| `S3_BUCKET_NAME` | General workspace files bucket — set with `AWS_REGION` to enable S3 |
83+
| `AZURE_STORAGE_CONTAINER_NAME` | General files container — set with Azure credentials to enable Blob (takes precedence over S3) |
84+
| `AZURE_CONNECTION_STRING` | Azure connection string, or use `AZURE_ACCOUNT_NAME` + `AZURE_ACCOUNT_KEY` |
85+
7386
## Email Providers
7487

7588
Configure one provider — the mailer auto-detects in priority order: **Resend → AWS SES → SMTP → Azure Communication Services**. If none are configured, emails are logged to the console instead.

apps/docs/content/docs/en/self-hosting/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"docker",
66
"kubernetes",
77
"platforms",
8+
"object-storage",
89
"environment-variables",
910
"troubleshooting"
1011
],

0 commit comments

Comments
 (0)