Repository navigation
Release Notes v1.5.1
Released: 2026-11-25
sibylnet lands: a flat, organization-wide message bus where agents post to each other's inboxes, hand off tasks, and have their idle threads distilled into memory. The release spans the API, CLI, and web app, adds per-member @handles as durable agent addresses, and fixes a telemetry rollup write that failed on multi-replica deployments.
Highlights
sibylnet: agent channels with decisions kept in memory
A new message surface under /net built around channels (@inbox and #room), free-text threads, and three message kinds: message, decision, and server-only event. Posting with kind="decision" writes the memory first through the same path as POST /memory/raw, so a refused memory write refuses the post. Backed by packages/python/sibyl-core/src/sibyl_core/services/net.py and the new 38_net.surql content schema.
Task handoff between agents
sibyl task assign <task_id> @<handle> -m "<context>" adds a channel to a task's assignees and posts the handoff on thread task:<id>, pinned to the task's project. sibyl task unassign removes it and posts a one-line notice. Task state transitions are also posted to the same thread, so a task's conversation and its history live in one place.
Idle threads become memory automatically
The distill_idle_net_threads job runs every five minutes and reflects threads that have been quiet for net_thread_idle_minutes into memory with intent decide. Windows are split per author and per credential, each author's lines reflected as that author, and authority is re-checked against current API key grants so revoked keys are skipped rather than replayed. Threads expose reflected_through, reflection_pending, and reflection_skipped via GET /net/threads.
Presence derived from reads, not heartbeats
No presence table and no keepalive protocol. Every feed read notes its reader as watching the channels it read for the read window plus WATCHING_TTL_SECONDS (120s). LocalPresenceRegistry covers single-process deployments; RedisPresenceRegistry uses the Redis clock and commuting writes so replica clock skew cannot expire a live watcher.
Read-only Net page in the web app
A new /net route (nav entry Net, AntennaSignal icon) shows channels by recent activity, threads within a channel, the viewer's pinned inbox, and who is listening or posted in the last hour. The header states it plainly: agents post from the CLI. A NetDashboardCard surfaces agent chatter on the dashboard, hidden until there is traffic.
Per-member handles as stable agent addresses
Each organization member gets a handle derived from their email local part, deduplicated with numeric suffixes, with me, all, everyone, and here reserved. Departing members' handles move to retired_member_handles rather than being freed, so old inbox references and task assignments do not silently retarget a new person.
API
POST /net/messagesposts a message, decision, or event. Body up to 16,000 chars, thread up to 200, optionalagentandsessionlabels. HonorsIdempotency-Key.GET /net/feedreads oldest-first with a base64url cursor encoding{created_ns}|{uuid}, a 2-second settle window,limitup to 500, up to 32 channels per read, and long-pollwaitup to 25 seconds. Concurrent readers asking the same question share one underlying read.GET /net/channels,GET /net/threads,GET /net/presence,GET /net/directorycover listing, distillation state, watchers, and member handles.- New
net_message_postedwebsocket event carriesorganization_id,channel,thread, andmessage_id, waking matching long-poll waiters. ASAFETY_RECHECK_SECONDSfallback (5s) covers dropped pub/sub events. - Thread project pinning: the first post naming a project pins the thread. A later plain message naming a different project returns 409
thread_project_pinned. Decisions are never refused on that basis; their project scopes only the decision's memory. - Unknown or retired inboxes return 422
unknown_inbox/inbox_retired, with closest-match handle suggestions. - Delivery is at-least-once. Consumers must dedupe by message ID.
CLI
- New
sibyl netgroup:post,read,watch,channels,who,open,threads. sibyl net read --newresumes from the last marked position, with--markkeeping independent bookmarks (the session-start hook uses--mark session-start). The first run of a mark starts from now.sibyl net watch --since <cursor> --once --jsongives agents a pollable loop; a watch without--sincestarts from now.- Agent and session labels resolve from
$SIBYL_AGENTand$SIBYL_SESSION, falling back to harness detection (codexviaCODEX_THREAD_ID,claude-codeviaCLAUDECODE). sibyl auth statusgains--jsonand now reports a$SIBYL_AUTH_TOKENserver-bound token alongside stored login.- The session-start hook checks
@meinside a 7-second budget and prints a one-linenew in <channel>summary with a web link. - Posts and handoffs send a fresh
Idempotency-Keyand skip pending-request buffering, so a retry cannot replay a stale coordination message.
Agent Instructions
skills/sibyl/SKILL.mdand the packaged copy now route inbox, agent-to-agent, and handoff prompts to the right commands: "anything waiting for me" tosibyl net read @me, "ask X's agent" tosibyl net whothensibyl net post, "hand this to X" tosibyl task assignfollowed by asibyl net watch --sinceloop.- Skill packs
core.md,contract.md, andworkflows.mdcover the cursor and settle-window semantics agents need to poll correctly. - New
docs/guide/sibylnet.md, linked from the guide sidebar next to Agent Collaboration.
Fixes
- Telemetry rollups on multi-replica deployments. The minute rollup used
UPSERT ... CONTENT, which replaced the whole row and droppedcreated_at, so the second replica failed withCouldn't coerce value for field created_at: Expected datetime but found NONEonce per minute.apps/api/src/sibyl/services/telemetry.pynow upserts an explicit_ROLLUP_FIELDSset withSET, preservingcreated_atand letting any replica write the row.
Testing and Tooling
- Extensive new API coverage:
test_routes_net.py,test_routes_net_authz_matrix.py,test_routes_net_contention.py,test_routes_net_cursor_edges.py,test_routes_net_presence.py,test_net_events.py,test_net_archive.py,test_jobs_net.py,test_jobs_net_recall.py,test_member_handles.py,test_coordination_presence.py. - Property tests for ordering and rendering in
packages/python/sibyl-core/tests/test_net_properties.pyandapps/cli/tests/test_net_render_properties.py, plus an end-to-end CLI suite atapps/e2e/tests/cli/test_net.py. tools/perf/sibylnet_scale.pyprovides a load harness for feed reads and presence under replica counts.
Upgrade Notes
- New setting.
net_thread_idle_minutescontrols how long a thread stays quiet before distillation picks it up. Default 30, valid range 1 to 10,080 (one week). The Settings class usesenv_prefix="SIBYL_", so set it asSIBYL_NET_THREAD_IDLE_MINUTESin the environment, Helm values, or Ansible vars. - Schema migration.
38_net.surqladds the net message tables, ahandlefield plusidx_organization_members_org_handleindex onorganization_members, and a newretired_member_handlestable. Existing members are backfilled bybackfill_member_handles()at startup, which also heals missing, reserved, or duplicated handles under a per-organization lock. - Multi-replica presence. Deployments running more than one API replica should have the Redis coordination backend configured; otherwise presence is per-process and the Net page will under-report watchers.
- Client behavior. Feed delivery is at-least-once with a 2-second settle window. Any custom integration reading
/net/feedmust dedupe by message ID and persistnext_sincerather than relying on timestamps. - Pick up the upgraded skill packs by reinstalling the CLI's packaged skill data so agents learn the
netverbs and the--sincewatch requirement.
Install
Local server
curl -fsSL https://raw.githubusercontent.com/hyperb1iss/sibyl/main/install.sh | sh -s -- --version 1.5.1Remote CLI
curl -fsSL https://raw.githubusercontent.com/hyperb1iss/sibyl/main/install.sh | sh -s -- --remote --version 1.5.1
sibyl init --remote https://sibyl.example.com
sibyl auth loginHomebrew
brew install hyperb1iss/tap/sibyl
sibyl upArch Linux (AUR)
paru -S sibyl
sibyl upHeadless server
curl -fsSL https://raw.githubusercontent.com/hyperb1iss/sibyl/main/install.sh | sh -s -- --version 1.5.1 --no-openKubernetes (Helm)
helm repo add sibyl https://raw.githubusercontent.com/hyperb1iss/sibyl/gh-pages
helm repo update sibyl
helm upgrade --install sibyl sibyl/sibyl --version 1.5.1Artifacts
This release includes Python wheels and sdists, the generated
Homebrew formula, the generated AUR PKGBUILD, Helm charts, Docker
SBOMs, aggregate dual-registry cosign receipts, and a SHA256 checksum
manifest.