Let Lancelot act
Fixes and autonomy
You decide how far Lancelot goes on its own, one kind of fix at a time.
The fixes
| Fix | What it does |
|---|---|
| Throttle | Limits a customer to a number of AI calls a minute (10 by default). |
| Pause | Stops AI features for a customer. |
| Switch model | Sends a customer's calls on an expensive model to a cheaper one you approved, for example Sonnet to Haiku. |
| Cap spend | Holds a customer's AI spend to a daily amount for the rest of the month. |
| Upgrade offer | Prepares an upgrade offer through a Stripe Payment Link you send. |
| Top-up offer | Prepares a top-up offer through a Stripe Payment Link you send. |
Every fix records why it was made, and every fix can be undone.
Autonomy levels
Set a level for each kind of fix on the Autonomy tab of the Activity page.
| Level | Lancelot |
|---|---|
| Off | Ignores it. |
| Suggest | Tells you. |
| Ask | Prepares it, you approve. |
| Auto | Does it, tells you after. |
Everything starts at Suggest. Approve or undo from the dashboard, from Slack, email or Telegram, or from an AI assistant.
Guardrails on Auto
Even on Auto, Lancelot asks first when:
- the fix is an upgrade or top-up offer;
- the fix would pause a paying customer;
- it has already acted on that customer today (one automatic fix per customer per day);
- it has reached the daily limit on automatic fixes: 5 by default, adjustable from 0 to 50.
On the Founder plan, Auto works like Ask. Autopilot starts on Growth.
Fixes need the SDK
Throttle, pause, switch model and cap spend are applied inside your app by the SDK, so they need enableFlags:
const lc = lancelot({ enableFlags: true });lc = lancelot(enable_flags=True)Until the SDK is checking flags, Lancelot only suggests these fixes. The SDK refreshes flags every 60 seconds, so an approved fix takes effect within a minute. A blocked call raises LancelotBlockedError; catch it to show your own message. See Node.js or Python.