Skip to content

tensorboy/hawkeye

Repository files navigation

Hawkeye Logo

Hawkeye

πŸ¦… The First Proactive AI Assistant for Desktop

Watch keenly. Act thoughtfully. 10x your productivity.

GitHub Stars License Build

🌐 Website Β· πŸ“– Documentation Β· πŸ› Report Bug Β· πŸ’‘ Request Feature


macOS Windows Linux


Hawkeye Demo


🎯 What is Hawkeye?

Traditional AI waits for your commands. Hawkeye watches and helps proactively.

Hawkeye is an AI-powered desktop assistant that observes your work environmentβ€”screen, clipboard, filesβ€”and proactively offers intelligent suggestions. No prompts needed.

Feature Copilot / Cursor / Claude Code Hawkeye
Mode Reactive (you ask) Proactive (it watches)
Scope Code only Everything: coding, browsing, writing
Privacy Cloud-based Local-first, your data stays local
Control AI executes You decide what to execute

✨ Key Features

πŸ” Zero-Prompt Intelligence

  • Automatically understands your context
  • No need to explain what you're doing
  • Suggests actions before you ask

🏠 Privacy-First Architecture

  • All perception runs 100% locally
  • Data never leaves your device
  • Works offline with local LLMs

🎯 Smart Task Tracking

  • Identifies your main task goal
  • Generates actionable next steps
  • Learns from your workflow

πŸ”— Multi-Platform Sync

  • Desktop ↔ Browser seamless sync
  • VS Code extension integration
  • Cross-app workflow automation

πŸš€ Quick Start

Download

Platform Download

Apple Silicon (.dmg) Β· Intel (.dmg)

Installer (.exe)

Debian/Ubuntu (.deb) Β· AppImage

⚠️ macOS: "App is damaged" fix
# Remove quarantine attribute
xattr -cr /Applications/Hawkeye.app

Setup in 60 Seconds

# 1. Clone
git clone https://github.com/anthropics/hawkeye.git && cd hawkeye

# 2. Install
pnpm install

# 3. Run
pnpm dev

Configure AI Provider

Option 1: Claude API (Recommended)

Enter your Anthropic API key in Settings β†’ API Configuration.

Option 2: Local LLM with Ollama (100% Offline)
# Install Ollama
brew install ollama  # macOS
# Windows/Linux: https://ollama.com/download

# Download models
ollama pull qwen3:8b        # Text (8GB+ RAM)
ollama pull qwen2.5vl:7b    # Vision

# Select "Ollama" in Hawkeye settings

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                        HAWKEYE ENGINE                           β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                                                                 β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”         β”‚
β”‚  β”‚  PERCEPTION │───▢│  REASONING  │───▢│  EXECUTION  β”‚         β”‚
β”‚  β”‚   Engine    β”‚    β”‚   Engine    β”‚    β”‚   Engine    β”‚         β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜         β”‚
β”‚        β”‚                  β”‚                  β”‚                  β”‚
β”‚   β€’ Screen OCR      β€’ Claude/Ollama     β€’ Shell Commands       β”‚
β”‚   β€’ Clipboard       β€’ Task Analysis     β€’ File Operations      β”‚
β”‚   β€’ File Watch      β€’ Intent Detect     β€’ App Control          β”‚
β”‚   β€’ Window Track    β€’ Suggestions       β€’ Browser Auto         β”‚
β”‚                                                                 β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                         INTERFACES                              β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚   πŸ–₯️ Desktop   β”‚  🧩 VS Code    β”‚  🌐 Chrome     β”‚    πŸ“¦ Core      β”‚
β”‚   (Electron)  β”‚  Extension    β”‚  Extension    β”‚    (npm pkg)    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“¦ Project Structure

hawkeye/
β”œβ”€β”€ packages/
β”‚   β”œβ”€β”€ core/                 # 🧠 Core engine (local processing)
β”‚   β”‚   β”œβ”€β”€ perception/       #    Screen, clipboard, file monitoring
β”‚   β”‚   β”œβ”€β”€ ai/               #    AI providers (Claude, Ollama, etc.)
β”‚   β”‚   β”œβ”€β”€ execution/        #    Action execution system
β”‚   β”‚   └── storage/          #    Local database (SQLite)
β”‚   β”‚
β”‚   β”œβ”€β”€ desktop/              # πŸ–₯️  Electron desktop app
β”‚   β”œβ”€β”€ vscode-extension/     # 🧩 VS Code extension
β”‚   └── chrome-extension/     # 🌐 Chrome browser extension
β”‚
β”œβ”€β”€ docs/                     # πŸ“– Documentation
└── website/                  # 🌐 Marketing site

πŸ”’ Privacy & Security

Aspect How We Protect You
Screenshots βœ… Analyzed locally, never uploaded
Clipboard βœ… Processed on-device only
Files βœ… Monitored locally, paths never sent
AI Calls βœ… Only minimal context text sent (or use local LLM)
Dangerous Ops βœ… Always requires your confirmation

πŸ“ All data stored in ~/.hawkeye/ β€” you own your data.


πŸ“– Usage Examples

As a Library

import { HawkeyeEngine } from '@hawkeye/core';

const engine = new HawkeyeEngine({
  provider: 'ollama',
  model: 'qwen3:8b'
});

// Get AI-powered suggestions based on current context
const suggestions = await engine.observe();

// Execute a suggestion with user confirmation
await engine.execute(suggestions[0].id);

File Watcher

import { FileWatcher } from '@hawkeye/core';

const watcher = new FileWatcher({
  paths: ['~/Downloads', '~/Documents'],
  events: ['create', 'move']
});

watcher.on('change', (event) => {
  console.log(`${event.type}: ${event.path}`);
});

πŸ—ΊοΈ Roadmap

  • Core perception engine
  • Desktop app (Electron)
  • VS Code extension
  • Chrome extension
  • Local LLM support (Ollama)
  • Desktop ↔ Extension real-time sync
  • Plugin system
  • Custom workflow builder
  • Mobile companion app

🀝 Contributing

Contributions are what make the open source community amazing! Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

See CONTRIBUTING.md for detailed guidelines.


⭐ Star History

Star History Chart

πŸ“„ License

Distributed under the MIT License. See LICENSE for more information.



🌐 Website Β· πŸ“– Docs Β· 🐦 Twitter Β· πŸ’¬ Discord

Built with ❀️ by the Hawkeye Team


If Hawkeye helps you, please consider giving it a ⭐

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages