Skip to main content

Ciaobot personal assistant server.

Project description

Ciaobot

Ciaobot is a local web app for knowledge work with subscription-backed agents (Claude Code, OpenAI Codex, and others). Chats, projects, files, schedules, memory, and archived knowledge live in one interface instead of being scattered across terminal sessions — with a plain-markdown vault you own.

Who it's for

Ciaobot is built for knowledge work, not software development: brainstorming, research, writing and editing, planning, and document work — typically drafted as markdown in a local vault, then published to Google (Docs, Drive, Sheets) when ready.

  • Not built for day-to-day coding. There is no code editor or repo tooling in the UI — keep using your IDE for that.
  • Google Workspace — Gmail, Calendar, Drive, Docs, Sheets, Slides, and Tasks through Google's gws CLI, connected with browser-based OAuth from Settings.

The idea

Ciaobot does not reinvent how you talk to agents. It runs Claude Code or OpenAI Codex in the background, on the bet that the vendors' own CLIs are the best-maintained agent harnesses available — they keep the model communication, tool use, and agentic loop optimized so this project doesn't have to. Ciaobot stays in control of the three things that matter to me:

  1. The context — deciding exactly what memory, notes, and project state the agent is fed each turn.
  2. One interface — the same UI regardless of which project or provider you're talking to.
  3. Incremental capabilities — features are added only when I need them or discover a pattern worth adopting, not speculatively.

What that looks like in practice:

  • Workspaces and projects — split life areas (personal, work, a client, …) into sidebar workspaces, then organize work inside projects. Ciaobot injects project notes and context into every turn.
  • A vault you own — durable knowledge as plain markdown with wikilinks and an INDEX.md, inspired by Andrej Karpathy's LLM Wiki pattern. Browse in Obsidian or any editor; sync via GitHub, Drive, or iCloud.
  • Skills, subagents, and commands — packaged defaults, extensible from Settings or workspace files (see What ships by default).
  • Files and automations — create, preview, edit, and restore vault files from the UI; run recurring routines on a cron you choose (schedules) or re-run a prompt inside one chat every N minutes (loops).
  • Voice, notifications, and updates — transcription, push alerts, model settings, and in-app package updates. On macOS: menu bar companion, Ciaobot.app, and background service after setup.
  • Provider choice — Claude Code or Codex with your existing login; Ollama, OpenRouter, and on-device models for lighter tasks (see Providers).

Pick a workspace folder, choose a provider, and work — Ciaobot is the interface on top; the vault is yours to keep.

Memory and the vault

Ciaobot keeps memory in layers so the agent can recall what matters without stuffing every prompt. Settings → Context shows what the agent actually loads.

  • Short agent memory (~/.ciao/memory.md and user.md) — a small, capped scratchpad the model maintains for you: preferences, conventions, lessons. Updated during conversation or via /remember; a snapshot is injected at the start of each chat.
  • Your vault (memory-vault/, or a separate vault root per sidebar workspace) — durable markdown you own: people, projects, ideas. Browse it in Obsidian or any editor; it stays useful even without Ciaobot.
  • One behavior file for the install<workspace>/CLAUDE.md (and AGENTS.md for Codex) applies to every chat.

When your message mentions a name that appears in the vault index, the agent gets a quiet hint — “this probably means People/Emma” — so it opens the right note without you repeating context. And when a chat is archived, a pipeline turns it into durable knowledge: session insights are extracted, memory proposals are drafted, and daily/weekly curation runs update vault pages — but nothing is promoted into long-term memory without review, and Ciaobot never discards or rewrites an existing notes folder during onboarding. Track the background steps under Settings → Automation, and see docs/ARCHITECTURE.md for the full pipeline.

Working in chat

  • Comment on text — select any passage in a message, add a sidebar comment, and send it with your next prompt so the agent knows exactly what you mean.
  • Inline file previews — when the agent reads or edits a file, a card appears in the thread; click to open a viewer with history, diff, and restore.
  • Pin documents — keep a file open beside the chat; add line-level comments in the preview (attached to your next message, like chat comments).
  • Rich previews — images inline; PDFs in a built-in viewer; PowerPoint (.pptx) converted to PDF for display (requires LibreOffice on the machine running Ciaobot).

A document pinned in a split view next to the chat

On first launch, an in-app product tour walks through these flows. Replay it anytime from Settings → Home → Product tour.

What ships by default

Every install seeds a set of subagents, slash commands, and system routines from the package (ciao/stock/); your own workspace versions with the same name take precedence.

Subagents

Specialized roles the main agent can delegate to (ciao/stock/agents/):

Subagent What it does
memory Vault curation, durable note updates, and memory-proposal processing.
researcher Researches current external information and summarizes it with sources.
secretary Calendar, email, reminders, and lightweight admin via the Google Workspace skills; asks before sending anything.

Slash commands

Type these in any chat (ciao/stock/commands/):

Command What it does
/remember Saves a durable fact or learning to the right memory layer (agent memory, user profile, or a vault page).
/interrogation Asks a few targeted questions to turn a vague project, person, or idea into a useful canonical vault note.
/critique Quick single-model review of a plan or draft (the multi-model adversarial-review skill is the heavier option).

System routines

Recurring schedules that ship enabled (ciao/stock/schedules.json); they run through the same provider pipeline as a chat turn, and their runs are visible under Settings → Automation:

Routine Cadence What it does
Memory curation Daily Reviews recent archived chats, memory proposals, and learnings; updates vault pages and Workspace/Learnings.md.
Skill evolution Weekly (Sun) Drafts skill-improvement proposals from recent usage; never applies them automatically.
Weekly self-improvement review Weekly (Sun) Runs the weekly review checklist: promote recurring learnings, lint the vault, reconcile contradictions.

Your own schedules live alongside these in the workspace (.runtime/schedules.json), with in-chat loops in .runtime/loops.json; both are managed from the UI's Automations page. Packaged skills (vault search, Google Workspace, web research, and more) are browsable under Settings → Skills and live in ciao/stock/skills/.

Install

macOS (Homebrew) — recommended; includes Ciaobot.app and the background service:

brew install raffaelefarinaro/ciaobot/ciaobot
ciao run

Any platform (PyPI) — or macOS without Homebrew; requires Python 3.12 or newer:

python3.13 -m venv ~/.ciaobot-venv
~/.ciaobot-venv/bin/pip install ciaobot
~/.ciaobot-venv/bin/ciao run

Then open http://localhost:8443 and follow the setup wizard:

  • Workspace folder (default ~/ciaobot) — your second brain (memory-vault/) plus app config and runtime state. Sync this folder (GitHub, Drive, iCloud, …) so your vault follows you across machines.
  • Model provider — Claude Code, Codex, or another configured backend.

The wizard writes config, initializes the workspace as a git repo (with a .gitignore for secrets and runtime state), and on macOS installs LaunchAgents and Ciaobot.app.

For scripted setups: ciao setup --workspace <dir>. If a setup link returns invalid setup token, mint a fresh one with ciao setup-url --workspace <dir>.

Contributors running from a git checkout: see docs/DEVELOPMENT.md.

Providers

Use the access you already have:

  • Claude Code — CLI-managed Claude subscription or Anthropic Console authentication.
  • OpenAI Codexcodex login, including eligible ChatGPT subscription accounts.
  • Ollama — cloud or local daemon.
  • OpenRouterOPENROUTER_API_KEY.
  • On-device models — for lightweight tasks where available: titles via apfel, speech via mlx-whisper, and similar.

See INTEGRATIONS.md for env vars, OAuth, and per-task model routing (titles, insights, voice).

A personal project, shared

Ciaobot is my personal idea of how an AI assistant should work day to day. I built it for my own use, run it on my own machines, and the defaults reflect that: project-first navigation, a plain-markdown vault as memory, explicit model routing, and self-improvement loops that propose changes instead of applying them blindly.

I'm sharing it because the patterns may be useful to you. Ideas, bug reports, disagreements with my defaults, and pull requests are welcome — see CONTRIBUTING.md.

Documentation

Doc What's in it
docs/ARCHITECTURE.md System design: repo and workspace layout, chat pipeline, memory, schedules, providers.
docs/DEVELOPMENT.md Git checkout, dev workflow, testing, change guidelines.
INTEGRATIONS.md Env vars, OAuth, MCP connectors, server runtime knobs.
PWA_API.md API endpoints, auth flow, state paths, agent recipes.
web/README.md PWA frontend workflow, iOS Safari gotchas, design tokens.
SECURITY.md Security policy.
CONTRIBUTING.md How to contribute.
docs/CREDITS.md Open tools Ciaobot is built on.

Naming note: the user-facing product is Ciaobot. The CLI is installed as both ciaobot and ciao (same command); the Python package, import path, and many environment variables are still named ciao/CIAO_* for compatibility.

Why "Ciao"?

Ciao isn't just Italian for "hi" and "bye" — it comes from the Venetian phrase s-ciào vostro ("[I am] your slave"), a servile greeting that shed its literal meaning over the centuries and became the everyday word Italians use today. Fitting for an assistant: yours to command. See the etymology on Wikipedia.

Built on

Ciaobot is glue around a lot of excellent open tools — Claude Code, the Claude Agent SDK, Codex CLI, Starlette, Vue, and more. See docs/CREDITS.md for the full list.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ciaobot-0.4.14.tar.gz (17.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ciaobot-0.4.14-py3-none-any.whl (17.7 MB view details)

Uploaded Python 3

File details

Details for the file ciaobot-0.4.14.tar.gz.

File metadata

  • Download URL: ciaobot-0.4.14.tar.gz
  • Upload date:
  • Size: 17.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ciaobot-0.4.14.tar.gz
Algorithm Hash digest
SHA256 d7b7260106e63c14c647958f7bc41a3316a60fc6b10e2c937418887ed129837c
MD5 5b00269619bbae43e45bc2e05d4ceb69
BLAKE2b-256 2824f896e985a503b26e181282c777367de9651f38b80e2482a1351b4f0415b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for ciaobot-0.4.14.tar.gz:

Publisher: publish.yml on raffaelefarinaro/ciaobot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ciaobot-0.4.14-py3-none-any.whl.

File metadata

  • Download URL: ciaobot-0.4.14-py3-none-any.whl
  • Upload date:
  • Size: 17.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ciaobot-0.4.14-py3-none-any.whl
Algorithm Hash digest
SHA256 96a73fe153d29bc7028c527eb957789c3381ce4cd238c1ef80f41442a526625c
MD5 02128963321dd67e6732263787aafae5
BLAKE2b-256 06d2c7d00c80e4a56a032d8880adf41a8cc22d0b0dba2c0017a5efad99133ce3

See more details on using hashes here.

Provenance

The following attestation bundles were made for ciaobot-0.4.14-py3-none-any.whl:

Publisher: publish.yml on raffaelefarinaro/ciaobot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page