11 projects
swarph-cli
The `swarph` binary — a multi-LLM CLI and mesh-gateway client + bundled server (`swarph gateway`): one-shot prompts across providers, interactive `chat`, multi-provider `spawn` (claude/codex/antigravity via a ProviderMembrane with subprocess billing-scrub), `mesh` send/inbox/register, `brain-ask` over the swarph-brain (gbrain) semantic memory, git-backed `assisted_memory`, per-invocation `gh` identity routing, a silent DM-wake hook, session `import`, and a stranded-session `watchdog`.
swarph-mesh
Model-agnostic Python substrate for the swarph-mesh ecosystem — the graph protocol third-party CLIs plug into. v0.8.0 adds the VibeCLIAdapter (provider 'vibe-cli'): the EU-domiciled SUBSCRIPTION Mistral lane via firejail-sandboxed `vibe -p`, with a --max-price hard cost ceiling enforced per call, no tools at all, an ephemeral VIBE_HOME (stateless by construction), the prompt piped on stdin so it never touches disk, and a declared-not-attested jurisdiction attribute for residency-aware routing.
swarph-shared
Shared substrate primitives for swarph-mesh ecosystem (caller convention, subprocess env scrubbing, JSON-mode harness, peer-name registry, cell.yaml schema, LLM cost reconciliation). v0.8.0 adds llm_cost: one LiteLLM-sourced price base + one cost function for the whole mesh, self-checking via claude -p's own reported cost per call. v0.8.1 fixes fetch_price_base() silently zero-pricing entries LiteLLM has no real listing for, instead of excluding them.
swarph-triage
Generalizable ranked-queue triage primitive (fingerprint + priority + state machine + regression detector). Backend-agnostic via SQLAlchemy Core (sqlite + postgres).
dispatch-relay
Provider-agnostic LLM dispatch layer: 3 injected seams (config / usage / dispatch) + a pure cost model. Relays usage to a sink rather than tracking it.
fisherrao
Fisher-Rao geometry on multiple statistical manifolds — multivariate Gaussian (Calvo-Oller) + Beta family (KL, geodesic, curvature, MoM fit). Pure numpy+scipy.
langgraph-genai-bridge
Native Google GenAI SDK integration for LangGraph with context caching, tool auto-conversion, and bidirectional message translation.
hodgex
Hodge Laplacian + simplicial complex + 3-way Hodge decomposition on graphs. Pure scipy.sparse, 2-simplex (triangle) scope.
diebold-yilmaz
Diebold-Yilmaz (2012) connectedness — generalized FEVD + total/directional/net spillover indices. Pure numpy+scipy.
tailcor
TailCoR — non-asymptotic, distribution-free decomposition of linear correlation vs non-linear tail contagion (Ricci, Tristani, Vergote 2023). Pure numpy+scipy.
phawkes
Pure-Python multivariate Hawkes process simulation and MLE (exponential kernels), no C++ deps