Skip to main content
Documentation · v1.0 Guide

How Keina Works Under the Hood

Clear boundaries across local storage, squad structure, model routing, mailbox workflows, browser profiles, and scheduled pipelines.

Jump to section

1. Quickstart & Local Setup

Keina runs a lightweight desktop UI alongside a dedicated local background service and SQLite store on your machine.

  • First launch opens straight into Keina’s command desk while the isolated browser prepares silently in the background.
  • All projects, drafts, proxy assignments, and engagement metrics stay in local SQLite storage on your machine.
  • Press Cmd+K / Ctrl+K anywhere to jump across squads, accounts, mailboxes, live runs, or settings.
Keina 1.0 Chief Growth Officer desktop interface showing team sidebar, 09:00 daily growth brief, queued drafts, and circuit-breaker alert bar
Chief Growth Desk: daily growth brief, squad rail, queued drafts, and live circuit-breaker status.
Install & Local Data Directory
# Install via Homebrew (macOS · upcoming)
brew install --cask keina-app/tap/keina

# Local database & encrypted vault directory (macOS v1.0)
~/Library/Application Support/Keina/

2. Squads & 1:1 Account Isolation

Organize work into Product squads (linked to a read-only Git repo) and Media squads (focused on founder voice and industry signals).

  • Squad Lead: owns strategy, Git launch notes, 3:4 card generation, topic monitoring, and cross-account scheduling.
  • Account Assistants (1:1): each maps to a single physical social handle with its own memory, daily quota, and zero repo write access.
  • Browser profiles and proxy bindings stay physically tied to the underlying account.
Keina 1.0 Product Squad Coordinator workspace showing read-only Git brief dispatch across official product and founder handles
Product Squad Workspace: squad coordinator turning read-only Git updates into staggered account assignments.

3. Model Providers & Local CLIs

Start with Keina’s built-in engine using any API key, or assign individual agents to Codex CLI or Claude Code.

  • Built-in engine supports Anthropic, OpenAI, OpenRouter, DeepSeek, Kimi, GLM, and auto-detected local model gateways.
  • CLI mode reuses your local login session cleanly with zero edits to ~/.codex or ~/.claude config files.
  • Automatic 60-second cooldown and fallback routing protect workflows during upstream rate limits.

4. Isolated Browser & Proxy Pool

Keina manages its own lightweight browser profiles with per-account fingerprints and strict proxy rules.

  • Supports direct connection or custom HTTP, HTTPS, and SOCKS5 proxies per account.
  • Database constraints guarantee two accounts on the same platform never share a proxy.
  • If a bound proxy goes offline, the task pauses automatically so your home IP stays protected.
Keina 1.0 isolated accounts management view showing 1:1 social handles, cookie session status, 2FA tags, dedicated fingerprint profiles, residential proxy nodes, and daily quotas
1:1 Account Isolation Matrix: per-handle cookie status, dedicated fingerprint profiles, proxy nodes, and daily quotas.

5. Declarative Automation Pipelines

Schedules, heartbeats, and repo triggers run through a clean, allowlisted workflow format.

  • Safe, typed steps inspect Git commits, triage mailbox signals, filter relevant discussions, render 3:4 cards, and queue drafts.
  • Only verified, typed workflow steps can run on a schedule.
  • Active-hours windows and idle checks prevent unnecessary overnight token spend.
Example Morning Launch Pipeline
{
  "trigger": "cron",
  "cronExpr": "30 8 * * *",
  "activeHours": "08:00-23:00",
  "steps": [
    { "op": "read_git_commits", "sinceHours": 24 },
    { "op": "filter_signals", "minScore": 0.75 },
    { "op": "render_info_card", "aspect": "3:4" },
    { "op": "delegate_to_operator", "style": "founder_ip" }
  ]
}

6. Telegram Briefings & Key Decisions

Link your personal Telegram chat to receive autonomous daily briefs, breakout alerts, and high-stakes decision cards.

  • Configure full autopilot or key-decision checkpoints per squad—1-tap responses in Telegram sync safely with conflict protection.
  • Always-on filters redact private keys, tokens, and local network addresses before drafts are queued.
  • Customize banned clichés, minimum quality scores, and notification rules to match your voice.
Keina 1.0 approval queue and human takeover desk showing circuit-breaker browser pause, L1 guardrail pass badges, Critic scores, and Git commit citations
Approval Queue & Takeover Desk: Critic scores, L1 compliance checks, Git citations, and one-click browser takeover.

7. Direct Local Mailboxes & Outreach Loop

Keina includes a top-level Mailbox workspace powered by direct local IMAP and SMTP connections—autonomously running inbox triage, OTP extraction, lead follow-ups, and outreach.

  • Supports multi-mailbox management plus Catch-all and sub-address routing (*@domain.com, name+tag@...) to automatically route messages to the right product squad or social handle.
  • Automatically extracts login OTP codes, platform security alerts, directory review updates, billing notices, and partnership inquiries—ready to inspect or delegate in one click.
  • Supports per-mailbox scopes (OTP & alerts vs. autonomous squad send/receive), isolates untrusted email bodies from long-term memory, and offers optional checkpoints for high-stakes outreach.

Ready to run Keina locally?

Download the macOS desktop preview or review our local-first security boundaries.