Hakase 博士 — Autonomous Agent Systems by Ammar Zerouk Skip to content
博士 はかせ 自律型エージェント・システム
博
OPEN SOURCE

Hakase 博士

A high-autonomy research and execution agent, in your terminal, your browser and your chat.

ORCHESTRATOR ONLINE · 3 sub-agents · 2 chat channels

What it does

A root orchestrator, not a chatbot

A Google ADK root orchestrator delegates to three sub-agents, Web Researcher, Code Interpreter and General Purpose, on Gemini, OpenAI or any OpenAI-compatible endpoint, including local Ollama. An opt-in plan, execute and verify workflow handles coding work.

Four ways in

A split-pane Bubble Tea TUI, a Vue 3 web app, and DM bots for Telegram and Discord. Streaming answers, approval and clarify buttons, task and cron control from chat. Telegram adds local voice notes and voice replies, Discord is text-only.

Research from the first run

Built-in keyless web_search and web_fetch need no setup. Add a browser MCP (Lightpanda, Playwright or Chrome DevTools) for full JavaScript navigation and downloads.

Sandboxed execution and files

Python runs in an isolated venv with automatic pip resolution. Path confinement is the default, bubblewrap is optional, and a permission policy governs tools and paths with a hash-chained audit trail.

Skills that improve themselves

Python skills plus markdown SKILL.md skills, an overnight SkillOpt-Sleep loop behind a held-out gate and human adoption, and a wiki-style knowledge base with [[wikilinks]] and optional hybrid search.

MCP native

Connect any number of stdio or HTTP MCP servers, search and install from the registry, and cap tool counts with an opt-in gateway. In MCP server mode, another agent can drive Hakase as a sub-agent.

Costs and traces, built in

Per-run OpenTelemetry GenAI traces, a FinOps usage ledger with budgets, cron scheduling, lifecycle hooks, SLSA L3 provenance, single-binary releases and Docker Compose.

Media and vision

Generate images and video through OpenAI or fal.ai with an offline fallback, route images to a vision model, dictate in the browser with local whisper.cpp and answer in voice with Piper.

Architecture

Bubble Tea TUI
Web UI (Vue 3)
Telegram bot
Discord bot
LIVE Root Orchestrator Google ADK · Gemini / OpenAI / compatible
Web Researcher
Code Interpreter
General Purpose
MCP tools · web_search · system_exec · git · cron
Sandboxed Python isolated venv · bubblewrap · policy gates
Skills & Knowledge self-evolving · [[wikilinks]] · hybrid search
Go 1.26Google ADKBubble TeaVue 3MCPTelegram & DiscordOTelDocker

Hakase is MIT licensed and open source. For businesses, I design and build agent systems like it, tailored to your operations.

Start a project