> ## Documentation Index
> Fetch the complete documentation index at: https://012e27a-docs-2.manicule.dev/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://012e27a-docs-2.manicule.dev/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://012e27a-docs-2.manicule.dev/api/mcp.
> Every agent surface: https://012e27a-docs-2.manicule.dev/.well-known/llms-manifest.json

# Welcome to BhaiCode (/)

<!-- agent-signals: reading_time_min: 4 · est_tokens: 1666 · updated: 2026-11-12 -->
Related: [Starter Templates](/getting-started/templates.md)

> Two development surfaces — a native desktop workspace and an in-browser studio — powered by one agent core, in your language.

BhaiCode is a sovereign, developer-first AI coding platform. Pick the surface that
matches how you work; both share the same agent core, connectors, and Indic
multilingual engine.

<CardGroup cols="2">
<Card title="Desktop Workspace" icon="monitor" href="/desktop/overview" cta="Explore the desktop app">Native Tauri 2 + Rust + React 19. ~7–8 MB installer, ~45 MB idle RAM, local-first
execution, PTY terminal, and a visual diff review before anything touches disk.</Card>

<Card title="Cloud Studio" icon="cloud" href="/studio/overview" cta="Tour Cloud Studio">Zero-setup browser IDE at [app.bhaico.de](https://app.bhaico.de). Stream code,
preview on any device, provision a database, and ship to the edge in one click.</Card>
</CardGroup>

## Which surface should I use?

| You want to…                                                       | Use                   | Why                                                           |
| ------------------------------------------------------------------ | --------------------- | ------------------------------------------------------------- |
| Work with an existing local repo, private code, or offline         | **Desktop Workspace** | Code never leaves your machine; keys live in the OS keychain  |
| Debug a terminal process, run migrations, or go deep in a codebase | **Desktop Workspace** | Real PTY, multi-file diffs, checkpoints you can roll back     |
| Start from a prompt in seconds with nothing installed              | **Cloud Studio**      | In-browser WebAssembly compiler, live preview, instant deploy |
| Ship a full-stack app with a database and a custom domain          | **Cloud Studio**      | 1-click Postgres/D1 provisioning and edge hosting             |

<Tip>Not sure? Start with **Cloud Studio** to prototype, then
[import the project](/getting-started/import-projects) into **Desktop Workspace** when
you need local execution and full control.</Tip>

## One agent core, two surfaces

```mermaid
flowchart LR
    subgraph S["Surfaces"]
        D["Desktop Workspace<br/>Tauri 2 · local-first"]
        C["Cloud Studio<br/>browser · zero setup"]
    end
    subgraph A["Agent core"]
        B["Bhai<br/>lead orchestrator"]
        P["Planner<br/>architecture"]
        E["Executor<br/>refactors"]
    end
    subgraph X["Platform"]
        K["Connectors<br/>GitHub · Vercel · Neon"]
        H["Deployments<br/>edge · Vercel · Netlify"]
    end
    D --> B
    C --> B
    B <--> P
    B <--> E
    C --> K
    C --> H
```

### Desktop Workspace

* **Agentic Canvas Mode**: hand Bhai a task; it plans, edits across files, and reports progress live.
* **Ask AI on Selection**: highlight code and press `Cmd + K` / `Ctrl + K` to explain, refactor, or test it.
* **Multi-file diff review**: accept or reject hunk by hunk, with checkpoint rollback.
* **Transparency Dock**: approval gates before shell commands or out-of-workspace writes.
* **Integrated PTY terminal**: `xterm.js` + `portable-pty` with OSC 133 command blocks.
* **Local-first secrets**: API keys in macOS Keychain, Windows Credential Manager, or Linux Secret Service; offline models via Ollama.

### Cloud Studio

* **Prompt to app**: Next.js, Vite + React, Astro, Remix, or SvelteKit, compiled in the browser.
* **Live responsive preview**: desktop, tablet, and mobile viewports with a live console.
* **1-click connectors**: GitHub, GitLab, Vercel, Netlify, Neon, Supabase, Linear, Sentry via OAuth.
* **Instant deploys**: `*.bhaico.dev` subdomains with free TLS, or push to Vercel and Netlify.

## Built for how India writes code

Prompt in the language you think in — BhaiCode keeps code syntax intact while
explanations flow naturally.

| Language | Script | Example prompt                                                      |
| -------- | ------ | ------------------------------------------------------------------- |
| Hindi    | हिन्दी | `इस कार्ट में coupon validation जोड़ो, पुराने checkout को न छेड़ो।` |
| Hinglish | Latin  | `Cart me coupon validation add karo, older checkout mat todo.`      |
| Bengali  | বাংলা  | `এখানে অথেন্টিকেশন ফলব্যাক যোগ করুন।`                               |
| Tamil    | தமிழ்  | `இங்கே பிழை கையாளுதலைச் சேர்க்கவும்.`                               |

Supported languages: Hindi, Hinglish, Bengali, Tamil, Telugu, Marathi, Kannada,
Gujarati, Malayalam, Punjabi, Odia, and English. See
[Multilingual intelligence](/agents/multilingual) for the zero-syntax-corruption guarantee.

## Get started

<Steps>
  <Step title="Install the desktop app">
    Download for macOS, Windows, or Linux, then add a provider key or point BhaiCode
    at a local Ollama model.

    [Download & install →](/getting-started/installation)
  </Step>

  <Step title="Build in the browser">
    Open [app.bhaico.de](https://app.bhaico.de), describe your app, and watch it stream
    into the live preview.

    [Cloud Studio quickstart →](/getting-started/quickstart)
  </Step>

  <Step title="Bring your own code">
    Open a local repository or import from GitHub/GitLab and keep working where you left off.

    [Import existing projects →](/getting-started/import-projects)
  </Step>
</Steps>

## Explore the docs

<CardGroup cols="3">
<Card title="Desktop Workspace" icon="monitor" href="/desktop/overview">Architecture, benchmarks, agentic mode, editor, diffs, terminal, and approval gates.</Card>

<Card title="Cloud Studio" icon="cloud" href="/studio/overview">Workspace layout, chat, editor, live preview, and version control.</Card>

<Card title="Subagents Swarm" icon="users" href="/agents/overview">How Bhai, Planner, and Executor divide large tasks.</Card>

<Card title="Connectors" icon="plug" href="/connectors/overview">OAuth integrations for source control, hosting, databases, and issue trackers.</Card>

<Card title="Deployments" icon="upload-cloud" href="/deployments/multi-cloud">Edge hosting, custom domains, build logs, and atomic rollbacks.</Card>

<Card title="Databases" icon="database" href="/databases/overview">Cloudflare D1, Neon Postgres, and Supabase with migrations.</Card>

<Card title="Security & Privacy" icon="shield" href="/security/privacy">Zero code training, AES-256-GCM token vault, and execution isolation.</Card>

<Card title="Starter Templates" icon="layout-template" href="/getting-started/templates">Pre-configured stacks for SPAs, full-stack apps, and content sites.</Card>

<Card title="Troubleshooting" icon="life-buoy" href="https://bhaico.de/contact">Stuck on an install, build, or deploy? Talk to the team.</Card>
</CardGroup>
