Skip to content

v1.5.1

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Nov 18:09

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/messages posts a message, decision, or event. Body up to 16,000 chars, thread up to 200, optional agent and session labels. Honors Idempotency-Key.
  • GET /net/feed reads oldest-first with a base64url cursor encoding {created_ns}|{uuid}, a 2-second settle window, limit up to 500, up to 32 channels per read, and long-poll wait up to 25 seconds. Concurrent readers asking the same question share one underlying read.
  • GET /net/channels, GET /net/threads, GET /net/presence, GET /net/directory cover listing, distillation state, watchers, and member handles.
  • New net_message_posted websocket event carries organization_id, channel, thread, and message_id, waking matching long-poll waiters. A SAFETY_RECHECK_SECONDS fallback (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 net group: post, read, watch, channels, who, open, threads.
  • sibyl net read --new resumes from the last marked position, with --mark keeping 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 --json gives agents a pollable loop; a watch without --since starts from now.
  • Agent and session labels resolve from $SIBYL_AGENT and $SIBYL_SESSION, falling back to harness detection (codex via CODEX_THREAD_ID, claude-code via CLAUDECODE).
  • sibyl auth status gains --json and now reports a $SIBYL_AUTH_TOKEN server-bound token alongside stored login.
  • The session-start hook checks @me inside a 7-second budget and prints a one-line new in <channel> summary with a web link.
  • Posts and handoffs send a fresh Idempotency-Key and skip pending-request buffering, so a retry cannot replay a stale coordination message.

Agent Instructions

  • skills/sibyl/SKILL.md and the packaged copy now route inbox, agent-to-agent, and handoff prompts to the right commands: "anything waiting for me" to sibyl net read @me, "ask X's agent" to sibyl net who then sibyl net post, "hand this to X" to sibyl task assign followed by a sibyl net watch --since loop.
  • Skill packs core.md, contract.md, and workflows.md cover 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 dropped created_at, so the second replica failed with Couldn't coerce value for field created_at: Expected datetime but found NONE once per minute. apps/api/src/sibyl/services/telemetry.py now upserts an explicit _ROLLUP_FIELDS set with SET, preserving created_at and 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.py and apps/cli/tests/test_net_render_properties.py, plus an end-to-end CLI suite at apps/e2e/tests/cli/test_net.py.
  • tools/perf/sibylnet_scale.py provides a load harness for feed reads and presence under replica counts.

Upgrade Notes

  • New setting. net_thread_idle_minutes controls how long a thread stays quiet before distillation picks it up. Default 30, valid range 1 to 10,080 (one week). The Settings class uses env_prefix="SIBYL_", so set it as SIBYL_NET_THREAD_IDLE_MINUTES in the environment, Helm values, or Ansible vars.
  • Schema migration. 38_net.surql adds the net message tables, a handle field plus idx_organization_members_org_handle index on organization_members, and a new retired_member_handles table. Existing members are backfilled by backfill_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/feed must dedupe by message ID and persist next_since rather than relying on timestamps.
  • Pick up the upgraded skill packs by reinstalling the CLI's packaged skill data so agents learn the net verbs and the --since watch requirement.

Install

Local server

curl -fsSL https://raw.githubusercontent.com/hyperb1iss/sibyl/main/install.sh | sh -s -- --version 1.5.1

Remote 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 login

Homebrew

brew install hyperb1iss/tap/sibyl
sibyl up

Arch Linux (AUR)

paru -S sibyl
sibyl up

Headless server

curl -fsSL https://raw.githubusercontent.com/hyperb1iss/sibyl/main/install.sh | sh -s -- --version 1.5.1 --no-open

Kubernetes (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.1

Artifacts

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.