npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

botnote-server

v0.5.10

Published

The botnote daemon: REST API, web UI and Postgres storage for the agent-first task + memory store.

Readme

botnote

Notion for bots. A single binary that stores projects, tasks, worklogs, and agent memory — and exposes them to AI agents via MCP and REST.

Why

Agents work best with one stable, queryable, write-friendly source of truth — not a stack of Notion + Jira + Slack + scratch files. botnote is that source of truth, scoped to one user, deployable in 60 seconds.

Three things only:

  1. Project management — projects and tasks with status, priority, due dates, and stable identifiers.
  2. Memory — Markdown notes holding conclusions to apply again: decisions and their reasons, preferences, gotchas, conventions. Project-level or workspace-wide. Tagged, optionally pinned, found by hybrid retrieval (BM25 + vector + time decay).
  3. Worklog — append-only progress entries on a task: what was done, what's next, what's blocking. The opening brief bundles the project description, pinned memory, open tasks, and the latest worklog of each in-progress task, so the next session resumes where the last one stopped.

Worklog or memory?

Ask: is this a record of what happened, or a conclusion about what to do next time?

| | Worklog | Memory | |---|---|---| | Is | A record: what happened | A conclusion: what to do next time | | Written as | Chronological events — "tried A, it failed, switched to B" | A rule you can apply directly — "use B here, because A …" | | Level | One task | A project, or the whole workspace | | Like | A diary, git log | A wiki, a README | | Example | "Added a Stop hook that forced a feedback turn; it interrupted sessions, removed in 358c6f9" | "botnote hooks only do side effects; they never block the model" |

Memory is distilled from worklog. Worklog stays searchable, so "how was this done before?" is answered from it; when the same lesson keeps coming up, write it down once as a memory. A memory drawn while working on a task cites that task as its source but does not belong to it. In the API and MCP tools memory is stored as kind = note and written with remember; worklog entries use add_worklog.

Design

  • Storage: Postgres + pgvector + tsvector. Single dedicated docker container.
  • Single multi-kind entity table — task / note discriminated by kind column.
  • Search: hybrid retrieval — tsvector BM25 + pgvector cosine + time decay, merged via Reciprocal Rank Fusion (k=60).
  • Embeddings: OpenAI text-embedding-3-small at 384 dimensions, written asynchronously. Falls back to BM25-only if no API key.
  • API: MCP server (Streamable HTTP at /mcp on the daemon) + REST API (Fastify on :4280) over a shared service layer.
  • Every write records actorKind (human / agent / system); idempotencyKey is supported on writes.
  • All MCP tools carry 2025-03-26 annotations: readOnlyHint, idempotentHint, destructiveHint, openWorldHint.

Quick start

The fastest way to run your own instance is Docker Compose:

curl -fsSLO https://raw.githubusercontent.com/botnote-dev/botnote/main/docker-compose.yml
docker compose up -d        # web UI, REST and MCP on http://127.0.0.1:4280

docs/self-hosting.md covers putting it on your own domain so several devices can connect, using an external Postgres, upgrades and backups.

Working on botnote itself requires Node 20+, pnpm and Docker.

Packages

This repository ships two npm packages:

| Package | Contents | License | |---------|----------|---------| | botnote | CLI, plus the MCP handler the daemon mounts at /mcp; talks to a daemon over HTTP | MIT | | botnote-server | The daemon: REST API, web UI, Postgres storage, background jobs | AGPL-3.0-only |

Client machines only need botnote. The machine that hosts your data runs botnote-server (npx botnote-server, or botnote serve once the CLI is installed) with DATABASE_URL pointing at Postgres with pgvector.

CLI install

On client machines, install the portable CLI from npm:

npm i -g botnote
botnote login

botnote login stores the daemon URL and bearer token in ~/.config/botnote/config.json. The default URL is http://127.0.0.1:4280, the daemon on the same machine, which needs no token. From another machine enter your instance's URL (for example https://botnote.example.com) plus a token from Settings -> API tokens. Every client surface (CLI, MCP server, plugins) shares that one default; nothing ever falls back to a third-party host. A token is shown once, when you create it, and acts as the person who created it. If you lose it, revoke it and create a new one.

Security note: newly-created API tokens are stored recoverably in the database so Settings can copy them later. Treat the database and backups as secret-bearing material, and revoke tokens if either is exposed.

Authentication

People sign in to the web UI with an email and password. The first person to open a new instance creates the owner account; when BOTNOTE_PASSWORD is set, that page asks for it as a setup code. A forgotten password is reset on the daemon host with botnote-server reset-password <email>.

Auth is enforced once an account exists, when BOTNOTE_REQUIRE_AUTH=1, or, with the flag unset, when BOTNOTE_PASSWORD is set or BOTNOTE_PUBLIC_URL names another host. Every /v1/* request then needs a bearer token (Authorization: Bearer bn_...) or the session cookie from the web login. The one exception is a direct connection from the daemon host itself: loopback callers need no token, so the local CLI and plugins keep working with zero config. The decision is made on the TCP peer address, never on headers, so binding BOTNOTE_HOST=0.0.0.0 on a LAN or VPS does not open the API.

| Var | Default | Meaning | |-----|---------|---------| | BOTNOTE_REQUIRE_AUTH | 1 if BOTNOTE_PASSWORD or a public BOTNOTE_PUBLIC_URL is set, else 0 | Enforce cookie/bearer on /v1/* before any account exists | | BOTNOTE_TRUST_LOCALHOST | 1 | 0 makes loopback callers present a credential too | | BOTNOTE_TRUST_PROXY | loopback | Peers whose x-forwarded-for / cf-connecting-ip are believed: loopback, an IP, or an IPv4 CIDR, comma-separated | | BOTNOTE_CLIENT_IP_HEADER | both, cf-connecting-ip first | Which header from a trusted proxy names the client: x-forwarded-for or cf-connecting-ip |

Behind Cloudflare Tunnel, nginx or Caddy on the same host the defaults are right. If the proxy runs on another machine, list its address in BOTNOTE_TRUST_PROXY; otherwise its forwarded headers are ignored and rate limiting keys on the proxy itself.

A proxy other than Cloudflare forwards a client-supplied cf-connecting-ip untouched, so behind Caddy, Traefik or nginx set BOTNOTE_CLIENT_IP_HEADER=x-forwarded-for; otherwise a caller can choose its own rate-limit bucket. The Compose file does this already. The daemon also refuses to start when BOTNOTE_PUBLIC_URL names a public address while auth is off, unless BOTNOTE_REQUIRE_AUTH=0 says that is intended.

No plugin needs the botnote npm package: every agent connects to the daemon's /mcp endpoint directly.

CLI commands

Read:

botnote projects            # all projects
botnote today               # today + overdue
botnote tasks --status open
botnote search "backup policy"

Write — every command takes a KEY-SEQ identifier (OPS-12, case-insensitive) or a UUID:

botnote task "Rotate the staging certs" --project OPS --due 2026-10-01
botnote note "Staging certs expire yearly on Oct 1" --project OPS --pin

botnote update OPS-12 --status in_progress --priority high
botnote update OPS-12 --due 2026-10-08     # or --due none to clear it
botnote update OPS-12 --title "..." --project INFRA --tags certs,staging

botnote worklog OPS-12 "Renewed staging, prod still pending"
botnote done OPS-12 --worklog "Both environments renewed"

botnote delete OPS-12 OPS-13              # to the trash, emptied after 30 days
botnote restore OPS-12

--status accepts open, in_progress, done, rejected (cancelled; shown as "Cancelled" in the web UI); --priority accepts urgent, high, medium, low, none. A date-only --due is stored at noon UTC so it reads as the same day in every timezone.

Local daemon development

# 1. Spin up postgres (port 55434, pgvector extension)
docker compose -f docker-compose.dev.yml up -d

# 2. Install deps
pnpm install

# 3. Apply schema
DATABASE_URL=postgres://botnote:[email protected]:55434/botnote pnpm db:migrate

# 4. Boot REST + Swagger UI
DATABASE_URL=postgres://botnote:[email protected]:55434/botnote pnpm dev

Then:

Embeddings are optional. Set OPENAI_API_KEY to enable hybrid (BM25 + cosine) search; without it, search is BM25-only.

Tests

Tests must run against a disposable database whose name contains test. The helper refuses any other database name so local test runs do not touch a live botnote instance.

docker compose -f docker-compose.dev.yml up -d
docker exec botnote-postgres createdb -U botnote botnote_test || true

DATABASE_URL=postgres://botnote:[email protected]:55434/botnote_test pnpm db:migrate
BOTNOTE_TEST_DATABASE_URL=postgres://botnote:[email protected]:55434/botnote_test pnpm test

Releasing

Releases publish from CI. Bump the version and push the tag:

pnpm version patch -m "Release %s"   # bumps both packages + every plugin manifest, commits, tags
git push --follow-tags

Both packages always share one version number. The v* tag triggers .github/workflows/publish-npm.yml, which typechecks, runs the full test suite, builds, and publishes botnote and then botnote-server to npm through OIDC trusted publishing. No npm token is involved, and npm publish should never be run from a developer machine — a local publish will fail, and npm reports that failure as a misleading 404 Not Found - PUT.

Check a release with gh run list --workflow=publish-npm.yml, npm view botnote version and npm view botnote-server version. The registry manifest updates a few minutes before the tarball finishes reaching the CDN, so a brief npx botnote@<version> 404 right after a successful publish is expected.

Updating the daemon on a host is separate from releasing:

pnpm build && launchctl kickstart -k gui/$(id -u)/com.botnote.daemon

REST endpoints

Project status values are planned, active, watching, paused, and archived. archivedAt records when a project entered the archived status.

| method | path | summary | |---|---|---| | POST | /v1/projects | Create project | | GET | /v1/projects | List non-archived projects (?includeArchived=true includes archived) | | GET | /v1/projects/:id | Fetch project | | PATCH | /v1/projects/:id | Update project status or metadata | | GET | /v1/projects/by-key/:key | Fetch by key | | POST | /v1/projects/:id/opening-brief | Opening brief | | POST | /v1/opening-brief | Workspace or project opening brief | | POST | /v1/tasks | Create task | | POST | /v1/tasks/:id/recurrence | Configure task recurrence | | GET | /v1/tasks/:id/recurrence | Fetch task recurrence | | PATCH | /v1/recurrences/:id | Update recurrence rule | | POST | /v1/tasks/:id/skip-occurrence | Skip current recurring occurrence | | POST | /v1/recurrences/:id/stop | Stop recurrence series | | POST | /v1/notes | Create note | | GET | /v1/entities/:id | Fetch entity | | GET | /v1/projects/by-key/:key/entities/by-seq/:seq | Fetch entity by identifier (e.g. DEMO-12) | | PATCH | /v1/entities/:id | Update entity | | DELETE | /v1/entities/:id | Delete entity | | GET | /v1/entities/:id/related | List related entities | | POST | /v1/entities/:id/links | Link entity to another | | POST | /v1/recent | Recent activity | | POST | /v1/search | Hybrid search | | POST | /v1/tasks/range | Scheduled, overdue, and backlog tasks | | GET | /v1/settings/embedding | Embedding provider/model/key status + vector coverage | | PATCH | /v1/settings/embedding | Update embedding provider/model/key settings | | POST | /v1/settings/embedding/backfill | Queue missing embeddings for existing rows | | GET | /v1/tokens | List API tokens | | POST | /v1/tokens | Create API token | | DELETE | /v1/tokens/:id | Revoke API token | | GET | /v1/export | Stream the workspace as JSON Lines (?vectors=1 includes embeddings) | | POST | /v1/import | Load a JSON Lines dump (content-type: application/x-ndjson); returns an import report | | POST | /v1/auth/login | Master-password login; sets httpOnly session cookie | | POST | /v1/auth/logout | Clear session cookie and revoke the session | | GET | /v1/auth/whoami | Confirm auth state, how the caller authenticated, and which member and token the request acts as | | GET | /health | Health check |

Schemas: see /docs (Swagger UI) or /docs/json (OpenAPI 3).

Example: create a project + write a task + search

A=http://localhost:4280

PID=$(curl -s -X POST $A/v1/projects \
  -H 'content-type: application/json' \
  -d '{"key":"DEMO","name":"Demo","description":"Demo project for the quick start"}' \
  | jq -r .id)

curl -s -X POST $A/v1/tasks \
  -H 'content-type: application/json' \
  -d "{\"projectId\":\"$PID\",\"title\":\"Ship botnote v1\",\"actorKind\":\"human\"}"

curl -s -X POST $A/v1/search \
  -H 'content-type: application/json' \
  -d "{\"query\":\"ship\",\"projectId\":\"$PID\"}"

Recurring tasks

Recurring tasks are normal task rows plus a recurrence rule. Configure a first dated task, then attach a rule. Completing the current occurrence generates the next occurrence idempotently.

Scheduled recurrences are also materialized by the REST daemon through the end of the current day at startup and on a short background interval, so daily tasks and fixed meetings appear even when nobody opens the calendar first. Future occurrences beyond today are not pre-created; calendar previews should stay virtual so sequence numbers are only assigned to real task rows.

botnote task "Attend weekly lab meeting" \
  --project LAB \
  --due 2026-06-26 \
  --repeat weekly \
  --on FR \
  --anchor scheduled

botnote task "Review backups" \
  --project OPS \
  --due 2026-06-26 \
  --repeat monthly \
  --anchor completion

botnote recurrence OPS-12
botnote skip OPS-12 --reason "holiday"
botnote stop-recurrence OPS-12

Use scheduled for calendar-like events, meetings, and fixed routines. Use completion for maintenance work where the next due date should be calculated from when the previous occurrence was actually completed.

Your data

Everything in a workspace can leave as one JSON Lines file and come back without loss: UUIDs, KEY-SEQ numbers, timestamps, who wrote what, links between items, recurrence rules, edit history and the trash.

botnote export --out backup.jsonl        # projects, entities, edges, rules, history, settings
botnote export --vectors --out full.jsonl  # also the embeddings (large; skipped by default)
botnote import backup.jsonl              # into the daemon that `botnote whoami` points at

The first line is a header (formatVersion, botnoteVersion, exportedAt, source workspace); every other line is one record whose type names its table. Records are written in dependency order, so both commands stream and never hold the whole dump in memory.

Importing is idempotent: a record whose id already exists is skipped, so a partial import can be re-run. Rows owned by another workspace, projects whose key is already taken, or children whose parent is missing are reported as conflicts and left out instead of aborting the import (the CLI exits 3 when there were any). Entities that arrive without a vector are re-embedded in the background. API tokens and the embedding API key are never exported.

MCP

The daemon serves MCP over Streamable HTTP at /mcp. That is the only MCP transport: there is no stdio server and nothing to install on the client. Tool descriptions and server instructions come from the daemon, so they update when the daemon is deployed.

Auth is the same as the REST API: an API token from Settings -> API tokens sent as Authorization: Bearer <token>. A client on the daemon's own machine needs no token while loopback is trusted.

Use botnote as an MCP server alone, or add the plugin for the workflow skills on top.

# Claude Code
claude mcp add --transport http botnote https://botnote.example.com/mcp \
  --header "Authorization: Bearer <token>"
# Codex, with the token in the BOTNOTE_TOKEN environment variable
codex mcp add botnote --url https://botnote.example.com/mcp \
  --bearer-token-env-var BOTNOTE_TOKEN

Codex reads that variable every time it starts. To keep the token out of the environment, write the header into ~/.codex/config.toml instead:

[mcp_servers.botnote]
url = "https://botnote.example.com/mcp"
http_headers = { Authorization = "Bearer <token>" }
// Cursor (~/.cursor/mcp.json), Windsurf, Zed and other clients that take a URL
{
  "mcpServers": {
    "botnote": {
      "url": "https://botnote.example.com/mcp",
      "headers": { "Authorization": "Bearer <token>" }
    }
  }
}
// Gemini CLI: ~/.gemini/settings.json
{
  "mcpServers": {
    "botnote": {
      "httpUrl": "https://botnote.example.com/mcp",
      "headers": { "Authorization": "Bearer <token>" }
    }
  }
}

On the daemon host use http://127.0.0.1:4280/mcp and leave the token out.

For claude.ai or Claude Desktop, add a custom connector with the URL https://<your-host>/mcp and put the same Authorization header under Request headers. The daemon must be reachable over public HTTPS for that; how you expose it (reverse proxy, tunnel) is up to you. There is no OAuth flow.

A client that only speaks stdio can reach the endpoint through the generic mcp-remote bridge: npx -y mcp-remote https://botnote.example.com/mcp --header "Authorization: Bearer <token>".

The endpoint is stateless and answers POST only. It carries tools and resources but no skills; the plugin below adds those.

Plugin

The plugin bundles the MCP server, workflow skills/commands, and a curator subagent. All workflows route through MCP, so no separate task or memory MCP setup is required.

Prefer the plugin installs below: they bundle MCP wiring and skills in one step. The skills CLI at the end of this section is a skills-only fallback for agents without a plugin system.

Claude Code

# In Claude Code
/plugin marketplace add botnote-dev/botnote
/plugin install botnote@botnote

# Claude Code will prompt for:
#   botnote_url    -> leave empty on the daemon host (http://127.0.0.1:4280);
#                     elsewhere your instance URL, e.g. https://botnote.example.com
#   botnote_token  -> bearer from Settings -> API tokens; skip on loopback

Slash commands:

/botnote:today              # today + overdue
/botnote:remember "..."     # capture a note via MCP
/botnote:recall "..."       # hybrid search
/botnote:start-work DEMO-12 # pick up a task with project context
/botnote:done               # mark current focus done
/botnote:add-task "..."     # capture a task without starting it
/botnote:show-todo          # workspace task/context summary

Plugin distribution lives at botnote-dev/botnote. The Claude Code plugin runs no local MCP process: it connects to <daemon URL>/mcp with the URL and token from the install prompt (/plugin configure botnote to change them). Leave the URL at its default for a daemon on this machine; for any other daemon enter its base URL without a trailing slash and an API token. Neither Node nor the botnote CLI is needed on the client (the optional session hooks below use Node when it is there).

Upgrading from 0.2.24 or earlier: those versions also read the URL and token that botnote login saved in ~/.config/botnote/config.json. The plugin no longer does, so if you relied on that for a remote daemon, enter both in the plugin options.

Session hooks

The Claude Code plugin also ships four hooks. None of them blocks the session, forces an extra turn, or calls a model:

| Hook | What it does | Tokens | |---|---|---| | SessionStart (new session, /clear, compaction) | Puts the opening brief into the session's context, so the agent starts with pinned notes, open tasks and recent activity without calling opening_brief. Workspace-wide by default; set BOTNOTE_PROJECT to a project key for that project's brief | the brief, capped at about 9,000 characters | | PostToolUse (botnote tools only) | Remembers which task this session works on: the task an agent starts (in_progress), resumes (list_worklog), or logs to | none | | Stop | Hands off to a detached background process (so it never delays the session and still runs after claude -p exits), which replaces that task's session snapshot — the agent's last message and git diff --stat — via PUT /v1/tasks/:ref/session-snapshot. The snapshot is not a worklog entry; the opening brief shows it only when it is newer than the task's latest worklog | none | | UserPromptSubmit | Adds one reminder line when the task has had no worklog entry for 8 prompts and 30 minutes, at most once per 30 minutes | a few, rarely |

The hooks need node on PATH and do nothing without it. Session state lives in the plugin data directory. Tune the reminder with BOTNOTE_NUDGE_PROMPTS and BOTNOTE_NUDGE_MINUTES. Set BOTNOTE_SESSION_BRIEF=0 to turn the SessionStart brief off.

Codex

Add the plugin through /settings -> plugin in Codex, or add this marketplace from the public repository without a full source checkout:

codex plugin marketplace add https://github.com/botnote-dev/botnote.git \
  --sparse .agents/plugins \
  --sparse plugins/botnote

codex plugin add botnote@botnote-plugins

The sparse checkout must include .agents/plugins, because Codex discovers the marketplace manifest from .agents/plugins/marketplace.json.

For local plugin development, add this marketplace entry to .agents/plugins/marketplace.json in the repo:

{
  "name": "botnote-plugins",
  "interface": { "displayName": "botnote Plugins" },
  "plugins": [
    {
      "name": "botnote",
      "source": { "source": "local", "path": "./plugins/botnote" },
      "policy": { "installation": "AVAILABLE", "authentication": "ON_INSTALL" },
      "category": "Productivity"
    }
  ]
}

Then install/enable from the Codex plugin UI, or use:

codex plugin marketplace add .
codex plugin add botnote@botnote-plugins

For synced Codex settings, include this in ~/.codex/config.toml or the rendered config template:

[plugins."botnote@botnote-plugins"]
enabled = true

[marketplaces.botnote-plugins]
source_type = "local"
source = "/absolute/path/to/botnote"

The Codex plugin carries the workflow skills only. Codex plugins cannot ask each user for a URL, so connect your daemon's /mcp endpoint once with codex mcp add, as shown under MCP.

Cursor

Cursor-compatible plugin metadata lives in .cursor-plugin/marketplace.json. The marketplace points at the same plugins/botnote bundle, so Cursor gets the same MCP server and workflow skills without a second plugin implementation.

# Marketplace root for Cursor plugin clients:
https://github.com/botnote-dev/botnote

The Cursor plugin manifest is plugins/botnote/.cursor-plugin/plugin.json. It connects to ${BOTNOTE_URL}/mcp with Authorization: Bearer ${BOTNOTE_TOKEN}; both are plugin variables set under Plugins -> Configure.

Skills-only fallback: skills CLI

For agents without a plugin system, the skills CLI can install the workflow skills into 70+ agents:

npx skills add botnote-dev/botnote   # install all 7 skills
npx skills update                     # refresh to the latest version later
npx skills list                       # see what is installed where

The skills CLI installs SKILL.md files only. It does not connect the agent to botnote, which the skills depend on: add the /mcp endpoint once per machine as shown under MCP.

Known limitation: restart sessions after a plugin update

Plugin clients (Claude Code, Codex, Cursor) cache the plugin under a version-numbered directory and delete the old one on update. A session that was already running keeps pointing at the old paths, so its skills fail to load until the session is restarted. This is client cache behavior, not something the plugin can compensate for — after updating the plugin, start a fresh session.

MCP tools

botnote exposes the following tools + resources at /mcp.

Tools

| tool | annotations | what it does | |---|---|---| | opening_brief | readOnly | Project context bundle (description + pinned notes + open tasks + recent); without a project, the project index | | search | readOnly | Hybrid retrieval over tasks and notes | | recent | readOnly | Recent activity, filterable by project, kind, tag and parent, with offset paging | | list_projects | readOnly | List non-archived projects (includeArchived includes archived) | | get_project | readOnly | Fetch a project by key, including its description | | create_project | — | Create a project | | update_project | destructive idempotent | Update project status, name, description, color, or icon | | get_entity | readOnly | Fetch one task or note by any reference a tool printed: DEMO-12, note/467ccee9, or a UUID. A repeating task comes with its schedule | | get_entity_by_key | readOnly | Fetch one task or note by human-readable identifier, e.g. DEMO-12 | | create_task | idempotent | Create a structured task; recurrence makes it repeat | | skip_occurrence | destructive | Skip the current recurring occurrence and advance the series | | remember | idempotent | Create a free-form note | | update_entity | destructive | Mutate task or note fields; recurrence sets or changes a task's repeat schedule, null stops it | | delete_entities | destructive idempotent | Move up to 50 tasks or notes to the trash | | restore_entities | idempotent | Bring trashed tasks or notes back | | related | readOnly | List child notes/tasks for an entity | | link | idempotent | Create typed edge between entities |

Resource

  • botnote://workspace — workspace overview: project index + most recent activity (text/markdown).

How an agent finds the right project

Every project has a one-line description ("Marketing site for the bakery, repo acme/site"). opening_brief without a project lists every project the caller can see with its description and open task count, and tells the agent to pick the one the session's work belongs to and call opening_brief again with its key. If none fits, the agent asks or offers to create a project instead of filing work at workspace level.

Conventions every session in a project must follow (deploy steps, test commands, gotchas) go in pinned memory: remember with pinned: true. The project brief prints pinned notes in full.

Status

Actively developed and self-hosted at https://botnote.net. The shipped surface covers projects, tasks, and notes with hybrid search (BM25 + optional vector embeddings), recurring tasks, a web UI (list / board / calendar views), the REST API and MCP server documented above, and the editor plugin for Claude Code, Codex, and Cursor. See AGENTS.md for codebase conventions and the BOT project in botnote for ongoing work.

License

The license depends on the directory:

  • The daemon, botnote-server (src/, web/ and everything not listed below), is licensed under the GNU Affero General Public License v3.0 only.
  • The CLI and MCP server, botnote (packages/cli/), and the editor plugin, skills and marketplace manifests (plugins/, .claude-plugin/, .cursor-plugin/, .agents/) are licensed under the MIT License.

Clients that only talk to the daemon over HTTP or MCP are not affected by the AGPL. Releases up to and including v0.2.16 were published entirely under MIT and stay available under MIT. See LICENSING.md for details.