HanaAgent
A desktop AI assistant with memory, personality and initiative, built for people who work at a computer rather than write code.
- Source repo
- liliMozi/openhanako
- Stars
- ★ 6.9k
- Last updated
- today
- FARS reviewed
- Dec 04, 2026
- License
- Apache-2.0
- Primary language
- TypeScript
- FA score
- 52/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformOpenAI API · Claude API
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- Administrative and operations staff who want help tidying files, drafting notes and looking things up without learning CLI flags.
- Not a fit if
- Teams that want a ready-made hosted cloud service; you install the desktop app and configure models yourself
- Users who need a rock-solid Windows build; Windows is still labelled Beta and the installer is unsigned
- Teams that must keep an agent away from local files and commands; operating the computer is its core function
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-04
- Source review
- 52/100 · Major gaps
What does this agent do, and when should you use it?
HanaAgent is a personal AI agent shipped as a desktop application, aiming to move agent capability out of the terminal and into a graphical interface for office workers who do not code. It combines an Electron 42 desktop shell, a React 19 frontend, a standalone Node.js server (Hono + WebSocket), an engine orchestration layer and a Hub scheduler, with state stored locally in SQLite via better-sqlite3 in WAL mode. Each agent has its own memory, persona files, desk and scheduled tasks, isolated as a plain folder that is easy to back up or migrate. Built-in tools cover file reading and writing, command execution, web browsing and search, screenshots and scheduling, and agents can install community SKILLS from GitHub or write new skills themselves. Security is two-layered: application-level PathGuard access control plus an OS sandbox (macOS Seatbelt, Linux Bubblewrap, Windows restricted token). The same agent can also be reached through Telegram, Feishu, QQ and WeChat, plus a /mobile/ PWA and LAN frontends.
On first launch a wizard collects the UI language, your name, the model provider's API key and base URL, and three model slots — a conversation model, a small-tool model and a large-tool model; a separate vision model can handle image attachments through the Vision Bridge. At runtime the core/ engine layer coordinates managers for Agent, Session, Model, Preferences, Skill, Channel, BridgeSession and Plugin, while the server/ process talks to the Electron renderer over WebSocket and hub/ drives heartbeat sweeps, cron-style tasks, channel routing and inter-agent messaging. Agents read and write files, run one-off commands or hold persistent terminal sessions, browse pages, search via a browser backend or API, capture screenshots including segmented long captures, preview media and inspect web pages. They can install community SKILLS from GitHub before starting a task, or author and learn new skills themselves. Each agent has a desk that acts as an asynchronous workspace where it proactively reads and executes notes. Scheduled tasks split the trigger from the action so lightweight reminders can fire directly as notifications. Plugins contribute tools, skills, commands, agent templates, HTTP routes, LLM providers, pages, sidebar widgets, config schemas and background tasks under a restricted / full-access permission model. Session-visible files are registered through a SessionFile sidecar so desktop, bridge, mobile PWA and other remote frontends consume one file identity.
- Administrative and operations staff who want help tidying files, drafting notes and looking things up without learning CLI flags.
- People juggling several workstreams who create one agent per project, each with its own memory and scheduled reminders.
- Frequent travellers who bridge an agent to Telegram or WeChat and drive the desktop machine remotely from a phone.
- Teams that need auditable permissions, allowing writes only inside a work directory while the rest of the filesystem stays read-only.
- Users who want to codify recurring office routines with plugins and cron tasks, such as timed reminders or periodic desk sweeps.
- Users who want to share or migrate a setup by exporting an agent as a local-first role-card zip with persona, avatar, optional memory and skills.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Config files
~/.hanako~/.hanako-dev- Install notes cover
- Windows · macOS · Linux
How do you install or deploy this agent?
Download the installer for your platform from Releases: .dmg for macOS (signed with an Apple Developer ID and notarized), .exe for Windows, .AppImage or .deb for Linux.
On Windows the installer is not code-signed; if SmartScreen blocks the first run, choose "More info" → "Run anyway".
Running from source requires Node.js and npm:
npm install
npm start # Electron launch, builds the renderer automatically
npm run start:vite # Vite HMR dev, run npm run dev:renderer first
npm run server # start the server only
npm run cli # server-first CLI
npm test # Vitest suite
npm run typecheck # type checkingHow do you use this agent?
Complete the onboarding wizard: pick a language, enter your name, supply the model provider's API key and base URL, then choose the conversation, small-tool and large-tool models. A vision model can be selected separately in Settings. Provider support covers OpenAI-compatible endpoints, Anthropic-style APIs, OAuth providers and local Ollama models; OpenAI OAuth login is available.
The user data directory is controlled by HANA_HOME, defaulting to ~/.hanako in production and ~/.hanako-dev in development:
HANA_HOME=~/.hanako npm run serverFrom a terminal, the server-first CLI attaches to the same HanaAgent Server:
npm run cliPhones and a second desktop can use the /mobile/ PWA hosted by the server, or connect over a LAN URL with an access key:
http://<server-host>:<port>/mobile/Sandbox level for file and command access is set under Settings → Security, where system proxy, manual proxy or direct connection can also be configured for outbound network access.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- GUI first: an Electron shell, React frontend and onboarding wizard bring agent capability to a window, so non-technical staff can start without CLI flags.
- An agent is a folder: memory, persona files and scheduled tasks stay isolated per agent, making backup and migration a directory copy.
- Explicit security boundary: application-level PathGuard control stacked on an OS sandbox (macOS Seatbelt, Linux Bubblewrap, Windows restricted token), with system files read-only by default.
- Multi-agent collaboration: agents coordinate in channels, delegate tasks to each other, and keep independent cron schedules.
- Many egress paths: one agent can bridge to Telegram, Feishu, QQ and WeChat at once, with a /mobile/ PWA and LAN frontend for remote use.
- A convention-first plugin architecture contributing tools, skills, routes, providers, pages and background jobs under restricted / full-access tiers.
- Windows is still Beta and the installer is unsigned, so SmartScreen interrupts the first launch.
- The README itself says the memory system still needs work, so long-term recall should not be treated as a settled capability.
- You must bring your own provider API key and base URL and pick three models; Anthropic OAuth login is deliberately not offered.
- The issue policy accepts only problem or requirement descriptions and explicitly rejects fix suggestions, patches, diffs and implementation plans, narrowing code-level contribution.
- The Windows command sandbox is a write-isolation model — reads and network follow the current user's permissions — so it isolates less than the macOS and Linux sides.
- The server-first CLI only covers status, session listing and continuing a conversation; the full feature set lives in the desktop app.
How does this agent compare with similar options?
The README places HanaAgent alongside CLI and GUI agents such as claude code, codex and Manus, describing the experience as familiar but new. Its differentiators against terminal-centric coding agents are a full graphical UI, an onboarding wizard, a persona and memory system, multi-agent channel collaboration, and tooling tuned for everyday office work. The underlying agent runtime is the Pi SDK.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| HanaAgent This agent | 52 · Major gaps | Desktop appFree + model costs | ★ 6.9k | today | TypeScript | OpenAI API · Claude API |
| Sapphire Blue AI | 69 · Some gaps | Web appFree + model costs | ★ 339 | 9d ago | Python | OpenAI API · Claude API |
| Octop Self-Hosted Assistant | 58 · Major gaps | CLIFree + model costs | ★ 13k | today | Python | Codex · Claude Code · OpenAI API |
| LobsterAI | 60 · Some gaps | Desktop appFree + model costs | ★ 6.2k | today | TypeScript | — |
How does FollowAgents rate this agent?
Why each dimension lost points
The README documents a two-layer sandbox (PathGuard four-level access control plus macOS Seatbelt / Linux Bubblewrap / Windows restricted token) and a two-tier plugin permission model (restricted / full-access); hub/index.ts contains assertRuntimeMediaCapabilityOwner, a real ownership check for plugin media capabilities, so least_privilege earns 2. It is not 3 because the README itself states the Windows sandbox is write-isolation only, with reads and network running under the current user's rights. user_confirmation is only evidenced by an imported ConfirmStore and the character-card 'plan preview then import' wording in a SKILL.md; no concrete gating for destructive actions is shown, so 1. data_flow_transparency gets 2 for the HANA_HOME data directory, short-lived token media route, explicit 'no automatic public tunnel', and proxy configuration. sensitive_data_handling gets 2: SECURITY.md is unusually candid about owner-only permissions, startup verification and repair, 90-day migration backup cleanup, and explicitly states credentials are plaintext and that the POSIX guarantees do not apply on Windows; plaintext storage is the deduction that keeps it from 3. dependency_security gets 1: only package.json overrides (form-data/qs/tough-cookie) and some pinned versions, no lockfile in the packet, no audit or SBOM evidence, and a postinstall step that runs scripts/patch-pi-sdk.cjs to patch a dependency. external_effects gets 1: the product executes commands, drives a browser, and can remotely operate the computer through Telegram/Feishu/QQ/WeChat bridges, a very large effect surface with no egress controls shown beyond the sandbox. rollback gets 1 for scattered mechanisms (data-epoch checkpoints, migration backups, session archive/restore, character-card export) without a unified recovery story. source_attribution gets 1: only a tw93/kami acknowledgement and a Pi SDK link; third-party code and asset provenance is thin.
self_consistency gets 2: the README's core/lib/server/hub/desktop/shared layering matches hub/index.ts, server/index.ts, package.json scripts and the CI workflows, and the openhanako-to-HanaAgent rename is described consistently in README and SECURITY.md. dependency_availability gets 1: Node >=24.12.0 <25, Electron 42, and native modules such as better-sqlite3 and node-pty, with no lockfile in the packet, so install reproducibility cannot be confirmed from the evidence. failure_messages gets 2: startup-error logging, a degraded fallback for /api/health, loopback port self-healing warnings, and skill-creator preflight messages that tell the user what is missing and explicitly refuse to auto-install dependencies.
audience_and_scenarios gets 2: the README explicitly targets non-coders and everyday office work, with a GUI, five languages and multi-platform access. capability_boundaries gets 2: README and SKILL.md state the Windows write-isolation model, no automatic public tunnel, the full-access plugin boundary, and that WebView is the stable escape hatch while native card composition is not yet in the public SDK. trigger_precision gets 2: SKILL.md descriptions list explicit trigger phrases and explicit 'do not activate for simple Q&A or casual chat' conditions. environment_fit gets 2: macOS/Windows/Linux, PWA and LAN access are covered, but Windows is labelled Beta and its installer is unsigned.
information_architecture gets 2 for clear feature sections, an architecture tree, a tech-stack table and doc links. install_notes gets 2: per-platform downloads, a first-run wizard, dev commands and a Node version requirement. naming_stability gets 1: the project is mid-rename from openhanako to HanaAgent and the repository/release URLs still use the old name, which the README acknowledges. examples_and_faq gets 1: screenshots and a quick start plus a 'common situations' section inside a SKILL.md, but no standalone FAQ or systematic examples. known_limitations gets 2: the README admits the memory system needs work, Windows is Beta, the installer is unsigned, the Windows sandbox is weaker, and SECURITY.md admits plaintext credentials. license gets 2: the full Apache-2.0 text is present and matches the package.json license field; no NOTICE file, so not 3. versioning_changelog gets 1: only version 0.450.0 in package.json and tag-triggered builds, with no CHANGELOG in the packet. maintenance_responsibility gets 1: a single named author and a 72-hour SECURITY.md response commitment, but the publisher is unverified and there is no governance or succession statement.
output_usability gets 2: a GUI, session search and archiving, a full-screen media viewer, a desk for file collaboration and a mobile PWA make the output usable for ordinary users. marginal_value gets 1: the differentiation (personality, memory, character cards, non-coder focus) is self-asserted in the README with no comparative evidence against similar agents. cost_benefit gets 1: three model tiers (chat / small tool / large tool) and local Ollama support are cost-aware design, but no actual cost or performance data is provided.
claim_traceability gets 1: the core claims about sandboxing, memory and multi-agent collaboration live mostly in README prose, while the sampled code covers only hub/server/slash and cannot substantiate each claim. cross_source_corroboration gets 2: the README architecture is corroborated by hub/index.ts, server/index.ts, package.json, the CI/build workflows and the tests. fact_inference_separation gets 1: SECURITY.md cleanly separates what is guaranteed from where protection ends, but the README mixes marketing language with engineering fact.
- SECURITY.md states that credentials (provider keys, OAuth tokens, device records) are stored in plaintext under HANA_HOME and protected only by file permissions; other programs running as the same user can read them, and no POSIX permission work is done on Windows.
- The postinstall step runs scripts/patch-pi-sdk.cjs to modify a dependency, which is a supply-chain surface needing extra audit; no lockfile is present in the packet, so install reproducibility cannot be confirmed from the evidence.
- The external effect surface is large: the agent executes commands, drives a browser, and can remotely operate the computer through Telegram/Feishu/QQ/WeChat bridges, with no egress controls shown beyond the sandbox.
- The Windows sandbox is a write-isolation model where reads and network run under the current user's rights; the Windows installer is unsigned and the platform is labelled Beta.
- The repository is mid-rename from openhanako to HanaAgent, with release and security-reporting URLs still on the old name; the publisher is unverified and maintenance rests on a single author.
- This is a static source review with no build or execution performed; sandbox strength, memory quality and multi-agent collaboration claims were not independently verified.
FAQ
Do I have to bring my own model API, and what does it cost?
Can the agent touch or delete my files?
Can I reach the same assistant from my phone?
/mobile/ PWA that you sign into with a device access key or local account to browse sessions, keep chatting and manage workspace files. A second desktop can connect to the same server with a LAN URL plus access key. Hana does not open a public tunnel automatically; a public entry point must be supplied by you.Is Windows actually usable today?
.exe is unsigned, so Windows Defender SmartScreen may block the first run — click "More info" then "Run anyway". The macOS build is signed and notarized; Linux ships AppImage and deb packages.Can I send a patch or pull request?
npm install, then npm start, with tests via Vitest (npm test); see CONTRIBUTING.md for the full flow.Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.