API Reference syntropy v#0.2.0

Copy Markdown

Modules

Public convenience API for the Syntropy runtime.

GenServer-backed agent state for the Syntropy runtime.

OTP application supervisor for the Syntropy runtime.

Lightweight citation discipline checks for source-grounded Syntropy runs.

Hosted cluster configuration boundary for Syntropy.

Cluster diagnostics and node identity boundary for Syntropy.

RPC-safe cluster inventory and invalidation boundary for Syntropy.

Event-driven cluster health and incident monitor for Syntropy.

Shared lattice contract loader for the Elixir runtime.

Retains lattice runtime events and broadcasts them on Phoenix PubSub.

Retains lattice snapshots for replay and operator inspection.

ETS-backed runtime knowledge store.

Provider boundary for Syntropy agent completions.

Runtime provider settings for Syntropy completions.

Prompt contracts for Syntropy provider-backed execution.

Provider usage accounting for hosted model calls.

In-memory per-run LLM usage summaries.

Pure lattice math helpers shared by runtime modules and property tests.

DynamicSupervisor-backed lattice container.

Deterministic post-processing for model output shown in run envelopes.

Optional Postgres-backed durability for Syntropy replay-critical read models.

Tracks Syntropy persistence health and rate-limits repeated failure logs.

Periodic lattice position refresh using the shared contract interval.

Dependency-free token-bucket rate limiter for the external API surface.

Retains structural recommendations for Trust V1.

Release-time support helpers for Syntropy.

Optional Ecto repository for durable Syntropy replay storage.

Data retention policy for replay read models.

Periodic retention purge loop.

Read and apply runtime provider configuration.

Boot-time hydration of persisted runtime configuration.

Health and readiness checks for Syntropy runtime services.

Optional demo seeding for local Syntropy operator flows.

Read-only subprocess adapter for Librarian evidence expansion.

Deterministic Trust V1 structural recommendation rules.

Deterministic semantic routing using the shared runtime scoring contract.

Task orchestration boundary for the Syntropy runtime.

Routes agent think and abort requests to the owning node.

Run envelope builders and envelope collection helpers.

Executes one task run inside the coordinator's supervised task tree.

Agent selection and routing for task runs.

Source-review inquiry pipeline for task runs.

Shared helpers for the task scheduler pipeline.

Synthesis of agent thoughts into a single run answer.

Custom :telemetry event emitters for the Syntropy runtime.

Shared Trust V1 policy loader for structural decisions.

LLM usage aggregation and the fair-use token budget.

Delivers runtime events to registered webhook endpoints.

Registry of webhook endpoints and their recent delivery attempts.

HMAC-SHA256 signing for outbound webhook deliveries.

SSRF guard for outbound webhook destinations.

Shared helpers for paginated, filterable list endpoints.

REST management of webhook endpoint registrations and delivery logs.

Runtime auth policy for Syntropy's external REST and channel surface.

Phoenix socket for external Syntropy channel consumers.

Subscribe-only runtime event channel for external Syntropy consumers.

Mission-control operations: agent deploy/remove, webhook administration, and runtime provider configuration — the same controls the REST API and platform cockpit expose, available directly in the LiveView.

Session-based operator authentication for the mission control UI.

Enforces Syntropy external API auth when token auth is enabled.

Redirects unauthenticated browser requests to the operator login page when operator auth is enforced.

Telemetry supervisor: periodic VM measurements plus the in-process Prometheus reporter backing GET /metrics.