Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const HOME_JSON_LD = {
'@id': `${SITE_URL}#software`,
url: SITE_URL,
name: 'Sim, The AI Workspace',
description: `Sim is the open-source AI workspace where companies build, distribute, and govern AI agents in one place. Teams build agents visually, conversationally, or with code across ${INTEGRATION_COUNT_LABEL} integrations and every major LLM, while administrators control model access, integration access, spend limits, and deployment. Trusted by over 100,000 builders. SOC2 compliant and self-hostable.`,
description: `Sim is the open-source AI workspace where companies build, distribute, and govern AI agents in one place. Teams build agents visually, conversationally, or with code across ${INTEGRATION_COUNT_LABEL} integrations and every major LLM, while administrators control model access, integration access, spend limits, and deployment. Trusted by over 100,000 builders. SOC 2 Type II audited and self-hostable.`,
applicationCategory: 'BusinessApplication',
applicationSubCategory: 'AI Workspace',
operatingSystem: 'Web',
Expand Down
2 changes: 1 addition & 1 deletion apps/sim/app/(landing)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const metadata: Metadata = {
},
description: HOME_PAGE_DESCRIPTION,
keywords:
'AI workspace, AI agent builder, AI agent workflow builder, build AI agents, visual workflow builder, open-source AI agent platform, AI agents, agentic workflows, LLM orchestration, AI automation, knowledge base, workflow builder, AI integrations, SOC2 compliant, enterprise AI',
'AI workspace, AI agent builder, AI agent workflow builder, build AI agents, visual workflow builder, open-source AI agent platform, AI agents, agentic workflows, LLM orchestration, AI automation, knowledge base, workflow builder, AI integrations, SOC 2 Type II, enterprise AI',
authors: [{ name: 'Sim' }],
creator: 'Sim',
publisher: 'Sim',
Expand Down
2 changes: 1 addition & 1 deletion apps/sim/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const viewport: Viewport = {
],
}

const SUMMARY_FULL = `Sim is the open-source AI workspace where teams build, deploy, and manage AI agents. Connect ${INTEGRATION_COUNT_LABEL} integrations and every major LLM to create agents that automate real work — visually, conversationally, or with code. Trusted by over 100,000 builders — from startups to Fortune 500 companies. SOC2 compliant.`
const SUMMARY_FULL = `Sim is the open-source AI workspace where teams build, deploy, and manage AI agents. Connect ${INTEGRATION_COUNT_LABEL} integrations and every major LLM to create agents that automate real work — visually, conversationally, or with code. Trusted by over 100,000 builders — from startups to Fortune 500 companies. SOC 2 Type II audited.`
const SUMMARY_SHORT = `Sim is the open-source AI workspace where teams build, deploy, and manage AI agents. Connect ${INTEGRATION_COUNT_LABEL} integrations and every major LLM to create agents that automate real work.`

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ Procurement teams should buy a pre-built agent for a narrow, standardized need a

Sim is the open-source AI workspace where procurement and IT teams build agents visually, conversationally, or with code. As of November 2026, it connects [270+ integrations](https://www.sim.ai/pricing) including Salesforce, Slack, Gmail, databases, and ERP systems, without adopting a rigid suite.

As of November 2026, its governance options include real-time collaboration, role-based access control, self-hosting for data residency, bring-your-own-keys, and SOC2 compliance. If you're weighing platforms more broadly, [the best AI agent platforms in 2026](https://www.sim.ai/library/best-ai-agent-platforms-2026) compares the field.
As of November 2026, its governance options include real-time collaboration, role-based access control, self-hosting for data residency, bring-your-own-keys, and a completed SOC 2 Type II audit. If you're weighing platforms more broadly, [the best AI agent platforms in 2026](https://www.sim.ai/library/best-ai-agent-platforms-2026) compares the field.


## What are the key differences between Sim and n8n for procurement agents?
Expand Down
2 changes: 1 addition & 1 deletion apps/sim/content/library/ai-agents-vs-rpa/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ AI agents aren't a universal upgrade. They can come with real costs and constrai

Implementation cost. Building, testing, and deploying AI agents can take months. The engineering lift can be heavier, and you need people who understand both the AI stack and the business process.

> If you're building the agent layer and want to skip the months of custom orchestration engineering, Sim's visual workflow builder lets you design, deploy, and connect AI agent workflows to your existing systems and RPA bots through a drag-and-drop interface with [270+ integrations](https://www.sim.ai/pricing). Sim is SOC 2 compliant and built for teams that want to move fast without sacrificing governance.
> If you're building the agent layer and want to skip the months of custom orchestration engineering, Sim's visual workflow builder lets you design, deploy, and connect AI agent workflows to your existing systems and RPA bots through a drag-and-drop interface with [270+ integrations](https://www.sim.ai/pricing). Sim has completed a SOC 2 Type II audit covering the Security criterion and is built for teams that want to move fast without sacrificing governance.

Probabilistic outputs. AI agents don't produce the same answer every time. They produce the best answer given their training and context. For most knowledge work, that's fine or even preferable. For compliance-critical workflows where regulators expect 100% deterministic, auditable outputs, probabilistic reasoning introduces risk that needs governance around it.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Data lives inside Sim rather than in a separate service you have to wire up. Nat

Real-time multiplayer lets more than one person edit the same workflow at once, the way you'd edit a shared document. If your Relay setup was maintained by a small team, you keep that collaborative build model instead of dropping back to one editor at a time.

For larger deployments, Sim offers SSO and SAML, bring-your-own-key so you use your own model provider credentials and billing, SOC 2 Type II compliance, and an Admin API for provisioning and governance. That path exists if you need to justify the tool to a security team or manage many users, and it's the same product, not a separate enterprise fork.
For larger deployments, Sim offers SSO and SAML, bring-your-own-key so you use your own model provider credentials and billing, a SOC 2 Type II report covering the Security criterion, and an Admin API for provisioning and governance. That path exists if you need to justify the tool to a security team or manage many users, and it's the same product, not a separate enterprise fork.

Here is the honest tradeoff. Sim's library of pre-built, third-party integrations is smaller than what n8n or Zapier ship today. If your Relay workflows lean on a long tail of niche SaaS connectors, you'll hit some that Sim doesn't have out of the box yet, and you'll cover the gap with a generic HTTP or API block instead of a one-click node. For workflows built on common services and AI steps, you won't notice. For a handful of obscure apps, you will, and it's worth checking your connector list before you commit.

Expand Down
10 changes: 5 additions & 5 deletions apps/sim/lib/compare/data/sim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -845,8 +845,8 @@ export const simProfile: CompetitorProfile = {
},
security: {
soc2: {
value: 'Yes: SOC2 compliant',
shortValue: 'SOC2 compliant',
value: 'Yes: SOC 2 Type II audit completed, covering the Security criterion',
shortValue: 'SOC 2 Type II audited (Security)',
confidence: 'verified',
sources: [
{
Expand Down Expand Up @@ -924,10 +924,10 @@ export const simProfile: CompetitorProfile = {
],
},
additionalCompliance: {
value: 'SOC2',
value: 'SOC 2 Type II (Security criterion); ISO 27001 certification in progress',
detail:
'Self-hosting is the primary lever Sim offers for data-residency-sensitive compliance needs beyond SOC2, rather than additional certifications.',
shortValue: 'SOC2',
'Self-hosting is the primary lever Sim offers for data-residency-sensitive compliance needs beyond SOC 2, rather than additional certifications.',
shortValue: 'SOC 2 Type II; ISO 27001 in progress',
confidence: 'estimated',
sources: [
{
Expand Down
2 changes: 1 addition & 1 deletion apps/sim/lib/workflows/code/catalog/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
type ExpandedBlockCatalog,
stableStringify,
} from '@sim/workflow-code'
import { SDK_MAJOR } from '@sim/workflow-sdk/codegen'
import { SDK_MAJOR } from '@sim/workflow-code/sdk'
import { containerBlock, projectBlock, projectTrigger } from '@/lib/workflows/code/catalog/project'
import {
operationOptions,
Expand Down
3 changes: 1 addition & 2 deletions apps/sim/lib/workflows/code/catalog/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -522,10 +522,9 @@ function projectEffects(
const effect = blockEffect(block)
if (effect === undefined) return {}
if (effect === 'read' || !operationTools) return { effect }
const access = new Set(block.tools.access)
const operationEffects: NonNullable<CatalogBlock['operationEffects']> = {}
for (const [operation, toolId] of operationTools) {
const operationEffect = access.has(toolId) ? accessIdEffect(toolId) : 'write'
const operationEffect = accessIdEffect(toolId)
if (operationEffect !== effect) operationEffects[operation] = operationEffect
}
return Object.keys(operationEffects).length > 0 ? { effect, operationEffects } : { effect }
Expand Down
2 changes: 1 addition & 1 deletion apps/sim/lib/workflows/code/real-catalog.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ describe('canonicalize and codegen over the real block catalog', () => {
? undefined
: block?.operationOutputs?.[builder.operation]
if (!builder || !block || !returned) return []
const produced = builderProducedOutputs(catalog, block, builder)
const { outputs: produced } = builderProducedOutputs(catalog, block, builder)
return returned.names
.filter((name) => Object.hasOwn(block.outputs, name) && !Object.hasOwn(produced, name))
.map((name) => `${key}.${name}`)
Expand Down
12 changes: 5 additions & 7 deletions apps/sim/lib/workflows/editing/engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -528,13 +528,11 @@ function removeInvalidScopeEdges(
})
}

if (dropped.length > 0) {
logger.info('Removed invalid workflow edges', {
refused: refusedEdgeIds.length,
removed: removedEdges.length,
reasons: dropped.map(({ reason }) => reason),
})
}
logger.info('Removed invalid workflow edges', {
refused: refusedEdgeIds.length,
removed: removedEdges.length,
reasons: dropped.map(({ reason }) => reason),
})

return { refusedEdgeIds, removedEdges }
}
53 changes: 0 additions & 53 deletions apps/sim/lib/workflows/executor/execution-status.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -813,59 +813,6 @@ describe('getWorkflowExecutionStatus once a pause has settled', () => {
})
})

describe('getProjectedWorkflowExecutionStatus overrides of a dry run logged before they were named', () => {
beforeEach(() => {
resetDbChainMock()
mockGetJob.mockResolvedValue(null)
})

it("keeps a child's blocks and the mocks read from another run, as a rerun names them", async () => {
queueTableRows(schemaMock.workflowExecutionLogs, [
{
executionId: 'execution-1',
workflowId: 'workflow-1',
workspaceId: 'workspace-1',
status: 'failed',
level: 'error',
trigger: 'test',
startedAt: new Date('2026-08-05T12:00:00.000Z'),
endedAt: new Date('2026-08-05T12:00:01.000Z'),
totalDurationMs: 1000,
executionData: {},
costTotal: null,
},
])
queueTableRows(schemaMock.resumeQueue, [])
queueTableRows(schemaMock.pausedExecutions, [])
mockMaterializeForDisplayWithBlockOutputs.mockResolvedValueOnce({
executionData: {
error: 'boom',
trigger: {
data: {
dryRun: {
allowBlocks: ['send'],
mockedBlocks: ['lookup'],
childAllowBlocks: [{ workflowId: 'child-1', blockId: 'notify' }],
childMockedBlocks: [{ workflowId: 'child-1', blockId: 'fetch' }],
mocksFrom: { runId: 'execution-0', blockIds: ['classify'] },
},
},
},
},
blockOutputs: new Map(),
placeholderBlockIds: new Set(),
})

const projected = await getProjectedWorkflowExecutionStatus(input)

expect(projected?.overrides).toEqual({
allow: ['send', 'child-1.notify'],
mocks: ['lookup', 'child-1.fetch'],
mocksFrom: { runId: 'execution-0', blocks: ['classify'] },
})
})
})

describe('readPausedRunPoints cap', () => {
beforeEach(() => {
resetDbChainMock()
Expand Down
37 changes: 5 additions & 32 deletions apps/sim/lib/workflows/executor/execution-status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
} from '@sim/db/schema'
import { compareStrings } from '@sim/utils/string'
import { and, eq, inArray, sql } from 'drizzle-orm'
import { z } from 'zod'
import { v2RunOverridesSchema } from '@/lib/api/contracts/v2/workflows'
import type { WorkflowExecutionStatusResponse } from '@/lib/api/contracts/workflows'
import { getJobQueue } from '@/lib/core/async-jobs'
Expand Down Expand Up @@ -49,7 +48,7 @@ type LogStatus = 'pending' | 'running' | 'completed' | 'failed' | 'cancelled'
interface ExecutionDataShape {
finalOutput?: unknown
traceSpans?: unknown
trigger?: { data?: { overrides?: unknown; dryRun?: unknown; placeholdersRecorded?: unknown } }
trigger?: { data?: { overrides?: unknown; placeholdersRecorded?: unknown } }
}

function resolvePath(value: unknown, path: string[]): unknown {
Expand Down Expand Up @@ -660,40 +659,14 @@ async function readWorkflowExecutionStatus(
}
}

const legacyChildBlockSchema = z.object({ workflowId: z.string(), blockId: z.string() })

/**
* The only other shape a log holds overrides in: a dry run logged before they were named
* `overrides` listed its own blocks by id, a child's apart with its workflow id, and the blocks
* mocked from another run under `blockIds`.
*/
const legacyDryRunSchema = z.object({
allowBlocks: z.array(z.string()),
mockedBlocks: z.array(z.string()),
childAllowBlocks: z.array(legacyChildBlockSchema).optional(),
childMockedBlocks: z.array(legacyChildBlockSchema).optional(),
mocksFrom: z.object({ runId: z.string(), blockIds: z.array(z.string()) }).optional(),
})

/**
* A dry run's overrides from its log's trigger, recovered with the rest of the execution data
* however it was stored, a log written before they were named `overrides` included; null for a
* test run that recorded none (a workflow test) or a record not in either shape.
* however it was stored; null for a test run that recorded none (a workflow test) or a record
* not in that shape.
*/
function readOverrides(executionData: ExecutionDataShape | null): RunOverrides | null {
const data = executionData?.trigger?.data
const parsed = v2RunOverridesSchema.safeParse(data?.overrides)
if (parsed.success) return parsed.data
const legacy = legacyDryRunSchema.safeParse(data?.dryRun)
if (!legacy.success) return null
const { allowBlocks, mockedBlocks, childAllowBlocks, childMockedBlocks, mocksFrom } = legacy.data
const childSelector = ({ workflowId, blockId }: { workflowId: string; blockId: string }) =>
`${workflowId}.${blockId}`
return {
allow: [...allowBlocks, ...(childAllowBlocks ?? []).map(childSelector)],
mocks: [...mockedBlocks, ...(childMockedBlocks ?? []).map(childSelector)],
...(mocksFrom ? { mocksFrom: { runId: mocksFrom.runId, blocks: mocksFrom.blockIds } } : {}),
}
const parsed = v2RunOverridesSchema.safeParse(executionData?.trigger?.data?.overrides)
return parsed.success ? parsed.data : null
}

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/sim-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ sim workflows source get <workflowId> --dir ./support-triage # write workflow.
sim workflows source check --dir ./support-triage # compile offline, no request
sim workflows source status --dir ./support-triage # your edits, server changes, next step
sim workflows source diff --dir ./support-triage # your edits as a unified diff
sim workflows source apply --dir ./support-triage --dry # run every check a save runs
sim workflows source apply --dir ./support-triage --dry # run every check a save runs
sim workflows source apply --dir ./support-triage --yes # save the draft (never deploys)
```

Expand Down
19 changes: 8 additions & 11 deletions packages/sim-cli/src/commands/protocol/source-check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,7 @@ import {
} from './source-tree'
import { type TypeCheck, typeCheck } from './source-types'
import { type Diagnostic, findingsOutput } from './source-ui'
import {
blockDigest,
compiledWithChildResults,
readStoredBlockDigests,
readStoredEdges,
readStoredUntypedFields,
} from './stored-edges'
import { blockDigest, compiledWithChildResults, readStoredRecord } from './stored-edges'
import { lockRecoveryHint, readSourceFiles, resourceNodes } from './workflow-dir'
import {
type DeclaredColumn,
Expand Down Expand Up @@ -473,13 +467,16 @@ async function compileWorkflowDir(
const lockText = await readSourceText(dir, SOURCE_LOCK_FILE)
const parsedLock = lockText === null ? null : parseWorkflowLock(lockText)
const lock = parsedLock?.lock
const [files, storedEdges, storedBlocks, storedUntypedFields, printedWith] = await Promise.all([
const [files, stored, printedWith] = await Promise.all([
readSourceFiles(dir, lock ?? null),
readStoredEdges(dir),
readStoredBlockDigests(dir),
readStoredUntypedFields(dir),
readStoredRecord(dir),
cachedSourceCatalog(dir),
])
const {
edges: storedEdges,
blockDigests: storedBlocks,
untypedJsonFields: storedUntypedFields,
} = stored
const catalog = printedWith ?? workspaceCatalog
// Compiled against another catalog than the source was printed with, a field may store a
// reference differently with no edit, so the record says nothing of what the edit changed.
Expand Down
9 changes: 2 additions & 7 deletions packages/sim-cli/src/commands/protocol/source-primer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,8 @@
*/
import type { BlockCatalog } from '@sim/workflow-code'
import { SOURCE_BASE_FILE, SOURCE_ENTRY_FILE, SOURCE_LOCK_FILE } from '@sim/workflow-code/limits'
import { SDK_SPECIAL_BUILDERS } from '@sim/workflow-code/sdk'
import {
builderSnippet,
describeBuilder,
referencedBuilders,
SDK_MAJOR,
} from '@sim/workflow-sdk/codegen'
import { SDK_MAJOR, SDK_SPECIAL_BUILDERS } from '@sim/workflow-code/sdk'
import { builderSnippet, describeBuilder, referencedBuilders } from '@sim/workflow-sdk/codegen'
import {
RATE_LIMITED_EXIT_CODE,
SOURCE_BUSY_EXIT_CODE,
Expand Down
2 changes: 1 addition & 1 deletion packages/sim-cli/src/commands/protocol/source-tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { escapeRegExp } from '@sim/utils/string'
import type { BlockCatalog } from '@sim/workflow-code'
import { catalogBlock } from '@sim/workflow-code/catalog/view'
import { SOURCE_BASE_FILE } from '@sim/workflow-code/limits'
import { SDK_MAJOR } from '@sim/workflow-code/sdk'
import {
COOKBOOK_EXAMPLES,
CORE_DTS,
Expand All @@ -23,7 +24,6 @@ import {
generateWorkspaceTypes,
referencedBlockTypes,
SDK_INDEX_FILE,
SDK_MAJOR,
SDK_MODELS_FILE,
sdkIndexHeader,
type WorkspaceManifest,
Expand Down
Loading
Loading