Skip to content
Home
Docs/AI & AI Office

AI Assistant & AI Office

Free · all AI (BYOK)Pro · Swarmcode + cloud sync

Two modules in one: an AI assistant integrated in the editor (copilot) and AI Office, a team of autonomous agents that plans and executes complex tasks autonomously.

AI Assistant (copilot)

Quick actions

Select any code snippet and access quick actions by tapping the AI button:

ExplainDescribes what the selected code does
RefactorImproves structure without changing behavior
Add testsGenerates unit tests for the selected function
Code reviewDetects bugs, security issues and improvements
GenerateWrites code from a natural language description
DocumentAdds JSDoc, docstrings or inline comments

In-editor chat

Open the side chat panel to ask questions about the current file's code. The file context is automatically included in each message, so the model understands exactly what you're talking about without you needing to copy and paste code.

Available providers (4)

Free — with any provider (BYOK)

Google Gemini — use your own Gemini API key. Google AI Studio's free tier is generous (15 req/min, 1,500 req/day). Google discontinued the free Gemini OAuth login for individual accounts on 18 Jun 2026, so an AI Studio API key is the way in. PocketCode's Free plan adds no limits beyond what Google allows on your account.

PocketCode does not manage or proxy any AI service. The app connects your device directly to the provider using your own key.

Every provider is free — BYOK (add your own API key) or OAuth via the official CLIs (Claude Code, Codex). There is also a Custom OpenAI-compatible provider for OpenRouter, a local Ollama or your own server. PocketCode adds no credits: usage is billed by the provider directly to you (or nothing, for local models).

Google Gemini

Free · BYOK / OAuth

Gemini 2.5 Pro · 2.5 Flash · 2.0 Flash · Flash Lite

OpenAI (Codex)

Free · BYOK / OAuth

GPT-4.1 · GPT-4.1 Mini · GPT-4o · GPT-4o Mini · o3-mini

Anthropic Claude

Free · BYOK / OAuth

Sonnet 4 · Opus 4 · 3.5 Sonnet · 3.5 Haiku

GitHub Copilot

Free · OAuth

13 multi-vendor models (OpenAI, Anthropic, Meta Llama 4, Mistral, DeepSeek)

Four providers total. Copilot acts as a bridge to 13 additional multi-vendor models (Meta Llama, Mistral, DeepSeek…) without needing extra tokens.

AI OfficePremium

AI Office is a team of AI agents that work in coordination to execute complex development tasks: from designing the architecture to writing the code, tests and deploying.

How it works

  1. 1

    Describe the task

    Write what you want to build. Example: "Create a REST API with Node.js and Express for a JWT authentication system".

  2. 2

    AI generates the plan

    The Planner agent divides the task into phases, sprints and concrete tasks. Each task is assigned to the specialized agent.

  3. 3

    Review and approve

    Review the plan before executing. You can modify, delete or add tasks.

  4. 4

    Monitor execution

    Follow the progress in real time in the task board. Agents write code, create files and run commands.

  5. 5

    Review the result

    When finished, review all created files and executed tests.

Agent roles

🧠 Planner

Analyzes the task, designs the architecture and divides work into sprints

⚙️ Backend

Writes APIs, business logic, models and database migrations

🎨 Frontend

Creates UI components, styles and client-side logic

🧪 QA

Writes unit and integration tests and verifies coverage