Agentic Process Orchestrator · Powered by LlamaIndex AgentWorkflow

CONTRAGRAVITON

Your autonomous second brain that plans, researches, edits code, and executes system commands.

A local-first, streaming-first desktop AI assistant with 13 specialized tools, 4 LLM providers, a visual workflow builder, an autonomous browser agent, and a full code editor — orchestrated by a persistent Central Intelligence loop.

Scroll to explore
◆ Gemini · OpenAI · OpenRouter · LM Studio
◆ Local-First — Zero Cloud Storage
◆ Playwright Browser Agent
◆ Monaco Code Editor + xterm.js Terminal
◆ Three.js 3D Knowledge Graph
◆ React Flow Workflow Builder
◆ SSE Real-Time Thought Streaming
◆ 13 Specialized Agent Tools
◆ Gemini · OpenAI · OpenRouter · LM Studio
◆ Local-First — Zero Cloud Storage
◆ Playwright Browser Agent
◆ Monaco Code Editor + xterm.js Terminal
◆ Three.js 3D Knowledge Graph
◆ React Flow Workflow Builder
◆ SSE Real-Time Thought Streaming
◆ 13 Specialized Agent Tools

It doesn't just respond.
It reasons.

At the heart of Contragraviton is a persistent agentic reasoning loop built on LlamaIndex AgentWorkflow. Give it a complex goal and it will plan, execute, self-correct, and persist through failures — up to 100 iterations deep.

01

Plan

Breaks your request into a multi-step execution checklist with loop-prevention rules and progress tracking.

02

Execute

Selects the best tool from 13 options — grep first for precision, then semantic search, then web fallback.

03

Refine

If a tool return is insufficient, it modifies search terms, pivots strategy, or escalates to a different approach.

04

Finalize

Synthesizes all gathered information into a coherent answer or action — streamed live via SSE with full thought visibility.

Your second brain.
Always in sync.

A hybrid retrieval engine combining a PARA-structured filesystem, a SQLite brain index (brain.db), and a ChromaDB vector store with all-MiniLM-L6-v2 embeddings. Six search strategies cascade from SQL queries to grep to semantic search to live web — so nothing is ever lost.

3D Memory Map
3D Memory Map
Neural Visualization
Neural Graph
Knowledge Hub File Browser
PARA File Browser
6 Search Strategies
SQL → Grep → Range → Semantic → Browse → Web
384 Dimension Vectors
all-MiniLM-L6-v2 Embeddings
13 Agent Tools
Knowledge · Search · Edit · Web · Shell

Design intelligence.
Visually.

Built on React Flow (@xyflow/react), the visual workflow canvas lets you drag nodes, connect data flows, and build intelligent automations. Wire a Web Search node into an LLM Brain, pipe results to a Display — and watch it execute in real-time with live data flowing between nodes.

Workflow Builder with connected nodes
Node Library

Node Library

Every building block you need: Web Search, LLM Brain, Code Execution, Display, Discord, Slack, Email, Webhooks, and more. Design once. Run anytime.

Web Search LLM Brain Code Display Discord Slack Webhook

Give it a task.
It takes over.

A separate agentic pipeline powered by Playwright Chromium with its own AgentWorkflow, dedicated SSE stream, and 8 browser tools — browser_navigate, browser_click, browser_type, browser_screenshot, browser_scroll, and more. Headless or headed mode. Screenshots after every action.

Browser Agent parsing product data
Autonomous Browsing
Browser Agent compiled results
Structured Results
➤
browser_navigate

Goes to any URL via page.goto(), follows links, handles redirects

⊕
browser_click + browser_type

Clicks elements by CSS selector, fills forms, interacts with dropdowns

◉
browser_screenshot

Captures PNG after every action. Live mode polling via /screenshot/live

⬡
browser_get_interactive_elements

Discovers all clickable/typeable DOM elements, sorted top-to-bottom

One prompt.
Full project.

A split-pane IDE with Monaco Editor, file tree, and xterm.js terminal. The agent uses replace_file_content for surgical single-block edits and multi_replace_file_content for complex multi-point refactors. run_shell_command executes builds in the background while command_status monitors progress.

Code Editor showing generated Flutter code
Terminal showing Flutter build output
Build & Compile
Agent completing the project with README
Auto Documentation

"Create a Flutter to-do list app and build the APK."

120+ files generated. APK compiled. README written. One prompt.

Built for builders.

◈

4 LLM Providers

Google Gemini, OpenAI, OpenRouter, or LM Studio (local). Modular provider pipeline with @register_provider decorator — zero if provider == branching. Switch mid-conversation, takes effect on next message.

◈

SSE Thought Streaming

Every reasoning step, tool call, and result streams live via Server-Sent Events through a producer/consumer asyncio.Queue. The Thoughts Accordion shows Tool Calls, Results, Reasoning, and Approval gates in real-time.

◈

Local-First Privacy

SQLite brain.db, ChromaDB vectors, thread JSON files, and your PARA-structured knowledgebase — all on your machine. No cloud storage. No telemetry. Your data never leaves your device.

◈

Human-in-the-Loop

File writes and shell commands trigger InputRequiredEvent for explicit approval. The agent cannot execute destructive actions without your confirmation in the UI.

◈

Tauri 2 Desktop + Web

Native desktop app via Tauri 2 (Rust + WebView2) or browser SPA served by FastAPI. Same React 19 + TypeScript codebase, same API, same Zustand stores. Google OAuth built in.

◈

Image Generation

The generate_image tool creates visual assets using Flux-scale lightning models. Diagrams, UI mockups, creative assets — generated directly inside the agent's reasoning loop.

◈

Dual-Path Retrieval

grep_knowledgebase for exact substring matches. search_knowledgebase for semantic vector similarity via ChromaDB. read_file_range for surgical line-level zoom. Six strategies, one goal: find it fast.

◈

Live Web Research

search_web queries DuckDuckGo for real-time data. read_url_content ingests and summarizes external articles. Toggle web search mode to force prioritization.

◈

System Automation

run_shell_command executes PowerShell with background support. command_status monitors long-running tasks. Deploy, install, build, test — all from the chat.

What's under the hood.

Frontend

  • React 19 + TypeScript
  • Vite 8 — Build & HMR
  • Tauri 2 — Native Desktop (Rust)
  • Zustand — State Management
  • Monaco Editor — IDE-grade Code Editing
  • React Flow — Visual Workflow Canvas
  • xterm.js — Embedded Terminal
  • Three.js + 3d-force-graph — 3D Visualization

Backend

  • FastAPI + Uvicorn — Async API Server
  • LlamaIndex AgentWorkflow — AI Orchestration
  • ChromaDB + all-MiniLM-L6-v2 — Vector Search
  • SQLite (brain.db) — Knowledgebase Index
  • Playwright — Browser Automation
  • DuckDuckGo — Web Search Fallback
  • Server-Sent Events — Real-Time Streaming
  • Pydantic — Config & Validation

LLM Providers

  • Google Gemini — gemini-2.5-flash
  • OpenAI — GPT-4o & variants
  • OpenRouter — Multi-model access
  • LM Studio — Local models (Qwen, DeepSeek)
  • Model-tier detection — Auto-simplified prompts for ≤2B models
  • Native reasoning — thinking_delta for LM Studio
  • <think> protocol — For cloud providers
  • Per-request switching — No restart needed

13 tools. One intelligence.

▸ Knowledge Management

list_knowledgebase_filesExplore files and folders with auto-discovery
read_knowledgebase_fileDeep-dive into specific documents
write_knowledgebase_filePersist notes, logs, and project files
move_knowledgebase_itemReorganize your second brain

▸ Advanced Search

grep_knowledgebaseHigh-speed substring search across all files
read_file_rangeSurgical line-range extraction (zoom-context)

▸ Precision Editing

replace_file_contentTargeted single-block code/text edit
multi_replace_file_contentComplex multi-point edits in one pass

▸ Research & Web

search_webLive internet queries via DuckDuckGo
read_url_contentIngest and summarize external articles

▸ Creativity

generate_imageVisual assets via Flux lightning models

▸ System Control

run_shell_commandPowerShell execution with background support
command_statusMonitor long-running background tasks

Ready to build with an AI that builds back?

Contragraviton is open source and ready to run on your machine.

Get Started on GitHub
COMING SOON

Standalone executable — no setup required.

A one-click installer for Windows, macOS, and Linux is in active development. Download, launch, and start building — no Python, no terminal, no dependencies.

Follow me on LinkedIn for updates and early access:

Follow on LinkedIn