The Turtini IDE — code your Turtini-connected app in the browser
The Turtini IDE is a full code editor in your browser — connected to a GitHub repo, with live preview, an AI chat agent that can read and edit code, and a one-click deploy to your Turtini-hosted domain. Think Lovable or Bolt, except it's wired straight into your Turtini org's data, integrations, and modules.
The IDE shell, left to right:
• File tree — directory listing of the connected repo, with dirty markers for unsaved buffers
• Monaco editor — the actual code editing surface (same engine as VS Code), with syntax highlighting + diff view
• Chat panel — talk to the AI agent in plain English; it reads code, suggests edits, applies them on confirm
• Preview pane — live render of your app at a private preview URL; refreshes automatically when you save
Getting in:
1. Builder & Sites → IDE tab (or /ide)
2. Pick a repo from the list of repos your connected GitHub account can read
3. Wait a few seconds while the session boots — the repo is cloned into a sandboxed runner, your turtini-dev token is installed, and the preview URL is provisioned
The IDE needs editor access. When a member is removed from the org, or their role drops below editor, the SDK keys their IDE sessions created are revoked and their IDE sessions in that org end. Removing a member also revokes every other API key they created in that org.
What gets persisted:
• Every dirty buffer is autosaved to the session every few seconds
• Closing the tab doesn't lose work — reopen the IDE and pick up where you left off
• Saved files only commit to the repo when you click "Commit & push" (you control the commit message)
The chat agent:
The chat panel runs Claude with read+write access to the session's filesystem. You can ask things like "rename this hook to useTurtiniSession", "add a 404 page", or "wire this form up to the Turtini SDK's createContact endpoint" — the agent reads the relevant files, proposes a diff, and applies it on confirm. Token usage is metered to your Turtini usage at a 15% margin.
The monthly token allowance:
Your IDE plan includes a monthly allowance of input tokens, shown in the IDE header. It counts only model calls Turtini serves. When your organization has its own AI endpoint connected (Settings → Wally model) and that endpoint serves a call, the call does not count against the allowance and Turtini does not charge for it; it still appears on Settings → Usage, at no charge. A call that falls back to Turtini-hosted models counts and is charged as usual. When the allowance runs out, ask Wally for a +25% increase (once every 30 days) or wait for the cycle to reset.
Deploying:
Once your code passes "look at the preview, click around" testing, click "Deploy". The IDE pushes the latest commits to GitHub, runs your repo's build, and uploads the output to your Turtini-hosted static-site bucket. It's typically live at your connected domain in under a minute.