Skip to main content
logo

AKARI WATANABE (渡辺 星)

A voice-first AI assistant that runs on your Mac. Talk to it, and it talks back -- with an audio-reactive particle orb.

Akari Animation

"おかえりなさい、あなた。"


Quick Start (PyPI)

Install and run AKARI directly from your terminal!

# Install AKARI
pip install akari-cli

# Run AKARI
akari

Note: On your first run, AKARI will guide you through setting up your API keys (Anthropic & Fish Audio) directly in the terminal.


Screenshots

Welcome Page Home Page


AKARI connects to your Apple Calendar, Mail, and Notes. It can browse the web, spawn Claude Code sessions to build entire projects, and plan your day -- all through natural voice conversation.


AKARI CLI (Terminal Version)

AKARI CLI

Experience AKARI directly from your terminal! The CLI version is built for developers who want a fast, lightweight, and powerful interaction without opening a browser.

CLI Features

  • Easy Setup -- Interactive API key and username configuration on first run.
  • Real-time Voice -- Just like the web version, AKARI speaks to you using the local high-quality audio files or the Fish Audio API.
  • Dynamic Typing Effect -- Responses flow naturally with a typewriter effect, synchronized with AKARI's voice.
  • Project Awareness -- Automatically scans your Desktop for git repositories to understand your workspace context.
  • Autonomous Task Execution -- Planning and building projects (via Claude Code) happens directly in new terminal windows without needing confirmation.
  • Integrated Memory -- Notes, tasks, and facts are saved to the same shared database as the web version.

Slash Commands

Command Description
/help Show help table with AKARI's voice guidance.
/auth Update your API keys (Anthropic/Fish) or username interactively.
/clear Clear the terminal and reset conversation context.
/tasks List all your open tasks and reminders.
/projects Show all detected projects on your Desktop.
/restart Restart the CLI environment and re-initialize systems.
/quit Sayonara! Closes the CLI with a parting message.

How to Run (Local Source)

python akari_cli.py

Or run with a direct command:

python akari_cli.py "build me a python script to scrape news"

What It Does

  • Voice conversation -- speak naturally, get spoken responses with an AKARI voice.
  • Builds software -- say "build me a landing page" and watch Claude Code do the work.
  • Reads your calendar -- "What's on my schedule today?"
  • Reads your email -- "Any unread messages?" (read-only, by design).
  • Browses the web -- "Search for the best restaurants in Austin".
  • Manages tasks -- "Remind me to call the client tomorrow".
  • Takes notes -- "Save that as a note".
  • Remembers things -- "I prefer React over Vue" (it remembers next time).
  • Plans your day -- combines calendar, tasks, and priorities into a plan.
  • Sees your screen -- knows what apps are open for context-aware responses.
  • Audio-reactive orb -- a Three.js particle visualization that pulses with AKARI's voice.

Tech Stack

Layer Technology
Backend FastAPI Python
Frontend Vite Three.js TypeScript
AI Brain Anthropic Claude (Haiku & Opus)
Voice Fish Audio TTS (Akari Model)
Bridge AppleScript, Claude Code CLI, Playwright

Architecture & How it Works

AKARI operates through a high-performance voice loop and system orchestration layer:

graph TD
    A[User Voice] -->|Web Speech API| B[FastAPI Backend]
    B -->|Intent Detection| C{Action?}
    C -->|Chat| D[Claude Haiku]
    C -->|System Task| E[AppleScript / Shell]
    C -->|Dev Task| F[Claude Code]
    D -->|Text| G[Fish Audio TTS]
    G -->|Stream| H[Three.js Lilac Orb]
    H -->|Voice Out| I[User]

How the Voice Loop Works

  1. Microphone: Chrome's Web Speech API transcribes your speech in real-time.
  2. Transcript: The transcript is sent to the server via WebSocket.
  3. Intent: AKARI detects intent -- conversation, action, or build request.
  4. Execution: Spawns a Claude Code subprocess or runs AppleScript for macOS apps.
  5. TTS: Fish Audio converts the response to speech with the AKARI voice model.
  6. Visualization: The Three.js lilac orb deforms and pulses in response to the audio frequency.

Installation & Usage (Manual Setup)

For detailed step-by-step instructions, please see CLAUDE.md.

Prerequisites

  • macOS (required for AppleScript integration)
  • Python 3.11+ & Node.js 18+
  • Anthropic API key & Fish Audio API key
  • Claude Code CLI (npm install -g @anthropic-ai/claude-code)

Quick Start

# Clone the repo
git clone https://github.com/akariwill/akari.git
cd akari

# Setup environment
cp .env.example .env
# Edit .env with your keys

# Install dependencies
pip install -r requirements.txt
cd frontend && npm install && cd ..

# Generate SSL certs
openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes -subj '/CN=localhost'

# Run Backend & Frontend
# Terminal 1: python server.py
# Terminal 2: cd frontend && npm run dev

Key Files

File Purpose
akari_cli/server.py Main server -- WebSocket handler, LLM, action system.
akari_cli/akari_cli.py Main CLI entrypoint and voice interaction logic.
frontend/src/orb.ts Three.js particle orb visualization (Lilac theme).
frontend/src/voice.ts Web Speech API + audio playback management.
actions.py System actions (Terminal, Chrome, Claude Code).
memory.py SQLite memory system with FTS5 search.
work_mode.py Persistent Claude Code development sessions.

Deployment (Online Demo)

Demo Website: akari-assistant.up.railway.app

To host AKARI online for demo purposes (e.g., Railway, Render, or VPS):

  1. Railway/Render: Connect your GitHub repo.
  2. Environment Variables: Add ANTHROPIC_API_KEY and FISH_API_KEY.
  3. Docker: The provided Dockerfile will automatically build the Vite frontend and set up the Python environment.
  4. Public URL: Ensure you access via HTTPS for voice features to work.

Note: macOS-specific features (AppleScript for Calendar/Mail) only work when running locally on a Mac.


Features in Detail

Action System

AKARI uses action tags to trigger real system actions:

  • [ACTION:BUILD] -- spawns Claude Code to build a project.
  • [ACTION:BROWSE] -- opens Chrome to a URL or search query.
  • [ACTION:RESEARCH] -- deep research with Claude Opus, outputs an HTML report.
  • [ACTION:REMEMBER] -- stores a fact for future context.

Memory System

AKARI remembers things you tell it using SQLite with FTS5 full-text search. Preferences, decisions, and facts persist across sessions.


Contributing

Contributions are welcome! Please check CONTRIBUTING.md for guidelines on adding new integrations, Windows/Linux support, or UI improvements.


License

This project is licensed under the MIT License.


Credits & Contact

Inspired by Akari Watanabe (渡辺 星) from "More Than a Married Couple, But Not Lovers".

Release files for akari-cli 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for akari-cli 0.1.8
File Size Uploaded
akari_cli-0.1.8.tar.gz 4.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for akari-cli 0.1.8
File Interpreter ABI Platform
akari_cli-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 MB

Release files / akari_cli-0.1.8.tar.gz

Download URL akari_cli-0.1.8.tar.gz
Size 4.3 MB
Tags Source
SHA-256 checksum
How to use checksums
6504d6a34ad1ba4eb00bd34acf8b592a4f8120afc08042458186a7e1ea1e3a9d
BLAKE2b-256 checksum
How to use checksums
619d8811659f3cd6a4ddc7c47fd0b21d65ef0ba24b142d8c0d79385221ec8ee5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / akari_cli-0.1.8-py3-none-any.whl

Download URL akari_cli-0.1.8-py3-none-any.whl
Size 4.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
20c9e81387cf4ade3d94883e2a2eb42a12cddf6d6bac3f6f11d2a98bd45532f1
BLAKE2b-256 checksum
How to use checksums
db80f9d2665de0a140a655df19be2324b38f51b151b7e4789a1bf681749369da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.4

2 release files

0.1.2

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page