Elffuss BraidHub

kikocis/continue public

f433400a74a4 · 8.5 KiBRawPermalink
1---
2title: "Understanding Assistants: Hub vs Local Configuration"
3description: "Master the two approaches to configuring AI assistants in Continue - choosing the right path for your development workflow"
4---
5
6Every developer has unique needs when it comes to AI assistance. Some prefer the convenience of cloud-managed configurations, while others need the control and privacy of local setups. Continue offers both paths, and this guide will help you choose the right one for your workflow.
7
8## The Two Paths to AI Assistance
9
10Think of Continue's configuration options like choosing between a managed service and self-hosting. Both get you to the same destination—powerful AI assistance in your IDE—but the journey and control level differ significantly.
11
12### Accessing Your Assistant Configuration
13
14Before we dive into the specifics, let's understand how to access your configuration:
15
161. Open the Continue Chat sidebar by pressing <kbd>cmd/ctrl</kbd> + <kbd>L</kbd> (VS Code) or <kbd>cmd/ctrl</kbd> + <kbd>J</kbd> (JetBrains)
172. Click the Assistant selector above the main chat input
183. Hover over an assistant and click:
19 - `new window` icon for Hub assistants
20 - `gear` icon for Local assistants
21
22![configure an assistant](/images/configure-continue.png)
23
24## Hub Assistants: The Managed Experience
25
26Hub Assistants represent the "it just works" philosophy. When you [sign in to Continue Hub](https://auth.continue.dev/), you gain access to a curated ecosystem of pre-configured assistants that sync seamlessly across all your development environments.
27
28### Why Choose Hub Assistants?
29
30**The Power of Simplicity**
31- **Instant Setup**: Browse the [assistant marketplace](https://hub.continue.dev/explore/assistants) and add any assistant to your account with a single click
32- **Web-Based Management**: Configure models, add secrets, and customize settings through an intuitive web interface—no JSON editing required
33- **Automatic Synchronization**: Make a change on the hub, and it reflects immediately across all your IDE instances
34- **Team Collaboration**: Share custom assistants with your team, ensuring everyone uses the same optimized configurations
35
36![nextjs assistant](/images/nextjs-assistant.png)
37
38### Getting Started with Hub Assistants
39
40The journey from zero to AI-powered coding takes just four steps:
41
421. **Select Your Assistant**: Click the assistant selector in your IDE's Continue panel
432. **Explore or Create**: Browse community assistants or craft your own specialized helper
443. **Secure Your Keys**: Add API keys as [User Secrets](https://hub.continue.dev/settings/secrets) in the hub—they're encrypted and never exposed
454. **Sync and Code**: Click "Reload config" to pull your latest settings
46
47Pro tip: Hub Assistants are perfect for teams. Create a custom assistant with your team's coding standards, preferred models, and context sources, then share it with a simple link.
48
49### Managing Hub Assistants
50
51All Hub Assistant management happens through [the Hub](https://hub.continue.dev). For detailed customization, see our guide on [Editing an Assistant](/hub/assistants/edit-an-assistant).
52
53## Local Assistants: The Power User's Choice
54
55Local Assistants put you in the driver's seat. Using a `config.yaml` file, you have complete control over every aspect of your AI assistant's behavior, with all configuration stored directly on your machine.
56
57### Why Choose Local Assistants?
58
59**Complete Control and Privacy**
60- **Your Data, Your Rules**: All configuration stays on your machine—perfect for air-gapped environments or strict data policies
61- **Version Control Integration**: Check your `config.yaml` into git alongside your code, ensuring reproducible environments
62- **Offline Capability**: Once configured, no internet connection needed (assuming you're using local models)
63- **Unlimited Customization**: Access every configuration option, experimental feature, and advanced setting
64
65### Setting Up Local Assistants
66
67Local configuration lives in a single YAML file in your home directory:
68
69**File Locations:**
70- macOS/Linux: `~/.continue/config.yaml`
71- Windows: `%USERPROFILE%\.continue\config.yaml`
72
73**Quick Access Method:**
741. Open the assistants dropdown in your IDE
752. Click the gear icon next to "Local Assistant"
763. The `config.yaml` file opens in your editor
77
78![local-config-open-steps](/images/local-config-open-steps.png)
79
80### The Local Assistant Experience
81
82When you edit your `config.yaml`, Continue provides intelligent autocomplete for all available options. Save the file, and Continue automatically reloads your configuration—no restart required.
83
84The first time you use Continue, it generates a `config.yaml` with sensible defaults. From there, you can customize everything from model selection to context providers, slash commands, and more.
85
86For the complete configuration reference, see our [config.yaml documentation](/reference).
87
88## Making the Right Choice
89
90The decision between Hub and Local assistants often comes down to your specific needs and constraints. Here's a framework to help you decide:
91
92### Choose Hub Assistants When You:
93
94**Value Convenience Over Control**
95- Want to start coding with AI assistance in under 60 seconds
96- Prefer visual interfaces over editing configuration files
97- Need to switch between multiple machines frequently
98- Work in a team that needs standardized AI assistance
99
100**Need Advanced Collaboration**
101- Want to share custom assistants with teammates
102- Need centralized API key management
103- Require quick updates across your entire organization
104
105**Are Getting Started**
106- New to AI-powered development
107- Want to experiment with different models and configurations
108- Prefer guided setup experiences
109
110### Choose Local Assistants When You:
111
112**Require Maximum Control**
113- Need to version control your exact configuration
114- Want to customize every aspect of the AI behavior
115- Require reproducible development environments
116
117**Have Privacy Requirements**
118- Work with sensitive code that requires air-gapped environments
119- Need to ensure all configuration data stays local
120- Have strict compliance requirements about data storage
121
122**Are a Power User**
123- Comfortable editing YAML/JSON files
124- Want access to experimental features
125- Need to integrate with local tools and scripts
126
127## The Hybrid Approach
128
129Here's a secret: you don't have to choose just one. Many developers use both approaches:
130
131- **Hub Assistants** for general development and experimentation
132- **Local Assistants** for production work or client projects with specific requirements
133
134You can switch between them seamlessly using the assistant selector in your IDE.
135
136## Common Patterns and Best Practices
137
138### For Hub Assistant Users
139
1401. **Start with Community Assistants**: Before creating your own, explore what others have built
1412. **Use Secrets Properly**: Never hardcode API keys—always use the User Secrets feature
1423. **Create Specialized Assistants**: Make different assistants for different contexts (frontend, backend, DevOps)
1434. **Share Liberally**: If you create something useful, share it with the community
144
145### For Local Assistant Users
146
1471. **Version Control Your Config**: Treat your `config.yaml` like code—commit it, review changes, and maintain history
1482. **Use Environment Variables**: For sensitive data, reference environment variables instead of hardcoding values
1493. **Document Your Setup**: Add comments to your config explaining non-obvious choices
1504. **Keep a Backup**: Before major changes, save a working copy of your configuration
151
152## Troubleshooting and Tips
153
154### Hub Assistant Issues
155
156**Changes Not Reflecting?**
157- Click "Reload config" in your IDE
158- Check your internet connection
159- Ensure you're signed in to the correct account
160
161**Assistant Not Available?**
162- Verify it's added to your account on the hub
163- Check if it requires specific API keys
164
165### Local Assistant Issues
166
167**Config Not Loading?**
168- Verify file location matches your OS
169- Check YAML syntax (Continue will show errors)
170- Ensure file permissions allow reading
171
172**Autocomplete Not Working?**
173- Update to the latest Continue version
174- Check that you're editing the correct file
175
176## Next Steps
177
178Now that you understand both configuration approaches, you're ready to dive deeper:
179
180- **For Hub Users**: [Create Your First Assistant](/hub/assistants/create-an-assistant)
181- **For Local Users**: [Explore the Config Reference](/reference)
182- **For Everyone**: [Discover Available Models](/customize/model-providers/overview)
183
184Remember, the best configuration is the one that helps you code more effectively. Start simple, experiment freely, and gradually refine your setup as you discover what works best for your workflow.
185
186Happy coding with Continue! 🚀