Haldwani Times
Haldwani Times
Technology

peerhub 0.28.5

peerhub 0.28.5
Photo / Illustration: Haldwani Times Editorial Desk

Skip to main content Switch to mobile version peerhub 0.28.5 Local transactional coordination for collaborating AI peers

pip install peerhub==0.28.5 Copy PIP instructions

A durable communication layer for collaborating AI peers. The Core owns only Peer, Stream, Record and Offset. Runtime delivery, observations, diagnostics, work continuity and collaboration capabilities are extensions.

Requires Python 3.11–3.15. Choose one:

pipx install peerhub uv tool install peerhub pip install peerhub A winget package is not provided.

What each peer needs

PeerHub talks to each peer through that vendor's own tool or API key. It installs none of them and never downloads or runs an installer: a vendor's installer is a script from the network that differs per system and changes over time. Install only what the peers you use need, from the official page, and sign in as that page describes. peerhub explain setup prints the same list.

What each peer may do once it runs (tools, commands, files, network) is set in that CLI's own settings: peerhub diag permissions checks them, and peer tool permissions gives the defaults PeerHub passes, a safe baseline and a live check. Before delegating, an AI reads peerhub explain setup and the collaboration playbook.

A key is never given to PeerHub on a command line or in a file. A tool must be on the PATH of the process that runs PeerHub. --version shows that a tool is installed, not that it is signed in: for cc, cx and ag the ACCOUNTS rows of peerhub monitor --expand show the login state.

When something is missing, the ask ends before anything starts (failed_not_started) and the message names the next step: claude executable not found: install it and sign in (peerhub explain setup) (the same for codex and ant; for agy it follows cannot determine agy stdin support:), set OPENAI_API_KEY (peerhub explain setup) or set GEMINI_API_KEY (peerhub explain setup).

Develop from this checkout

Requires Python 3.11–3.15.

python -m pip install -e ".[dev]" peerhub --help peerhub --version See STATUS for current source and release status. The public command is peerhub; the temporary milestone-specific entrypoint has been retired. python -m peerhub and python -m peerhub.cli use the same public CLI.

After installing and signing in to one peer's tool (table above), pick the store explicitly and ask:

peerhub --db .peerhub/core.db ask cc "Reply OK" --profile cc.standard --stream smoke --request-id smoke-1 The reply prints on stdout with a receipt line; use a new --request-id for every ask and a new --stream for every new task.

AI agents: peerhub guide (decisions, about 400 tokens), then peerhub diag --plan (quota pools, active asks, free RAM and CPU, about 350 tokens). Guide and explain shows how to find a lesson.

Shared stores: follow peerhub explain caller-ownership to export a unique PEERHUB_OWNER per lead session, a readable PEERHUB_LEAD and batch lane identifiers.

People: peerhub monitor is the human screen (quota, running asks, recent asks).

Something wrong: peerhub explain report-issues lists what to include before filing an issue.

The Core stores Peers, Streams, immutable Records, and per-peer Offsets. These commands create a core-demo Stream in .peerhub/core.db without calling a provider.

peerhub --db .peerhub/core.db peer register --peer reader --name "Demo reader" peerhub --db .peerhub/core.db stream create --stream core-demo --members reader peerhub --db .peerhub/core.db record append --stream core-demo --author-peer reader --kind message --body '"Hello"' --idempotency-key core-demo-001 --created-at 2026-10-10T00:00:00Z peerhub --db .peerhub/core.db record read --stream core-demo --after 0 --limit 10 peerhub --db .peerhub/core.db offset get --peer reader --stream core-demo peerhub --db .peerhub/core.db offset advance --peer reader --stream core-demo --position 1 --revision 1 peerhub --db .peerhub/core.db offset get --peer reader --stream core-demo On an existing Stream, advance to the position you actually read and pass the revision returned by offset get; the revision is a compare-and-swap guard. Keep the same body, timestamp, and idempotency key when retrying an append.

Quick reference & guide

Run peerhub guide (or bare peerhub with no arguments) for the decisions in at most 1600 bytes of UTF-8 text with LF line endings, offline: which peer, which tier, when to reuse a stream, fresh votes (one reviewer for a routine check, three independent peers for a consequential one, reply VERDICT / BLOCKERS / NITS), batch launch planning, the timeout and what to do when a result is uncertain. Models and tiers: peerhub profile list. The rare hazards, the store and upgrade steps, machine resource warnings and the discovery commands are topics of peerhub explain (peerhub explain lessons lists them). Run peerhub explain for detailed recovery guidance on any ask outcome code:

peerhub guide peerhub explain ask_blocked_uncertain CLI output defaults to compact human text, including when redirected. Use --json for scripts. Errors carry an outcome code and next: hint. Run peerhub explain exit-codes for the process exit codes and error output by command.

Account-bound peers isolate cc/cx vendor roots behind immutable peer identities; peerhub account list inspects bindings.

Batch runs: peerhub batch run tasks.json --batch-id review-001 --max-parallel n --dry-run validates a flat batch before execution. Choose a positive integer for n based on quota and machine resources.

# Persist the prompt, execute one provider, and persist its response. peerhub ask cx "Summarize this repository" --stream review --request-id review-001 # Explicit collection may contact provider CLIs. peerhub observation refresh --peers cx cc ag peerhub observation refresh --peers cc --system-dir D:\tools\portable # explicit provider installation directory # AI agents read quota once per turn (pools, active asks, RAM and CPU). People use `peerhub monitor`. peerhub diag --plan # Read committed observations without probing or writing. peerhub diag peerhub diag quota --json peerhub diag health # Use diag quota --max-age-seconds N for recent readings, or diag --plan --peer PEER (repeatable) and --observation-db PATH to narrow the plan's stored evidence. # List group IDs under --group. peerhub monitor --help # Show a read-only snapshot once, without provider refresh or writes. peerhub monitor --snapshot peerhub monitor --snapshot --expand --group sessions --group execution # Watch the nine default groups: overview, activity, peers, execution, sessions, # usage, context, capacity, and coverage. TTY watch refreshes quota when due. peerhub monitor --interval-seconds 60 peerhub monitor --view plain --cycles 1 # Read committed evidence during watch. peerhub monitor --no-probe --interval-seconds 60 # For a person who wants only the verdict and pools (AI sessions read `peerhub diag --plan` instead). peerhub monitor --snapshot --group capacity # Read one grouped JSON snapshot (schema 2.0). peerhub monitor --json --snapshot # Review with a second provider using a declared profile. peerhub ask cc "Explain the Core Peer, Stream, Record and Offset flow" --stream learning --request-id learning-001 --profile cc.standard --json # Inspect stored profile measurements and installed model catalogs. peerhub profile stats peerhub profile stats --json peerhub profile check # Replace ASK_ID with requested_record_id from ask JSON or the ID in the terminal receipt. peerhub outcome ASK_ID accepted peerhub peer show aliases peer get. For ask, --prompt-file aliases --query-file. For profile list, show, stats, and check, -w aliases --workspace.

The two ask examples require the corresponding vendor CLI to be installed and authenticated, and spend provider quota. See the adapter guide. Add --dry-run to an ask to preview its resolved settings, stream, session and replay status without provider calls or store writes.

peerhub profile list includes ask counts and stale flags. peerhub explain ask-metrics covers usage coverage, outcome corrections, the terminal receipt, and stream budget warnings. See profile measurements and stream budgets.

Builtin provider names are cx/codex, cc/claude and ag/agy, and the API peers ca, oa and ga (see API peers). Custom Peer identities can be registered with peer register --peer worker --adapter cx.

ask supports explicit --profile, --model, --effort, --writable, --timeout-seconds, optional --silence-timeout-seconds, --max-output-bytes, --author-peer and --json. Profile policy resolves workspace → global → packaged defaults; it does not assert measured model availability. Each ask stream is scoped to a single peer: targeting a different peer on an existing ask stream is rejected with stream_peer_mismatch (ask_stream_peer_mismatch). Retrying the same --request-id reuses a completed response. A different prompt, binding or session selector conflicts. A settled Codex ask can replay across packaged model or effort changes for the same profile and execution scope. An uncertain execution requires explicit reconciliation before another execution. By default, each ask reuses the latest compatible retained session of this peer/stream; otherwise it starts a fresh session with bounded Stream catch-up. Mutually exclusive --fresh and --session HANDLE select a new generation or one exact retained session. Exact selection rejects incompatibility or context overflow without allocating a substitute. Fresh still receives Stream history; use a dedicated stream for an independent task. CLI peers (cc, cx, ag) retain native vendor continuity. Older native mappings with unproven context are invalidated on upgrade; existing request replay and uncertain-execution blocking remain intact. --json always includes session (accepted handle, generation, mode, reason and telemetry, or null before allocation) and error (null on success). Text output ends with one session: line after allocation, including on failure or replay. Existing delivery details remain available. In the ask result, context occupancy is unknown: billing usage is not an occupancy measurement (the estimate for cc asks is described below).

--writable is off by default. It maps to cc --permission-mode acceptEdits, cx -s workspace-write (default -s read-only), and ag --mode accept-edits. Because the agy CLI does not enforce a read-only sandbox when --mode accept-edits is omitted, native ag execution fails closed pre-spawn unless --writable is explicitly passed (#140). cx resume passes -c sandbox_mode="workspace-write" (default read-only) because resume does not accept -s; writable mode is therefore part of the session binding, and changing it starts a fresh generation.

Quota is collected separately from diagnostics. The default peers are shown in peerhub observation refresh --peers cx cc ag. Unmeasured values remain UNKNOWN or another explicit evidence state, and expired measurements become STALE.

CLI dispatch for ag, cx and cc default accounts attempts a refresh when quota is missing or older than 15 minutes and waits at most one second for it.

--workspace is an ask option; for monitor and observation refresh use the global --db before the subcommand, e.g. peerhub --db /.peerhub/core.db monitor. The default human monitor view is compact (with PACE), also selected explicitly with --compact; to inspect expanded per-peer quota/profile/session chains, every pool with its MARGIN and EXH/RESET pair, sessions rows or the estimated context, pass --expand (e.g. peerhub monitor --snapshot --expand --group peers; diag sections are peers, streams, resource_pools, observations, activity, log).

monitor --help describes the groups and lists the default peers for watch refresh. The default monitor includes running and recent asks (activity), quota capacity (capacity), retained session state and configured binding (sessions), per-peer dependency chains (peers), and Bridge delivery certainty (execution). Delivery certainty describes whether a request was not started, may have started, started, or reached a terminal delivery state; terminal does not mean the model answered the task successfully. PeerHub does not currently classify semantic task success/error. Context occupancy of asks: for cc it is estimated at the end of each ask, from the tokens of the last main-chain assistant message and the context window that the result reports for that model; it is an estimate with its time (state: "ESTIMATED", observed_at; latest_telemetry.context in peerhub session show --json), and it stays unknown when either value is missing or does not fit. --expand shows it as 2% est, 3m ago (see below). For cx it is not implemented (its rollout file has it). For ag it is not measured. runtime and store remain available with --group or --snapshot --group.

The compact monitor starts with the verdict and header, followed by POOLS, ALERTS, RUNNING, RECENT and LEADS. Short frames shrink and drop sections from the bottom up in both layouts. POOLS sorts families by ascending 7D PACE of the parent, then shows unknown PACE and finally out pools. Ties sort by peer and pool name. The heading shows use first when there is room. RECENT 130 (2 running) counts finished asks and lists the newest. Live session values appear only on the newest ask per stream and peer. When available, RECENT uses the SESSIONS context estimate for cx and ag. Use --group capacity for quota without other sessions' text. Request and reply text is cleaned of known secrets. PEERHUB_MONITOR_TEXT=off hides it.

The compact frame has two views with the same lines and rows. The plain view (--view plain, and the default when the output is not a VT terminal, for example a pipe or an AI session) keeps ASCII frame lines and no colour. Its sections follow the order above, and the LEADS header distinguishes list entries from found sessions. The rich view (--view rich, the default on a VT terminal) draws the same frame in a new look:

Line 1 starts with a status pill: OK on green, OK? on yellow, ATTN 3 on red. The facts are separated by a dim ·, and the time (23:46Z) stands at the right edge when there is room. Line 2 is dim.

A section head uses a rule and keeps its content: ── POOLS 5 ─ STATE ─── LEFT PACE(pp) MARGIN EXH/RESET FAMILY ───, ── RUNNING 2 · ag 1 cx 1 ───, ── LEADS 1 entry · partial (...) · 1 session found ───, ── RECENT 130 (2 running) ───. The line is dim and the title bold.

POOLS and expanded QUOTA right-align the LEFT value and left-align STATE, PACE(pp), MARGIN, EXH/RESET and FAMILY. Both tables give the bar room to grow before expanding FAMILY with full profile lists and inline notes. The bar uses any further room up to its cap and marks even burn with a | tick. PACE and the bar use cyan for spend, green for ok, yellow for rest and bold red at fresh zero. LEFT shows remaining quota and its reserve flag. A negative MARGIN shows how early exhaustion is forecast. A gap line compares reported weekly pools with X-7D. Both layouts count unavailable windows separately.

A RUNNING row starts with ► (green), × gone (red), ! overdue (yellow) or ? (yellow). A LEADS row shows the context as a meter of five cells: ctx ■■□□□ 46%, red with ! at 80 % or more, and a dim ctx ───── 106k or ctx ───── ? when the percentage is unknown. A RECENT row starts with a dot and its state: green ● ok, yellow for unsure, red for empty or error.

No state is shown by colour or glyph alone: the words of the plain view stay. The colours come from the 256-colour palette (semicolon SGR codes only; COLORTERM changes nothing). NO_COLOR keeps the rich layout with its Unicode glyphs and prints no colour. Output that cannot show Unicode gets the same layout with ASCII glyphs (--, #, ., *, ^, v, x, o, >). A terminal that draws these glyphs two cells wide should use --view plain (or PEERHUB_MONITOR_VIEW=plain).

--expand keeps the full DB path in the header. Pipe it to see the finished history and sampled superseded asks. Continuous VT watches print their final frame back on the normal screen. Finite watches stay there throughout.

A child pool (└─ F-7D, └─ 3P-5H) has its own bar: ▬ filled and ╌ empty (ASCII = and -), where a parent keeps █ and ░ (# and .). On a terminal the rich view ends line 2 with a Guide link (OSC 8) to docs/monitor.md, which says what every part of the screen means; a build without a release tag omits the link, and PEERHUB_NO_LINKS=1 turns it off. When there is room and the header has no Guide link, the frame can show a Guide: trailer.

peerhub explain monitor-states covers monitor layout, quota states, PACE, account rows and alerts offline. Monitor guide

An example of the rich view, shown here without colour (the uncoloured frame, as NO_COLOR prints it):

OK · 2 running · 1 lead · min quota 18% cx X-7D ok 23:46Z PeerHub Monitor 2026-11-14 23:46Z · DB:env · quota age 10s ── POOLS 5 ─ STATE ──────────────────────── LEFT PACE(pp) MARGIN EXH/RESET ──── FAMILY use first ────── cc C-7D ● ok █████████|████░░░░░░░░ 63% -20.0 +1d06h 2d06h/1d00h claude: cc.effort └─ C-5H ● ok ▬▬▬▬▬▬▬╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ 30% — — —/3h claude: cc.effort ag G-7D ● ok ██████████████|█░░░░░░ 71% -6.0 +7h 1d07h/1d00h flash: ag.standard └─ G-5H ● ok ▬▬▬▬▬▬▬▬▬╌╌╌╌╌╌╌╌╌╌╌╌╌ 40% — — —/2h flash: ag.standard cx X-7D ● ok ████░|░░░░░░░░░░░░░░░░ 18% +9.0 -9h45m 14h14m/1d00h! codex: cx.effort gap vs X-7D (pp): C-7D -29.0, G-7D -15.0 PACE(pp)=EVN-LEFT, 0=even burn (|), <=-10 spend, >+20 rest! | EXH/RESET ! = early | MARGIN=EXH-RESET, - = early | EVN=even-burn remaining ── RUNNING 2 · ag 1 cx 1 ────────────────────────────────────────────────────────────────────────── ► 16m cx.effort docs-site Review the importer change and its tests review-api ► 1m ag.standard docs-site Vote on the release plan vote-1 ── RECENT 2 (2 running) ────────────────────────────────────────────────────────────────────────── ● ok 3m cc.effort docs-site check-links R u3 62k/6% c91% "All 42 links resolve." ● unsure ? cx.effort docs-site shipped-check F u1 - c40% (no reply) ── LEADS 1 entry · 1 session found ──────────────────────────────────────────────────────────────── docs-site busy 12s ctx ■■□□□ 46% 2 run fable-5-2 Importer docs The plain view uses the same quota columns and values. Its heading begins POOLS 5.

The context of a cc ask is an estimate and never live data. On a RECENT row it is the estimate of the newest session of the ask's stream at the time of the read (62k/6% in the compact frame, ctx 62k/1M 6% now in --expand): the read model joins each of the newest ended asks to that session in the activity statement, so the value does not depend on the SESSIONS sample and needs no sessions group; a stream without a session shows -. In the sessions, context and peers sections of --expand it reads % est, ago, for example 2% est, 3m ago: est means an estimate of the context at the end of that session's last ask, as a share of the model's maximum input, and the age is counted from that ask's end to the time of the frame. The estimate appears as the last field of a SESSIONS row (dropped whole when the line is too narrow), as a CONTEXT row (cc 2% est, 3m ago ... | 20,113 of 1,000,000 tokens, never with the word MEASURED) and on the PEERS line (-> context: 2% est, 3m ago); in these three places it reads 2% est, age ? when its time is unknown. The legend explains CTX est. --expand also lists source capacity: unknown (no 7-day pool has a number) for OK? (quota unknown), and source capacity: no quota evidence for a store that never had a quota refresh.

LEADS joins caller identities from the ask history with Claude Code sessions read from its local files. The session scan makes no model call and stores nothing. The section follows RECENT and RUNNING. A row has, from the left: the label (cut to 16 characters); the state; the age of the last activity; ctx; the running asks; the model; the session title. busy is the state Claude Code writes. ?busy means PeerHub could not confirm that the process is alive. ? alone means the state is unknown. - means the lead has a caller row but no session was found. ctx 11% is the share of the model's input window that the last answer used. ctx 106k shows the tokens when the window of the model is not known, and ctx ? when the tokens are not known. A ! after the percentage (ctx 82%!) means 80% or more. It is a mark in the row, not an alert, because Claude Code compacts by itself. A narrow terminal drops the title, then the model, then the running asks; ctx stays. The title column is left out when no shown lead has a title. A lead with caller rows keeps the caller's label; a lead without caller rows is labelled by its session name, else its folder name, else ?. At most three rows show, then +N leads (--expand). The section is left out when no lead has a session or a running ask and the read was complete.

The header separates list entries from discovered sessions: LEADS 2 entries | 1 session found (with · in the rich view). In compact mode, entries have a session or a running ask; expanded mode includes all merged lead entries in the snapshot, including earlier callers with no session. The entry count is taken before the display cap. A found session can still have alive ?, so this count does not confirm process liveness. Line 1 counts something else: 1 lead means one distinct caller lead attached to open asks (run, or overdue without an end time). It does not count found sessions or confirmed live processes. For example, an earlier caller and a newly found session can make two entries while only one caller has open asks.

Read warnings follow the entry count before the session statistic, so they stay visible on narrow screens: LEADS 2 entries | partial (1 unreadable, 2 not read) | 1 session found, or LEADS 2 entries | read failed | 1 session found. When such a read leaves no row to show, the header remains LEADS ? | partial (...) or LEADS ? | read failed. An older payload without a session-read result may omit the session count. In a row, an unknown state or context shows ?, an unknown age or model shows -, and a missing title is left out. A lead with a session but no transcript shows - for age and model. These labels add no alert and do not change line 1 or its count. --expand prints every field of every lead: tool and short id, state and since when, age, alive or alive ?, process id, entry point, Claude Code version, start time, model, tokens against the maximum input, running asks, asks of the last 24 hours, last ask, session name, working folder, title, the first line of the last prompt and the last line of the last answer. A lead that has no session says no session found (ended, or its Claude folder is not in PEERHUB_LEAD_DIRS). A caller that is not Claude Code says no session (not a Claude Code lead). --json carries the lead's identity and ask totals in groups.activity.data.leads[], the session facts in its session (an object, or null) and the read result in groups.activity.data.leads_read (state is read, partial or error, with unreadable and not_read). The schema stays 2.0. A caller row without a session id (an ask started outside Claude Code) never merges with a session.

PeerHub reads the Claude Code folder of the user (CLAUDE_CONFIG_DIR, else ~/.claude) and the folders named in PEERHUB_LEAD_DIRS, separated by the path separator of the system. Nothing else is opened. No path comes from the store or from the content of a file, and a link or junction below a registered folder is not followed. Examples:

# Windows (PowerShell): two more Claude folders $env:PEERHUB_LEAD_DIRS = "D:\work\claude-a;D:\work\claude-b" # POSIX shell export PEERHUB_LEAD_DIRS="$HOME/work/claude-a:$HOME/work/claude-b" Limits: 8 folders, the 64 newest session files per folder, 16 KB per session file, 2,000 project folders per folder and the last 256 KB of a transcript. A larger set is cut and the header says partial. PEERHUB_MONITOR_TEXT=off also hides the session name, the title and the two conversation lines. Strings from the files are cleaned, and the secrets of the environment are removed before they are shown.

What was measured and what was not. Historical measurements on Windows 11 with Claude Code 2.1.323 and 2.1.325 (packaged observations of CLI versions): the session files, the transcripts, the model catalog and the creation time of the process. alive is confirmed on Windows only: the creation time that the session file records must equal the exact creation time of the process, and the file must carry the name of this machine. On Linux and macOS no identity can be compared yet, so the flag is ?. A session whose file names another machine, or whose process cannot be inspected or compared, shows ? for up to 24 hours; a file whose process no longer exists is left out. A session that cannot be checked is shown only when its transcript was written in the last 24 hours. The start time in a session file belongs to the process, not to the session. After /clear a row may show the old context until the file changes (the age column shows how old it is). It was not measured whether /clear rewrites the file. If it gives a new session id, one terminal shows two rows for a while: the old lead with no session found and the new one. An invalid old session file whose process id now belongs to another process shows partial until that id is free. Not measured: the entry point of IDE and desktop sessions, the files on Linux and macOS, and a plan whose window is smaller than the maximum input of the model. Claude Code's files are private formats; after a format change the cells show ?. ctx is measured against the model's maximum input, which a plan may cut. A session id is read once per folder, so its unreadable transcript counts once in unreadable. When several files have the same session id, a row whose process could not be confirmed is replaced by a later file of that id whose process is confirmed; a confirmed row is never replaced. Codex and agy lead sessions: not measured; discovery of Codex and agy lead sessions is not implemented.

--expand also shows the ACCOUNTS rows (fields in JSON capacity.accounts; a logged-out peer, an expired login token or one expiring within 48 hours also reaches line 1): per peer the plan (display data only), login state and the login token expiry, which is not billing. Example: cc login ok | plan pro | login token expiry 2026-11-26 | auth claude.ai | age 30s [MEASURED]. ? means it could not be determined and n/a that the provider does not expose it (a missing expiry never means logged out; API-key, Bedrock and Vertex logins show n/a; ag shows endpoint access only). A failed probe keeps the last good reading shown aged with a probe error note; account evidence ages after 6 hours. Only normalized fields are stored (never an email, organization, account id, token or any identity-derived hash). They are collected, in parallel under the refresh deadline and skipped while still fresh, by observation refresh and monitor collection cycles from claude auth status, codex app-server account/read and agy /credits (no model turn); --snapshot stays read-only.

low/fast take precedence over aged; staleness still shows in the line-2 quota age and, with --expand, in AGE and the PEERS (aged) tag. See peerhub explain monitor-states for state meanings and precedence.

The bare monitor command shows the compact human dashboard (with PACE), redrawing in place on a VT TTY and printing one completed frame per cycle when redirected; use --expand for every pool and detailed session and group sections. Both layouts show MARGIN, the EXH/RESET pair and the even-burn mark. --view rich adds colour on terminals. --view plain selects ASCII-safe output: the frame's own lines and marks are ASCII, while request, reply, lead and alert text keeps every character the output encoding can show (Korean, Kana and CJK stay readable; ambiguous-width characters become ?; the cut mark is ~). Add repeatable --group options to watch one or more groups, or --group all to include all eleven. monitor --snapshot renders one read-only dashboard without refreshing providers. In a terminal, --snapshot --expand fits the screen; piping shows all rows, for example peerhub monitor --snapshot --group all --expand | more. Compact hides unavailable quota windows. Expanded POOLS counts and names them, and expanded QUOTA gives their reasons. A RUNNING row shows the short ask ID. Use peerhub monitor open ID to read the stored prompt.

Configured weekly dependencies appear together in POOLS: for example, cc F-7D is a child of cc C-7D. With both pools fresh, the F-7D row is limited by C-7D: LEFT and PACE are the lower of the two, the reset is the nearer one, the state is the worse one, and its own value stays in the FAMILY note (for example own 26%); a fresh exhausted C-7D says blocked and names C-7D. POOLS, QUOTA, diag quota and diag readiness use the same rule. Sections that read only a sample (EXECUTION, SESSIONS, USAGE, CONTEXT) say sample N/M in their head, and PEERS says showing N of M peers when capped. Stale, unknown, reset or ambiguous parent evidence is not treated as a current block. The rich expanded QUOTA table shows the same state. Live VT watch rewrites changed rows at fixed screen positions so wide glyphs cannot push later rows down. See the monitor guide for full repaints and terminal behavior.

For automation, --json emits schema 2.0 NDJSON frames for watch and one JSON object for snapshot.

The diag dashboard shows a threat summary, a stable pool table with usage, PACE in percentage points, reset countdown, conditional forecast and freshness, then credits, latest asks, probe health and one legend/controls line. PACE is measured usage minus elapsed window percentage. Positive means faster than even. Forecasts require at least 5 percentage points used and some elapsed time. Windows of at least one day qualify once 20% has elapsed or 25 percentage points have been used. Shorter windows require 10% elapsed. Projected reset use of at least 105% is a threat. Below the support gates the screen says “not enough data”. Inferred anchors remain conditional and predictive accuracy is not established.

Monitor reads committed evidence every N seconds (--interval-seconds). In a terminal it refreshes quota when due. Collection may spend quota through provider calls such as agy /usage and /credits. With --cycles omitted, stdout on a TTY watches until interrupted; non-TTY stdout runs one cycle. Explicit --cycles 0 watches until interrupted everywhere; positive values bound watch cycles. Monitor updates countdowns at most 1 Hz; PACE and forecast ETA remain anchored to the measurement. Non-TTY human watch prints one completed frame per cycle without escapes (skipping the initial pre-refresh frame), while unavailable VT on a TTY appends without escapes; schema 2.0 JSON watch emits one initial frame plus one complete frame per cycle (default non-TTY JSON = two lines). NO_COLOR suppresses colour while retaining supported cursor controls.

API peers: ca, oa and ga

ca (the Claude API), oa (the OpenAI Responses API) and ga (the Gemini API) answer one text question per ask. Use them for votes, text reviews and documentation checks when the text fits in the prompt, so that the subscription pools of cc, cx and ag are kept for work with tools and files. They are paid from API credits, not from a subscription pool: they have no POOLS row, and diag readiness, observation refresh and the accounts leave them out.

Can PeerHub read the credit balance? No. None of the three APIs gives the balance to the login or key that PeerHub uses. The Claude cost and usage reports need an admin key and report spend, not the balance. The OpenAI cost report needs a key with a usage scope, and the credit grants are readable in the browser only. For a Gemini API key no balance endpoint is known. Read the balance in the console of each provider: the Claude Console, the OpenAI Platform and Google AI Studio. What the account-side answers mean and where to read the balance by hand: API credits.

ca runs the ant CLI. Put it on PATH and sign in once with ant auth login. PeerHub only runs ant; it never reads, stores or prints a credential, and it removes every ANTHROPIC_* variable from the environment of ant, so the call always uses the ant login and the official endpoint.

oa reads the key from the environment variable OPENAI_API_KEY at the moment of the call. Set it in the environment of the process that runs PeerHub, for example from your secret store. There is no option for the key: never put it on a command line or in a file for PeerHub. The key is sent only in the Authorization header and is removed from any error text.

ga reads the key from the environment variable GEMINI_API_KEY at the moment of the call, in the same way: there is no option for the key, so never put it on a command line or in a file for PeerHub. The key is sent only in the x-goog-api-key header, never in the URL, and is removed from any error text. GOOGLE_API_KEY is not read.

An API key in the environment is visible to every peer process that PeerHub starts, except that an account-bound cc or cx peer gets no OPENAI_* variable (accounts). With the Codex and agy CLIs logged in with an account, an invalid key in the environment did not change the answer (historical measurement with codex-cli 0.169.0 and agy 1.5.9; this does not tell "ignored" from "tried, then fell back"). Set the keys only where the API peers are used.

peerhub ask ca --query-file review.md --profile ca.effort # its own stream: peer:ca: peerhub ask oa --query-file review.md --stream vote-oa-001 --profile oa.standard peerhub ask ga --query-file review.md --stream vote-ga-001 --profile ga.standard Profiles: ca.standard (claude-haiku-5-5), ca.effort (claude-sonnet-5-5), ca.deepthink (claude-opus-5-5), oa.standard (gpt-6-luna), oa.effort (gpt-6.1-sol), oa.deepthink (gpt-6-astra), ga.standard (gemini-3.5-flash-lite), ga.effort (gemini-3.6-flash); peerhub explain ca.standard shows a card. ga has no deep profile: use a stronger model with --model when the key has quota for it. --model must match ^claude-[a-z0-9.-]{1,64}$ for ca, ^gpt-[a-z0-9.-]{1,64}$ for oa and ^gemini-[a-z0-9.-]{1,64}$ for ga. A custom peer uses --adapter ca, --adapter oa or --adapter ga.

What they can and cannot do:

One ask is one API call, and PeerHub never retries it. There are no tools, no files, no workspace access and no session: inline the text. -w is still accepted, but nothing in it is read.

One ask per stream. An ask on a stream that already has any record (another ask, delivered, failed, uncertain or still running, or a record put there some other way) is refused: ca is stateless; use a new stream. Only the same ask may come again: the same request-id and the same author (--author-peer) replay the stored result; another author with that request-id is refused the same way. Without --stream, every ask gets its own stream, peer:: (PeerHub generates the request id when none is given), and the text output prints it before the session: line, for example stream: peer:ca:; --json has it in stream_id. Other peers keep the default peer::chat.

Refused before anything is stored or sent, with request_rejected and exit status 2: no --profile and no --model, a model that does not match, --effort, and --writable. See peerhub explain request_rejected.

The @ rule: ant replaces a string that starts with @ by the content of the file it names. The text that PeerHub sends to ant always starts with the fixed line PeerHub ask (text only, no tools, no files)., so a prompt that starts with @ is sent as that literal text, and no file is read.

Limits: replies up to 16,000 output tokens for ca and oa and up to 32,000 for ga; prompts up to 1,000,000 bytes. The limit of ga is higher because a Gemini model counts its thinking against the output limit: in a real call with a limit of 20 tokens the thinking used them all, and the reply came back cut and without text.

oa always calls https://api.openai.com/v1/responses, and ga always calls https://generativelanguage.googleapis.com/v1beta/models/:generateContent. OPENAI_BASE_URL and the proxy variables are ignored, redirects are not followed and TLS is always verified. A network that needs a proxy is not supported. For oa and ga, --timeout-seconds is a total over the whole call (connecting, the headers and the body): when it passes, the ask ends uncertain. --silence-timeout-seconds, when given, limits one network operation.

delivered: a complete reply, with input_tokens and output_tokens in usage. An empty reply is delivered with empty_response: true. For ga, output_tokens is the reply plus the thinking, the thinking is never part of the reply text, and usage is left out (never shown as zero) when the answer carries no usable token counts.

truncated: the reply was cut at the output limit (16,000 tokens for ca and oa, 32,000 for ga). incomplete: the reply ended for another reason, for example a refusal or, for ga, a blocked prompt (the error names it). Both exit with status 1, keep the text in partial_response and store no response; see peerhub explain truncated and peerhub explain incomplete. If the ask was interrupted after that result was stored but before it was acknowledged, repeating the same request returns the saved status with partial_response, without a new call.

not_executed with the reason quota_exhausted and no reset time: the API credits are used up. For ga this is an HTTP 402 or 429 answer with the status RESOURCE_EXHAUSTED. With 429 Google uses that one status for a rate limit, for a quota that is spent and for a model that the key has no quota for, so PeerHub cannot tell them apart; with 402 the prepay balance of the key's project is depleted. Read the message, then wait and ask again on a new stream, or check the plan and billing of the key (the prepay balance is managed in Google AI Studio).

failed_not_started: ant is not on PATH (ant executable not found: install it and sign in (peerhub explain setup)), ant is not signed in, OPENAI_API_KEY or GEMINI_API_KEY is not set or not usable in a header, or the API answered with an error object that proves that nothing ran. For ca and oa that is HTTP 400, 401, 403, 404, 413 or 429. For ga the HTTP status and the status name in the error must agree: 400 with INVALID_ARGUMENT or FAILED_PRECONDITION, 401 with UNAUTHENTICATED, 403 with PERMISSION_DENIED, 404 with NOT_FOUND (for example an unknown model), 413 with any name, or one of 400, 401, 403, 404, 413 and 429 without a name. Without a valid login the Claude API answers HTTP 401 authentication_error, and the message says ant is not signed in or its login expired (run: ant auth login): HTTP 401: authentication_error: .... Nothing ran; once the cause is fixed (for example after ant auth login), the same command with the same request-id may be repeated.

uncertain: anything else (a 5xx answer, a timeout, a broken answer, an ant error without an HTTP status and an error object, and for ga an HTTP status and a status name that do not agree). A reply of the wrong shape is uncertain too, never a reply: for ca, content must be a list of objects and a text block's text a string; for oa, output must be a list of objects with a type, a message's content a list of objects and an output_text block's text a string; and an oa answer that is completed but carries an error object is uncertain. For ga, the first candidate must be an object with a finishReason string, its content (when present) an object, parts (when present) a list of objects and a part's text (when present) a string; an answer without candidates and without a block reason, and an HTTP 200 answer with an error, are uncertain too. The call may have run; continue on a new stream.

What was measured: ca.standard answered a real call on 2026-11-15, and a real prompt whose first line was @ came back as the literal path, without the file's content. oa was checked against a local test server and without a key; a real reply through oa has not been recorded yet.

For ga, measured on 2026-11-16 with one key, through PeerHub on a temporary store and directly against the API:

ga.standard (gemini-3.5-flash-lite) answered through PeerHub (9 input tokens, 1 output token).

ga.effort (gemini-3.6-flash) answered 4 of 4 calls (1.6 s, 1.6 s, 3.5 s and 17.5 s). A fifth call, through PeerHub at 01:46Z, was delivered (9 input, 112 output tokens). In the same minutes gemini-3.5-flash answered 4 of 4 (1.1 s, 1.1 s, 4.1 s and 9.8 s).

gemini-3.8-flash answered 1 of 10 tries between 00:29Z and 01:41Z: once in 12.7 s; HTTP 503 UNAVAILABLE ("This model is currently experiencing high demand") twice; no answer within 40 to 90 s seven times, three of them through PeerHub, which ended uncertain. gemini-3.7-flash answered 503 once. That is why ga.effort is gemini-3.6-flash. It says which model answered for that key, not which model is better: no benchmark was run through the API, and every pro-class model answers 429 for that key, so the result may be particular to that key's tier. gemini-3.8-flash is used with --model gemini-3.8-flash.

gemini-4-argon, gemini-4-carbon, gemini-pro-latest and gemini-3.1-pro-preview answered HTTP 429 RESOURCE_EXHAUSTED ("You exceeded your current quota, please check your plan and billing details") for that key. PeerHub ends such an ask not_executed with quota_exhausted and keeps the message. This status does not tell a rate limit from a key without quota for the model.

On 2026-11-16 04:24Z, after the billing setup of the key's project changed, every model answered HTTP 402 RESOURCE_EXHAUSTED ("Your prepayment credits are depleted"). PeerHub ends such an ask not_executed with quota_exhausted and keeps the message (0.24.19 ended it uncertain). The prepay balance is managed in Google AI Studio.

gemini-2.5-flash and gemini-2.5-pro answered HTTP 404 NOT_FOUND ("no longer available to new users").

Without GEMINI_API_KEY the ask ended failed_not_started. A model name with / was refused before anything was sent. The key's bytes were not in the store.

Store selection and existing data

The store is .peerhub/core.db. Discovery picks the nearest one (current directory, then parents); --db PATH takes precedence over PEERHUB_DB, then discovery (nearest wins). If discovery misses inside a Git worktree, PeerHub asks Git for the common directory and searches the main checkout and its parents. This fallback requires Git >=2.36. A local store still wins. peerhub diag health reports store_selection (the path and how it was chosen: explicit, env, discovered, default). Developer scratch (live-gate JUnit etc.) goes under .peerhub/work/; the top of .peerhub/ holds the database and its restore.epoch metadata.

Use global --db PATH before the command, or PEERHUB_DB, to select a store explicitly. An explicit missing path is never redirected to another store. ask --workspace DIR searches only that directory, then Git's main checkout root on a miss (never its parents), unless a database was explicitly selected. A main root already searched is skipped. Without an explicit selection, a discovery miss exits 5 with [store_missing] and a next: hint before creating files or contacting providers. To bootstrap a new store, including with peer register in a fresh directory, pass --db .peerhub/core.db or set PEERHUB_DB. Read-only commands do not create a missing store even when explicitly selected.

Stop clients before restoring a store and reopen them afterward. Snapshot and bundle restores fence old CoreStore instances from reads and writes using workspace.generation; changes to the bundle rollback marker restore.epoch also fence old instances. A stale instance raises StoreReplacedError.

Monitor and diagnostics refuse a missing selected database with exit 5 before any probes. Create it explicitly with peerhub --db peer register --peer --name . Observation refresh also refuses a missing automatically selected store, including in a non-repository directory; an explicit --db or PEERHUB_DB retains its existing collection bootstrap behaviour.

Continue across two turns

To continue an active multi-turn conversation with the same vendor session:

# Turn 1: Initial prompt on a dedicated stream peerhub ask cx "Explain the store schema" --stream convo-01 --request-id turn-001 # Turn 2: Continue using the native session peerhub ask cx "Now show an append example" --stream convo-01 --request-id turn-002 The Bridge retains up to 20 non-tombstoned sessions per peer/Stream and expires sessions after more than 30 days of inactivity. Tombstones remain audit rows; generations never rewind. Compatible history can be reused after a binding changes back. Request-id replay returns its original session snapshot even if the handle later expires. Historical asks lacking complete selector identity metadata are inspectable as Records but cannot be replayed through the new interface; do not retry uncertain work. Use peerhub session list and peerhub session show for bounded, read-only session inspection. Both commands show the monitor's stored context estimate and its age when available, with ctx_est_pct, ctx_est_tokens, and ctx_age_seconds in JSON (null when unknown). See the registry contract.

To create another generation on the same Stream, then return to the first session, copy its full handle from the first result:

peerhub ask cx "Start another conversation with Stream context" --stream convo-01 --request-id turn-003 --fresh peerhub ask cx "Continue the first conversation" --stream convo-01 --request-id turn-004 --session Exact reuse includes intervening eligible Records, including the other session's responses. Python uses ask(..., fresh=True) or ask(..., session="sess_0123456789abcdef"). Handles belong to one store, Stream, Peer and workspace lineage; full binding and continuity must match.

Recover from a blocked stream

When a turn encounters a timeout, silence abort, or disconnect, the stream may enter blocked_uncertain. Retrying the same --request-id cannot replay an uncertain execution because it may have partially executed remotely. To recover safely, start subsequent turns on a new stream:

# Inspect the current health and failure state peerhub diag health --stream convo-01 # Recover: include a short summary of the committed context in the new prompt peerhub ask cx "Context: We reviewed the Core schema; Peer, Stream, Record and Offset are the four primitives. Next, show an append example." --stream convo-02 --request-id rec-001 A fresh stream cannot see the old stream's records. Replace the example context with a short summary of your committed work and the next safe action. Inspect the old records with peerhub record read --stream convo-01 --after 0 --limit 10 if needed; an uncertain remote action may already have occurred, so do not assume it failed or replay its request ID.

Offline read-only checks

diag inspects local database state and committed snapshots without contacting provider networks or consuming quota:

# Read-only store and stream diagnostics peerhub diag peerhub diag health peerhub diag quota --json # Lease-active asks (a lease is not proof a process is alive) peerhub diag running # Per-pool spend/hold/rest/blocked with target %/h until reset (stored observations only) peerhub diag --plan # Spread parallel work over the least quota: peerhub explain parallel-quota Upgrade

See Store migrations for schema details.

Plan and back up. peerhub update --plan lists blocking asks and processes and prints the backup, restore and upgrade commands. peerhub explain store-and-upgrade covers the hazards. Wait until peerhub update --plan exits 0 (it exits 1 while asks are running), then back up by running the printed backup command. It writes .peerhub/core.db.pre-update-.bak for the default store. Copy the exact path the plan prints. The command must exit 0 and the file must show a new modified time before step 2.

Stop peerhub monitor: Stop any active monitor process before upgrading. A running monitor locks peerhub.exe on Windows and keeps old code running. Also wait for running peerhub ask calls to finish: they keep dependency files such as pydantic_core loaded, so an in-place upgrade can fail and leave a half-deleted install. If peerhub crashes with ModuleNotFoundError after an upgrade, reinstall it and check the result records before re-sending an ask.

Run upgrade. Use the installer you originally used. The plan lists uv tool upgrade peerhub and python -m pip install -U peerhub as alternatives to the pipx example below. pipx upgrade peerhub

Check, or restore. peerhub diag health must report OK for the store you upgraded. If the new version cannot open the store, reinstall the old version and stop every client. Run the printed restore command; it names the interpreter that runs PeerHub, so it also works for pipx and uv installs. The command validates the backup, fences old clients by rotating workspace.generation, and runs peerhub diag health after the restore succeeds.

Restart monitor after the health check reports OK. Restart any other clients you stopped. peerhub monitor

pipx uninstall peerhub # or uv tool uninstall peerhub # or pip uninstall peerhub Note: Uninstalling the package removes executable entrypoints but retains the local database and artifacts in .peerhub/. To delete store data, remove the .peerhub/ directory manually.

peerhub/ core/ Peer, Stream, Record, Offset; SQLite storage extensions/ Bridge, Observation, Diag, Artifact, Work, Search, Routing, … cli/ public parser and command handlers config_data/ packaged provider model defaults tests/ communication/ Core, delivery, observations, migration and package gates continuity/ extension host, artifacts, work, skills, backup and eval collaboration/ federation, memory, search, routing, orchestration and approval tools/ maintainer scripts a2a_sdk_echo_server.py a2a_sdk_interop.py ci_platform.py command_inventory.py lint_changelog.py live_gate.py model_ping.py quota_report.py release_evidence.py release_notes.py traceability.py peerhub/cli/app.py registers and dispatches commands. Each command family owns its parser and handler in peerhub/cli/, with shared store selection in store_select.py.

Milestones describe development progress, not runtime ownership. Frozen specifications, historical evidence and existing durable wire/storage identifiers retain their original names. See the cleanup decisions and AG review.

Where model facts come from and how to refresh them

Profiles (model, effort, pools, and a short evidence-backed card: use for / avoid for / traits; peerhub profile show ID) and observed CLI versions live in peerhub/config_data/model-defaults.toml (the single source); docs/model-profiles/model-profiles.json is the refresh recipe (sources, tier rules, update targets). Run the refresh-model-profiles skill (or query installed CLIs per manifest instructions) to verify models, update observed_at/observed_versions, and bump the defaults revision. Observations are evidence, not policy: profile model and effort definitions require explicit review and approval.

See the documentation map for all documentation.

On Windows, cx --writable cannot write into directories with owner-only ACLs (e.g. pytest tmp dirs, tempfile.mkdtemp); use a normally created directory.

Paths containing spaces or special characters can expose quoting problems in external Windows launchers. The recorded path hazards are in the removed review git show 465bfe98de7d6931864da4991e45cc1993e342e6:docs/history/reviews/mece-audit-2026-09-20-cross-repo.md (see the archival ledger).

Node.js based CLIs depend on their runtime and launcher installation; portable layouts may resolve differently. See the CLI observations and adapter reference.

Windows console or pipe encoding can affect non-ASCII output. See the recorded encoding failure and adapter reference.

These are environment warnings; historical observations do not establish a current failure on every installation.

python -m pytest -q pyright python tools/command_inventory.py --check python tools/traceability.py --upto 9 # Real provider canaries spend quota: local only, never in CI (refuses when CI is set). python -m tools.live_gate --yes Real providers are opt-in: set PEERHUB_LIVE=1 and select live, slow, e2e or canary under tests/communication/live; live fixtures refuse CI. -m live selects exactly the six M1 live-tier tests; slow/e2e release cases use their own markers. The gate partitions those stages. Optional canary tests are outside the release catalog and measure usage, native resume recall, writable sentinel creation and cancellation using standard profiles. Use python -m tools.live_gate --yes --only canary --peer cx for lower-cost measurements; these results are not release evidence. See the local live gate guidance for call budgets and skip behavior. Soak is separately opt-in with PEERHUB_SOAK=1. Local checks do not promote a milestone or authorize a release; candidate-matched CI, live and package evidence still apply.

The 2026-10-04 archived snapshot has VERIFIED-LOCAL records. The recorded CI head has VERIFIED-CI records. Each record applies only to the snapshot or head it identifies.

Released: Nov 29, 2026

Both files in this release have provenance metadata.

View provenance details

MIT View SPDX License List

Python <3.16, >=3.11

ai-agents cli coordination multi-agent orchestration

Development Status 3 - Alpha

Intended Audience Developers

Operating System Microsoft :: Windows

Programming Language Python :: 3

Topic Scientific/Engineering :: Artificial Intelligence

Release files for peerhub 0.28.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Built distribution (wheel)

Total release size: 1.3 MB

Release files / peerhub-0.28.5.tar.gz

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Release files / peerhub-0.28.5-py3-none-any.whl

Security for peerhub 0.28.5

Both files in this release have been uploaded with provenance metadata.

With provenance peerhub-0.28.5.tar.gz Nov 29, 2026

With provenance peerhub-0.28.5-py3-none-any.whl Nov 29, 2026

Attestation for peerhub-0.28.5.tar.gz

Attestation for peerhub-0.28.5-py3-none-any.whl

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Nov 30, 2026 2 release files Full provenance

Nov 29, 2026 2 release files Full provenance

Nov 27, 2026 2 release files Full provenance

Nov 26, 2026 2 release files Full provenance

Nov 25, 2026 2 release files Full provenance

Nov 24, 2026 2 release files Full provenance

Nov 23, 2026 2 release files Full provenance

Nov 22, 2026 2 release files Full provenance

Nov 21, 2026 2 release files Full provenance

Nov 20, 2026 2 release files Full provenance

Nov 19, 2026 2 release files Full provenance

Nov 18, 2026 2 release files Full provenance

Nov 17, 2026 2 release files Full provenance

Nov 16, 2026 2 release files Full provenance

Nov 15, 2026 2 release files Full provenance

Nov 14, 2026 2 release files Full provenance

Nov 13, 2026 2 release files Full provenance

Nov 12, 2026 2 release files Full provenance

Nov 11, 2026 2 release files Full provenance

Nov 10, 2026 2 release files Full provenance

Nov 9, 2026 2 release files Full provenance

Nov 8, 2026 2 release files Full provenance

Nov 1, 2026 2 release files Full provenance

Oct 31, 2026 2 release files Full provenance

Oct 30, 2026 2 release files Full provenance

Oct 28, 2026 2 release files Full provenance

Oct 26, 2026 2 release files Full provenance

Oct 21, 2026 2 release files Full provenance

Oct 20, 2026 2 release files Full provenance

Oct 19, 2026 2 release files Full provenance

Oct 18, 2026 2 release files Full provenance

Oct 17, 2026 2 release files Full provenance

Oct 16, 2026 2 release files Full provenance

Oct 15, 2026 2 release files Full provenance

Oct 14, 2026 2 release files Full provenance

Oct 12, 2026 2 release files Full provenance

Oct 11, 2026 2 release files Full provenance

Oct 9, 2026 2 release files Full provenance

Oct 8, 2026 2 release files Full provenance

Oct 7, 2026 2 release files Full provenance

Oct 4, 2026 2 release files Full provenance

Oct 1, 2026 2 release files Full provenance

Sep 30, 2026 2 release files Full provenance

Sep 29, 2026 2 release files Full provenance

Sep 28, 2026 2 release files Full provenance

Sep 23, 2026 2 release files Full provenance

Sep 20, 2026 2 release files Full provenance

Sep 19, 2026 2 release files Full provenance

Sep 16, 2026 2 release files Full provenance

Sep 10, 2026 2 release files Full provenance

Sep 9, 2026 2 release files Full provenance

Sep 8, 2026 2 release files Full provenance

Sep 7, 2026 2 release files Full provenance

Sep 6, 2026 2 release files Full provenance

"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.

© 2026 Python Software Foundation

Deployed from fc0d8e6

Source Attribution: This report incorporates information referenced or syndicated from Pypi.org. Read original coverage at Pypi.org.

More from Technology →
Haldwani Times
Haldwani Times Independent News & Editorial
Login
MARKETS & FINANCE
BRENT CRUDE: $78.40 -0.52% SENSEX: 81,450.20 +0.42% NIFTY 50: 24,820.15 +0.38% GOLD (24K): ₹74,500/10g -0.18% USD/INR: ₹95.54 +0.10%

ADMINISTRATIVE LEADERSHIP

Mr. Narendra Modi
Mr. Narendra Modi
Mr. Lt. Gen. Gurmit Singh
Mr. Lt. Gen. Gurmit Singh
Mr. Pushkar S. Dhami
Mr. Pushkar S. Dhami
Mr. Lalit M. Rayal
Mr. Lalit M. Rayal
Mr. Gajraj S. Bisht
Mr. Gajraj S. Bisht

Top Headlines & Breaking Stories

View All News →

Haldwani Times – Everything in Haldwani: News, Shops, Businesses & Services

Haldwani Times is the premier digital news and commercial discovery platform built specifically for the citizens, business owners, students, professionals, and visitors of Haldwani, Nainital district, and the wider Kumaon region of Devbhoomi Uttarakhand. As the economic gateway to the Kumaon Himalayas, Haldwani is a bustling metropolis connecting the plains of northern India with the scenic mountain districts of Nainital, Almora, Pithoragarh, Bageshwar, Champawat, and Udham Singh Nagar. Haldwani Times serves as the definitive digital heartbeat of the city, bringing breaking hyperlocal news, verified commercial directories, educational updates, healthcare guides, Mandi Bhav rates, and civic announcements onto a single unified, trusted platform.

The Definitive Source for Breaking Haldwani News & Civic Updates

Haldwani stands as one of the fastest-growing urban conglomerates and commercial engines in northern India. Positioned in the fertile Terai-Bhabhar belt at the foothills of the Shivalik range, the twin cities of Haldwani and Kathgodam form the administrative and logistical nerve center for the entire Kumaon division. With rapid urbanization, expanding commercial infrastructure, flourishing educational centers, and increasing inter-state transit, the demand for fast, fact-checked, and unbiased local journalism has never been greater. Haldwani Times delivers 24/7 comprehensive news coverage built on rigorous journalistic standards: - **Hyperlocal Civic News:** Real-time coverage of municipal corporation affairs, city drainage projects, traffic management blueprints, and road widening drives across Tikonia, Mukhani, Kusumkhera, Bareilly Road, and Rampur Road. - **Administrative Directives:** Official notifications from the District Magistrate (DM) Nainital, Senior Superintendent of Police (SSP), and state secretariat decisions affecting citizen welfare. - **Kumaon Weather & Disaster Alerts:** Timely mountain rainfall warnings, landslide advisories along NH-109 (Haldwani-Nainital Highway), and emergency bulletins during the monsoon and winter seasons. - **Education & Campus News:** Timely reports on Kumaon University examination schedules, Uttarakhand Board (UBSE) results, medical college admissions, and competitive coaching updates. - **Commercial & Market Trends:** Daily wholesale Mandi Bhav rates from Haldwani Subzi Mandi, real estate trends, retail market festivals, and local business openings. - **Cultural & Pahadi Heritage:** In-depth feature stories celebrating Kumaoni folk traditions, Aipan art, Nanda Devi festivals, and local community milestones.

Everything in Haldwani on One Unified Digital Ecosystem

Beyond traditional news reporting, Haldwani Times is engineered as an exhaustive local discovery engine. Historically, finding verified local business telephone numbers, emergency hospital contacts, specialized doctors, reliable plumbers, or trusted real estate consultants in Haldwani required asking neighbors or browsing outdated social media posts. Haldwani Times eliminates this friction by organizing every commercial, professional, and civic resource into searchable, verified categories. Whether you are a newly arrived resident in Kusumkhera looking for high-speed broadband providers, a parent searching for reputable CBSE schools near Kaladhungi Road, or a tourist seeking taxi rentals to Nainital, our portal delivers accurate, verified, and actionable information in seconds.

Local Shops, Retail Hubs & Traditional Bazaars in Haldwani

The retail commerce of Haldwani spans centuries-old traditional bazaars and modern commercial complexes: - **Bada Bazaar & Mangal Parao:** The historic retail heart of Haldwani, renowned for traditional Kumaoni wedding jewelry (Pauji, Guloband, Nath), brass utensils, ethnic handlooms, and wholesale clothing. - **Nainital Road & Tikonia Commercial Corridor:** Modern multi-brand retail showrooms, electronics stores, authorized smartphone service centers, branded footwear outlets, and international apparel stores. - **Bareilly Road & Rampur Road Trade Hubs:** Major agricultural machinery dealers, hardware and building material wholesalers, furniture manufacturing units, plywood distributors, and automobile showrooms. - **Subzi Mandi & Wholesale Grain Market:** One of the largest agricultural distribution centers in North India, supplying fresh vegetables, hill fruits (apples, peaches, plums), and organic Pahadi pulses (Gahat, Bhatt, Rajma) across northern states.

Healthcare Hub of Kumaon: Hospitals & Emergency Services

Haldwani serves as the premier medical lifeline for all six hill districts of Kumaon. Patients travel from Almora, Pithoragarh, Bageshwar, and Champawat to access specialized clinical treatments in Haldwani: - **Government Healthcare Institutions:** Dr. Susheela Tiwari Government Medical College & Hospital (STGH) and Base Hospital Haldwani provide tertiary trauma care, specialized super-specialties, pediatric ICUs, and 24/7 emergency response. - **Private Multi-Specialty Hospitals:** Advanced private medical centers specializing in cardiology, joint replacements, neurology, critical care, nephrology, and advanced laparoscopic surgeries. - **Diagnostic Centers & 24/7 Pharmacies:** Fully automated pathology laboratories, high-resolution MRI/CT scan centers, and round-the-clock emergency pharmacies clustered around Medical College Road, Kaladhungi Road, and Rampur Road.

Education, Colleges, Coaching Academies & Youth Development

Haldwani is the educational capital of the Kumaon region, home to thousands of ambitious students preparing for medical, engineering, defense, and civil services careers: - **Premier Degree Colleges:** Motiram Baburam Government Post Graduate College (MBPG College) and Women's Degree College providing extensive undergraduate and postgraduate humanities, commerce, and science programs. - **Competitive Coaching Ecosystem:** Highly reputed coaching academies for NEET UG, JEE Main & Advanced, UPSC Civil Services, UKPSC/UKSSSC, NDA, CDS, and Banking examinations along Kaladhungi Road and Tikonia. - **Affiliated Schooling Infrastructure:** Esteemed CBSE, ICSE, and Uttarakhand Board schools imparting value-based holistic education with modern sports and laboratory facilities.

Real Estate, Housing Colonies & Urban Expansion Trends

Driven by rapid infrastructure expansion and high quality of life, Haldwani's real estate market is expanding outward into organized residential colonies: - **Prime Residential Localities:** Highly sought-after residential sectors in Mukhani, Kusumkhera, Kaladhungi Road, Judge Farm, Daharia, and Bhotia Parao offering planned housing, green parks, and modern civic amenities. - **Commercial Property Investments:** Thriving commercial retail complexes, office spaces, and warehouse hubs developing rapidly along the proposed Haldwani Ring Road and transport corridors. - **Property Advisory & RERA Compliance:** In-depth real estate updates, circle rate revisions by the Nainital district administration, and buyer advisory guidelines for safe property acquisitions.

Strategic Transit Gateway, Tourism Routes & Kumaon Himalayan Connectivity

Haldwani-Kathgodam is the vital transit bridge connecting the plains of Delhi NCR and Uttar Pradesh with the hill stations of Uttarakhand: - **Kathgodam Railway Terminal:** Connecting Kumaon directly to New Delhi (Shatabdi Express, Ranikhet Express), Lucknow, Kolkata, Jammu, and Dehradun. - **ISBT Haldwani:** Operating round-the-clock interstate and mountain bus routes managed by Uttarakhand Transport Corporation (UTC) and private deluxe coaches. - **Pantnagar Airport (PGH):** Located just 26 km from Haldwani, offering scheduled domestic flights to New Delhi, Dehradun, Pithoragarh, and regional hubs. - **Himalayan Tourism Hub:** The primary staging point for journeys to Nainital (34 km), Bhimtal (30 km), Mukteshwar (72 km), Kainchi Dham (42 km), Almora (90 km), Ranikhet (80 km), and Jim Corbett National Park (55 km).

Gaula River Mining, Ecological Balance & The Bhabhar Economy

The Gaula River represents the undisputed economic and hydrological lifeline of Haldwani and the broader Nainital district. Originating from the Sattal-Bhimtal catchment in the lesser Himalayas, the river flows south past Kathgodam and Haldwani before merging into the Ramganga. For generations, the Gaula riverbed has provided the foundation for both regional agriculture and the construction economy across northern India: - **Regulated Minor Mineral Extraction:** During the open mining season (typically October to May), thousands of registered tractor-trolleys and heavy dumpers harvest riverbed gravel, sand, and boulders under strict surveillance by the Uttarakhand Forest Development Corporation and the Nainital district administration. - **Livelihood Support for Over 50,000 Families:** The Gaula mining economy directly and indirectly sustains vehicle owners, drivers, mechanics, diesel pump stations, roadside eateries, and local laborers, circulating over ₹500 crore into Haldwani's local markets annually. - **Environmental Safeguards & Flood Mitigation:** In strict adherence to High Court and National Green Tribunal (NGT) directives, scientific replenishment studies, satellite GPS tracking on transport vehicles, and seasonal mining bans during the monsoon protect the river's ecological balance and prevent bank erosion along low-lying residential sectors.

Culinary Landscape: From Traditional Kumaoni Rasoi to Modern Cafes

Haldwani's gastronomic scene reflects a delightful blend of rustic mountain traditions and cosmopolitan dining: - **Authentic Kumaoni Specialties:** Local restaurants and heritage dhabas serve traditional mountain delicacies cooked in iron vessels, including Bhatt ki Churkani (black soybean curry), Gahat ke Dubke (horsegram puree), Aloo ke Gutke tempered with wild Himalayan chives (Jamboo) and Jakhiya, and refreshing cucumber Raita flavored with freshly crushed mustard seeds. - **Traditional Confectioneries:** Historic sweet shops along Bada Bazaar and Nainital Road craft Almora's world-famous Bal Mithai (roasted caramelized khoya fudge coated in sugar balls) and Singaudi (sweetened khoya wrapped in wild Malu leaves). - **Vibrant Street Food & Cafe Culture:** As dusk falls, Tikonia and Nainital Road come alive with bustling street food stalls offering steaming Tibetan momos, spiced thukpa, Kathi rolls, and hot Masala Chai, alongside modern rooftop cafes serving specialty Italian coffees and continental snacks.

Cultural Festivals, Folk Heritage & The Aipan Art of Kumaon

Beyond commercial enterprise, Haldwani is the proud cultural showcase of Devbhoomi Uttarakhand: - **Aipan Folk Art Tradition:** The sacred geometrical floor and wall art handcrafted with red ochre (Geru) and white rice paste (Biswar) adorning thresholds, altars, and chowkis during auspicious ceremonies, now preserved through local women's self-help cooperatives. - **Classical Baithki & Khadi Holi:** Unique to Kumaon, musical celebrations starting as early as the month of Paush, featuring classical Hindustani ragas sung in community courtyards followed by energetic Chholiya dance performances during spring. - **Nanda Devi & Chholiya Heritage:** Grand annual fairs celebrating the patron deity Nanda Devi, accompanied by martial sword-and-shield Chholiya dancers whose rhythmic brass trumpets (Ransingha) and hurka drums resonate through the valley.

Public Amenities, Parks & Community Spaces in Haldwani

Urban lifestyle and recreational infrastructure in the city: - **Green Parks & Walking Tracks:** Walkway projects around Daharia, Judge Farm, and Awas Vikas providing lush recreational zones for families and seniors. - **Community Centers & Sports Grounds:** Multi-purpose auditoriums and grounds hosting cultural melas, badminton tournaments, and community celebrations. - **Gaula Barrage & Forest Trails:** Scenic river viewpoints and natural birdwatching areas attracting eco-tourists and local nature enthusiasts on weekends.

Frequently Asked Questions (FAQs)

How can I access live breaking news and weather alerts for Haldwani?

Haldwani Times operates a dedicated 24/7 hyperlocal newsroom providing real-time breaking bulletins, traffic alerts, and meteorological warnings. You can access live news directly from our homepage, subscribe to instant browser push notifications, or view categorical updates on Uttarakhand, Education, and Mandi Bhav. During monsoon and winter weather events, our correspondents provide live updates on NH-109 road blockages and emergency administrative orders issued by the Nainital District Magistrate.

Is Haldwani Times completely free to read for all visitors?

Yes, Haldwani Times offers completely unrestricted, open-access reading to all users without mandatory paywalls. Readers across Haldwani, Uttarakhand, and the global diaspora can freely browse all breaking news reports, investigative articles, business directory listings, and historical archives. Our public-interest mission ensures that essential civic information, emergency hospital directories, and educational circulars remain universally accessible to everyone at zero cost.

How can local business owners list their shop or service in the Haldwani directory?

Local merchants, medical practitioners, schools, and service professionals can register their business by navigating to our 'Business Directory' page and selecting 'Add Listing'. The registration process allows you to input your business name, address, contact numbers, operational hours, services offered, and high-resolution showroom photographs. Once submitted, our local verification team verifies the physical address within 24 hours to ensure high consumer trust and top ranking on Google.

Can I read Haldwani Times articles in Hindi as well as English?

Yes, Haldwani Times features a seamless, native bilingual reading experience tailored for our regional readership. With our one-click language toggle located prominently in the navigation bar, you can instantly switch between English and pure Hindi. Both versions feature carefully crafted editorial phrasing, accurate regional terminology, and culturally resonant storytelling to ensure maximum readability for students, families, and senior citizens alike.

How do I submit news tips, event notices, or press releases to the editorial team?

Our newsroom warmly welcomes verified news tips, community event notices, civic grievances, and official press releases from citizens and local organizations. You can submit your documents, photos, or video evidence directly to our central editorial desk at editorial@haldwanitimes.com or via our Help & Support page. Our senior editors review every submission for factual authenticity, multi-source verification, and public relevance prior to publication.

Where can visitors find authentic Kumaoni Bal Mithai and Singaudi in Haldwani?

Renowned traditional sweet houses clustered along Bada Bazaar, Mangal Parao, Kathgodam Station Road, and Nainital Road specialize in daily batches of authentic Bal Mithai and fragrant Singaudi prepared with pure mountain dairy khoya and natural ingredients.

What transportation options are available for traveling from Haldwani to Nainital and Bhimtal?

Continuous state transport buses (UTC), KMOU coaches, and registered taxi union sharing cabs operate 24/7 from the Haldwani Roadways Bus Station (near Tikonia) and Kathgodam Railway Station. Fares are regulated by the transport department, with mountain travel times ranging between 1 to 1.5 hours.