Skip to content

DevChiniwala/CortexOS

Repository files navigation

CortexOS Header

Tauri 2 React 19 Rust TypeScript Tailwind SQLite TanStack Query XYFlow

Every AI sales tool hallucinates. CortexOS doesn't.
A 100% grounded, verifiable AI GTM platform with zero hallucinated facts. Replace your SDR team with an autonomous swarm that actually tells the truth.



⚑ What is CortexOS?

The current generation of AI SDRs and sales tools all suffer from the same fatal flaw: they make things up. They generate company profiles with hallucinated technologies, assign fake titles to real people, and output arbitrary "Confidence: 99%" scores that have no basis in reality. When your outreach is based on a hallucination, you burn your domain reputation and look like a spammer.

CortexOS is built on a fundamentally different premise: If an LLM says it, it must be verified against a source.

It deploys a swarm of specialized AI agents that work in concert to:

  1. Discover target accounts from any data source.
  2. Research & Extract claims via deep web scraping.
  3. Verify every single claim against source HTML using a deterministic Rust pipeline.
  4. Score every account against your Ideal Customer Profile (ICP) based only on verified facts.
  5. Execute multi-step outreach sequences autonomously.

Zero manual prospecting. Zero copy-paste. Zero hallucinations.



πŸ—οΈ Architecture & Data Flow

CortexOS operates on a high-performance Rust backend connected to a bleeding-edge React 19 frontend via Tauri's IPC bridge.

CortexOS Data Flow and Architecture


πŸ›‘οΈ The Verification Engine

Instead of letting an LLM write a summary from its latent knowledge, CortexOS runs a 3-Tier Verification Gauntlet:

3-Tier Verification Gauntlet

  • The Gauntlet: Claims extracted by the LLM are passed into a deterministic Rust engine which verifies them against the raw HTML of the source. It assigns a confidence tier based on the matching strictly: Exact Match (100%), Normalized Match (92%), and Fuzzy LCS (>80%).
  • Corroboration Engine: O(NΒ²) deduplication merges identical claims found across independent sources (e.g., Tech Stack Agent and Business Model Agent both find the same metric). The UI displays a striking "Confirmed by N sources" pill.
  • The Trust Score: Every generated profile is stamped with a deterministic Trust Scoreβ€”the exact percentage of claims that were mathematically verified.
  • The Evidence Tab: In the UI, click on any generated claim to see exactly where it came from, highlighted on the original source URL.


πŸ€– Agent Swarm

CortexOS deploys 8 autonomous agents, each with specialized worker pools coordinated by a central orchestrator.

CortexOS Architecture
graph TD
    subgraph Orchestrator["🧠 CORTEX ORCHESTRATOR"]
        direction TB
        O[Central Command]
    end

    subgraph Research["πŸ” RESEARCH AGENT"]
        R1[Tech Stack Specialist]
        R2[Business Model Specialist]
        R3[Pain Point Analyst]
        R4[Recent Triggers Spider]
    end

    subgraph Scoring["πŸ“Š SCORING AGENT"]
        S1[Requirement Checker]
        S2[Signifier Calculator]
    end

    subgraph Conversation["πŸ’¬ CONVERSATION AGENT"]
        C1[Topic Generator]
        C2[Personalization Engine]
    end

    subgraph Outreach["πŸ“§ OUTREACH AGENT"]
        OA1[SMTP Dispatcher]
        OA2[Reply Classifier]
        OA3[Calendar Coordinator]
    end

    subgraph Signals["πŸ“‘ INTENT RADAR"]
        SIG1[Job Board Spider]
        SIG2[Bombora Intent API]
        SIG3[LinkedIn Monitor]
    end

    subgraph Persona["🎭 PERSONA MAPPER"]
        P1[Org Chart Builder]
        P2[Role Classifier]
    end

    subgraph ICP["🎯 ICP OPTIMIZER"]
        I1[Neural Feedback Loop]
    end

    O --> Research
    O --> Scoring
    O --> Conversation
    O --> Outreach
    O --> Signals
    O --> Persona
    O --> ICP

    Research -->|Verified Facts| Scoring
    Scoring -->|Qualified Leads| Conversation
    Conversation -->|Drafted Copy| Outreach
    Outreach -->|Deal Outcomes| ICP
    ICP -->|Adjusted Weights| Scoring
    Signals -->|Buying Signals| Scoring
    Persona -->|Committee Data| Conversation

    style Orchestrator fill:#1a1a2e,stroke:#FF5500,color:#FF5500
    style Research fill:#1a1a2e,stroke:#00AEEF,color:#00AEEF
    style Scoring fill:#1a1a2e,stroke:#FFB020,color:#FFB020
    style Conversation fill:#1a1a2e,stroke:#00D084,color:#00D084
    style Outreach fill:#1a1a2e,stroke:#00AEEF,color:#00AEEF
    style Signals fill:#1a1a2e,stroke:#A855F7,color:#A855F7
    style Persona fill:#1a1a2e,stroke:#F43F5E,color:#F43F5E
    style ICP fill:#1a1a2e,stroke:#10B981,color:#10B981
Loading


✨ Features

🏒 Verifiable Intelligence Pipeline

  • Automated Research β€” Multi-agent swarm (Tech Stack, Business Model, Pain Points, Triggers) extracts intelligence from raw sources.
  • The Evidence Tab β€” Every company profile surfaces the verbatim quotes, citations, and trust badges proving the facts.
  • Multi-Source Corroboration β€” Visually see when independent sources verify the same intel.

🧠 Autonomous ICP Scoring

  • Automated Tiers β€” Evaluate accounts against strict constraints (must pass) and weighted demand signifiers (Tier 1, 2, 3).
  • Self-Learning ICP Optimizer β€” Neural feedback loop that adjusts scoring weights based on won/lost deals.

πŸ‘₯ Persona Mapping & Messaging

  • Buying Committee Visualization β€” Auto-identifies Champion, Economic Buyer, Blocker, End User.
  • Relationship Strength Mapping β€” Tracks depth of connection via a visual 0-100 heatbar.
  • Hyper-Personalization β€” The Conversation Agent generates personalized outreach based only on verified facts and intent triggers.

πŸ”€ Orchestration Rules Engine

  • Visual Flow Builder β€” Drag-and-drop workflow canvas to compose custom agent pipelines using XYFlow. Fully executable.
  • Intent Mesh β€” Live SVG radar mapping signal density per account (funding, hiring, tech stack changes).

⚑ Tauri Native App

  • Rust Performance β€” Uses Tauri v2 to run completely locally, interfacing with APIs quickly via tokio multi-threading.
  • Zero-Latency Database β€” Embedded SQLite store for instantaneous UI updates without cloud lag.


πŸš€ Web App Views

(Screenshots coming soon - Add your beautiful UI screenshots here to showcase the dashboard, pipeline, intent radar, and evidence tab!)



πŸ“„ Pages

Route Page Description
/dashboard Command Center KPI stat cards, sparklines, pipeline funnel, live activity feed
/companies Companies Full pipeline table with scoring tiers, Kanban board toggle
/companies/:id Company Detail Deep research profile, Evidence tab, Trust Score Ring, people mapped
/contacts Contacts List view + Buying Committee visualization with Persona Badges
/signals Intent Mesh Radar visualization + live signal feed with trigger actions
/outreach Outreach Command Sequence timeline, reply cards, meeting tracking
/agents Agent Swarm Deploy agents against targets, stream terminal viewer
/icp ICP Optimizer Self-learning feedback loop visualizer, emergent insights
/flow Flow Builder Visual drag-and-drop workflow canvas (Fully Executable)
/settings Settings LLM Keys, orchestration, email, CRM sync


πŸ”„ GTM Execution Workflow

Assemble your pipelines visually using the Cortex Flow Builder, and execute them entirely autonomously.

flowchart LR
    A["🌐 Data Sources"] -->|Scrape & Enrich| B["πŸ” Research Pipeline"]
    B -->|Verified Profiles| C["πŸ“Š Scoring Engine"]
    C -->|ICP Score + Tier| D{"Score > Threshold?"}
    D -->|❌ Low| E["πŸ“‹ Nurture Queue"]
    D -->|βœ… High| F["🎭 Persona Mapper"]
    F -->|Buying Committee| G["πŸ’¬ Conversation Agent"]
    G -->|Personalized Copy| H["πŸ“§ Outreach Flow"]
    H -->|Sequences| I{"Reply Intent?"}
    I -->|😊 Interested| J["πŸ“… Meeting Booked"]
    I -->|πŸ€” Objection| K["πŸ”„ Handle & Nurture"]
    I -->|❌ Rejected| L["🎯 ICP Optimizer"]
    J -->|Deal Won/Lost| L
    L -->|Weight Adjustment| C
    
    M["πŸ“‘ Intent Radar"] -.->|Buying Signals| C

    style A fill:#0a0a1a,stroke:#666,color:#ccc
    style B fill:#001a33,stroke:#00AEEF,color:#00AEEF
    style C fill:#332200,stroke:#FFB020,color:#FFB020
    style D fill:#331100,stroke:#FF5500,color:#FF5500
    style E fill:#1a1a1a,stroke:#666,color:#888
    style F fill:#33001a,stroke:#F43F5E,color:#F43F5E
    style G fill:#00331a,stroke:#00D084,color:#00D084
    style H fill:#1a0033,stroke:#A855F7,color:#A855F7
    style I fill:#331100,stroke:#FF5500,color:#FF5500
    style J fill:#00331a,stroke:#00D084,color:#00D084
    style K fill:#332200,stroke:#FFB020,color:#FFB020
    style L fill:#1a2b22,stroke:#10B981,color:#10B981
    style M fill:#1a0033,stroke:#A855F7,color:#A855F7
Loading


πŸ’» Tech Stack

Frontend

  • React 19
  • Vite
  • Tailwind CSS v4
  • Zustand (Global State)
  • TanStack Query v5 (Data Sync & Cache)
  • Motion (Framer) (Animations)
  • XYFlow / React (Visual Builder)
  • Recharts (Data Visualization)
  • D3 / Force-Graph (Memory Graph)

Backend (Tauri Core)

  • Rust
  • Tauri v2
  • Tokio (Async Runtime)
  • Rusqlite (Local Database)

Intelligence APIs

  • Google Gemini 2.5 Flash (Extractor LLM)
  • Tavily (Search & HTML scraping)
  • Apollo (People Data)
  • Bombora (Intent Signals)


πŸ—„οΈ Database

CortexOS uses a local SQLite database embedded in the Tauri backend for zero-latency operations.

Table Details
companies Target accounts, ICP scores, firmographics, and Trust Score metrics
contacts Buying committee members, personas, and relationship strength
signals Intent signals (funding, hiring, tech stack changes) tied to companies
outreach Conversation sequences, generated copy, and reply status
settings API keys, LLM preferences, and orchestration configurations


πŸ“‚ Project Structure

πŸ“‚ CortexOS
 ┣ πŸ“‚ .github
 ┃ β”— πŸ“‚ assets                  # SVG assets, diagrams, and branding
 ┣ πŸ“‚ src-tauri                 # Rust Backend (Tauri)
 ┃ ┣ πŸ“„ Cargo.toml              # Rust dependencies
 ┃ ┣ πŸ“„ build.rs                # Tauri build script
 ┃ β”— πŸ“‚ src
 ┃   ┣ πŸ“„ main.rs               # App entry point
 ┃   ┣ πŸ“„ lib.rs                # Command registry and setup
 ┃   ┣ πŸ“‚ agents                # Autonomous agent logic (Researcher, Scorer, etc.)
 ┃   ┣ πŸ“‚ commands              # IPC commands exposed to React
 ┃   ┣ πŸ“‚ core                  # Core engines (LLM, Tavily, Verification, Flow Executor)
 ┃   ┣ πŸ“‚ db                    # SQLite schema, queries, and state management
 ┃   ┣ πŸ“‚ hive                  # Swarm orchestration and agent messaging
 ┃   β”— πŸ“‚ prompts               # System prompts and agent instructions
 ┣ πŸ“‚ src                       # React Frontend
 ┃ ┣ πŸ“„ App.tsx                 # Routing definition
 ┃ ┣ πŸ“„ globals.css             # Tailwind configuration and design system tokens
 ┃ ┣ πŸ“‚ components              # UI Component Library
 ┃ ┃ ┣ πŸ“‚ flow                  # XYFlow canvas and nodes
 ┃ ┃ ┣ πŸ“‚ ui                    # Reusable primitives (Buttons, Cards, TrustBadges)
 ┃ ┃ ┣ πŸ“‚ layout                # Sidebar, MainShell, Command Palette
 ┃ ┃ β”— πŸ“‚ ...                   # Feature-specific components (Outreach, Scoring)
 ┃ ┣ πŸ“‚ lib                     # Utilities and State
 ┃ ┃ ┣ πŸ“‚ ipc                   # Event bridge and Tauri invoke() wrappers
 ┃ ┃ ┣ πŸ“‚ store                 # Zustand state stores
 ┃ ┃ β”— πŸ“‚ sync                  # TanStack query clients and optimisic updates
 ┃ β”— πŸ“‚ pages                   # Application Views (Dashboard, Companies, Signals, etc.)
 β”— πŸ“„ package.json              # Node dependencies and scripts


πŸ—ΊοΈ Roadmap

  • Phase 1: Core Research Pipeline (Tavily + Extractors)
  • Phase 2: React 19 + Tauri 2 Foundation
  • Phase 3: The 3-Tier Verification Gauntlet (Rust Engine)
  • Phase 4: Intent Signals & Demand Radar
  • Phase 5: XYFlow Visual Builder
  • Phase 6: Automated Email Dispatch (SMTP/IMAP integrations)
  • Phase 7: HubSpot & Salesforce Bi-Directional Sync
  • Phase 8: Cloud-Hosted Orchestration (Vercel/AWS)


CortexOS Footer

About

CortexOS is an AI-native intelligence operating system that uses autonomous agents to research companies, analyze market signals, verify insights, and generate actionable business intelligence in real time through scalable multi-agent workflows and verification-first pipelines.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors