|
| 1 | +--- |
| 2 | +title: Copilot |
| 3 | +description: Build and edit workflows with Sim Copilot |
| 4 | +--- |
| 5 | + |
| 6 | +import { Callout } from 'fumadocs-ui/components/callout' |
| 7 | +import { Card, Cards } from 'fumadocs-ui/components/card' |
| 8 | +import { MessageCircle, Package, Zap, Infinity as InfinityIcon, Brain, BrainCircuit } from 'lucide-react' |
| 9 | + |
| 10 | +## What is Copilot |
| 11 | + |
| 12 | +Copilot is your in-editor assistant that helps you build, understand, and improve workflows. It can: |
| 13 | + |
| 14 | +- **Explain**: Answer questions about Sim and your current workflow |
| 15 | +- **Guide**: Suggest edits and best practices |
| 16 | +- **Edit**: Make changes to blocks, connections, and settings when you approve |
| 17 | + |
| 18 | +<Callout type="info"> |
| 19 | + Copilot is a Sim-managed service. For self-hosted deployments, generate a Copilot API key in the hosted app (sim.ai → Settings → Copilot) and set `COPILOT_API_KEY` in your environment. |
| 20 | +</Callout> |
| 21 | + |
| 22 | +## Modes |
| 23 | + |
| 24 | +<Cards> |
| 25 | + <Card title="Ask"> |
| 26 | + <div className="flex items-start gap-3"> |
| 27 | + <span className="mt-0.5 inline-flex h-8 w-8 items-center justify-center rounded-md border border-border/50 bg-muted/60"> |
| 28 | + <MessageCircle className="h-4 w-4 text-muted-foreground" /> |
| 29 | + </span> |
| 30 | + <div> |
| 31 | + <p className="m-0 text-sm"> |
| 32 | + Q&A mode for explanations, guidance, and suggestions without making changes to your workflow. |
| 33 | + </p> |
| 34 | + </div> |
| 35 | + </div> |
| 36 | + </Card> |
| 37 | + <Card title="Agent"> |
| 38 | + <div className="flex items-start gap-3"> |
| 39 | + <span className="mt-0.5 inline-flex h-8 w-8 items-center justify-center rounded-md border border-border/50 bg-muted/60"> |
| 40 | + <Package className="h-4 w-4 text-muted-foreground" /> |
| 41 | + </span> |
| 42 | + <div> |
| 43 | + <p className="m-0 text-sm"> |
| 44 | + Build-and-edit mode. Copilot proposes specific edits (add blocks, wire variables, tweak settings) and applies them when you approve. |
| 45 | + </p> |
| 46 | + </div> |
| 47 | + </div> |
| 48 | + </Card> |
| 49 | +</Cards> |
| 50 | + |
| 51 | +## Depth Levels |
| 52 | + |
| 53 | +<Cards> |
| 54 | + <Card title="Fast"> |
| 55 | + <div className="flex items-start gap-3"> |
| 56 | + <span className="mt-0.5 inline-flex h-8 w-8 items-center justify-center rounded-md border border-border/50 bg-muted/60"> |
| 57 | + <Zap className="h-4 w-4 text-muted-foreground" /> |
| 58 | + </span> |
| 59 | + <div> |
| 60 | + <p className="m-0 text-sm">Quickest and cheapest. Best for small edits, simple workflows, and minor tweaks.</p> |
| 61 | + </div> |
| 62 | + </div> |
| 63 | + </Card> |
| 64 | + <Card title="Auto"> |
| 65 | + <div className="flex items-start gap-3"> |
| 66 | + <span className="mt-0.5 inline-flex h-8 w-8 items-center justify-center rounded-md border border-border/50 bg-muted/60"> |
| 67 | + <InfinityIcon className="h-4 w-4 text-muted-foreground" /> |
| 68 | + </span> |
| 69 | + <div> |
| 70 | + <p className="m-0 text-sm">Balanced speed and reasoning. Recommended default for most tasks.</p> |
| 71 | + </div> |
| 72 | + </div> |
| 73 | + </Card> |
| 74 | + <Card title="Pro"> |
| 75 | + <div className="flex items-start gap-3"> |
| 76 | + <span className="mt-0.5 inline-flex h-8 w-8 items-center justify-center rounded-md border border-border/50 bg-muted/60"> |
| 77 | + <Brain className="h-4 w-4 text-muted-foreground" /> |
| 78 | + </span> |
| 79 | + <div> |
| 80 | + <p className="m-0 text-sm">More reasoning for larger workflows and complex edits while staying performant.</p> |
| 81 | + </div> |
| 82 | + </div> |
| 83 | + </Card> |
| 84 | + <Card title="Max"> |
| 85 | + <div className="flex items-start gap-3"> |
| 86 | + <span className="mt-0.5 inline-flex h-8 w-8 items-center justify-center rounded-md border border-border/50 bg-muted/60"> |
| 87 | + <BrainCircuit className="h-4 w-4 text-muted-foreground" /> |
| 88 | + </span> |
| 89 | + <div> |
| 90 | + <p className="m-0 text-sm">Maximum reasoning for deep planning, debugging, and complex architectural changes.</p> |
| 91 | + </div> |
| 92 | + </div> |
| 93 | + </Card> |
| 94 | +</Cards> |
0 commit comments