# syntropy v0.2.0 - Table of Contents

A fair source multi-agent AI framework where agents are organized on a mathematical lattice.

## Modules

- [Syntropy](Syntropy.md): Public convenience API for the Syntropy runtime.

- [Syntropy.Agent](Syntropy.Agent.md): GenServer-backed agent state for the Syntropy runtime.

- [Syntropy.Application](Syntropy.Application.md): OTP application supervisor for the Syntropy runtime.

- [Syntropy.CitationAudit](Syntropy.CitationAudit.md): Lightweight citation discipline checks for source-grounded Syntropy runs.

- [Syntropy.ClusterConfig](Syntropy.ClusterConfig.md): Hosted cluster configuration boundary for Syntropy.
- [Syntropy.ClusterInfo](Syntropy.ClusterInfo.md): Cluster diagnostics and node identity boundary for Syntropy.
- [Syntropy.ClusterInventory](Syntropy.ClusterInventory.md): RPC-safe cluster inventory and invalidation boundary for Syntropy.
- [Syntropy.ClusterMonitor](Syntropy.ClusterMonitor.md): Event-driven cluster health and incident monitor for Syntropy.
- [Syntropy.Contract](Syntropy.Contract.md): Shared lattice contract loader for the Elixir runtime.

- [Syntropy.EventRecorder](Syntropy.EventRecorder.md): Retains lattice runtime events and broadcasts them on Phoenix PubSub.
- [Syntropy.HistoryStore](Syntropy.HistoryStore.md): Retains lattice snapshots for replay and operator inspection.

- [Syntropy.KnowledgeStore](Syntropy.KnowledgeStore.md): ETS-backed runtime knowledge store.

- [Syntropy.LLMClient](Syntropy.LLMClient.md): Provider boundary for Syntropy agent completions.

- [Syntropy.LLMClient.Config](Syntropy.LLMClient.Config.md): Runtime provider settings for Syntropy completions.

- [Syntropy.LLMClient.Prompts](Syntropy.LLMClient.Prompts.md): Prompt contracts for Syntropy provider-backed execution.

- [Syntropy.LLMClient.Usage](Syntropy.LLMClient.Usage.md): Provider usage accounting for hosted model calls.
- [Syntropy.LLMClient.UsageRecorder](Syntropy.LLMClient.UsageRecorder.md): In-memory per-run LLM usage summaries.
- [Syntropy.LatticeMath](Syntropy.LatticeMath.md): Pure lattice math helpers shared by runtime modules and property tests.

- [Syntropy.LatticeSupervisor](Syntropy.LatticeSupervisor.md): DynamicSupervisor-backed lattice container.

- [Syntropy.OutputQuality](Syntropy.OutputQuality.md): Deterministic post-processing for model output shown in run envelopes.
- [Syntropy.Persistence](Syntropy.Persistence.md): Optional Postgres-backed durability for Syntropy replay-critical read models.

- [Syntropy.PersistenceHealth](Syntropy.PersistenceHealth.md): Tracks Syntropy persistence health and rate-limits repeated failure logs.

- [Syntropy.PositionComputer](Syntropy.PositionComputer.md): Periodic lattice position refresh using the shared contract interval.

- [Syntropy.RateLimiter](Syntropy.RateLimiter.md): Dependency-free token-bucket rate limiter for the external API surface.
- [Syntropy.RecommendationStore](Syntropy.RecommendationStore.md): Retains structural recommendations for Trust V1.

- [Syntropy.Release](Syntropy.Release.md): Release-time support helpers for Syntropy.
- [Syntropy.Repo](Syntropy.Repo.md): Optional Ecto repository for durable Syntropy replay storage.

- [Syntropy.Retention](Syntropy.Retention.md): Data retention policy for replay read models.
- [Syntropy.RetentionWorker](Syntropy.RetentionWorker.md): Periodic retention purge loop.
- [Syntropy.RuntimeConfig](Syntropy.RuntimeConfig.md): Read and apply runtime provider configuration.
- [Syntropy.RuntimeConfig.Hydrator](Syntropy.RuntimeConfig.Hydrator.md): Boot-time hydration of persisted runtime configuration.
- [Syntropy.RuntimeStatus](Syntropy.RuntimeStatus.md): Health and readiness checks for Syntropy runtime services.

- [Syntropy.Seeder](Syntropy.Seeder.md): Optional demo seeding for local Syntropy operator flows.
- [Syntropy.SourceTool.Librarian](Syntropy.SourceTool.Librarian.md): Read-only subprocess adapter for Librarian evidence expansion.
- [Syntropy.StructuralDecider](Syntropy.StructuralDecider.md): Deterministic Trust V1 structural recommendation rules.

- [Syntropy.TaskRouter](Syntropy.TaskRouter.md): Deterministic semantic routing using the shared runtime scoring contract.

- [Syntropy.TaskScheduler](Syntropy.TaskScheduler.md): Task orchestration boundary for the Syntropy runtime.
- [Syntropy.TaskScheduler.AgentDispatch](Syntropy.TaskScheduler.AgentDispatch.md): Routes agent think and abort requests to the owning node.
- [Syntropy.TaskScheduler.RunEnvelope](Syntropy.TaskScheduler.RunEnvelope.md): Run envelope builders and envelope collection helpers.
- [Syntropy.TaskScheduler.Runner](Syntropy.TaskScheduler.Runner.md): Executes one task run inside the coordinator's supervised task tree.
- [Syntropy.TaskScheduler.Selection](Syntropy.TaskScheduler.Selection.md): Agent selection and routing for task runs.
- [Syntropy.TaskScheduler.SourceInquiry](Syntropy.TaskScheduler.SourceInquiry.md): Source-review inquiry pipeline for task runs.
- [Syntropy.TaskScheduler.Support](Syntropy.TaskScheduler.Support.md): Shared helpers for the task scheduler pipeline.
- [Syntropy.TaskScheduler.Synthesis](Syntropy.TaskScheduler.Synthesis.md): Synthesis of agent thoughts into a single run answer.
- [Syntropy.Telemetry](Syntropy.Telemetry.md): Custom `:telemetry` event emitters for the Syntropy runtime.
- [Syntropy.TrustPolicy](Syntropy.TrustPolicy.md): Shared Trust V1 policy loader for structural decisions.

- [Syntropy.Usage](Syntropy.Usage.md): LLM usage aggregation and the fair-use token budget.
- [Syntropy.Webhooks.Dispatcher](Syntropy.Webhooks.Dispatcher.md): Delivers runtime events to registered webhook endpoints.
- [Syntropy.Webhooks.Registry](Syntropy.Webhooks.Registry.md): Registry of webhook endpoints and their recent delivery attempts.
- [Syntropy.Webhooks.Signature](Syntropy.Webhooks.Signature.md): HMAC-SHA256 signing for outbound webhook deliveries.
- [Syntropy.Webhooks.UrlPolicy](Syntropy.Webhooks.UrlPolicy.md): SSRF guard for outbound webhook destinations.
- [SyntropyWeb.AgentLive](SyntropyWeb.AgentLive.md)
- [SyntropyWeb.Api.AgentController](SyntropyWeb.Api.AgentController.md)
- [SyntropyWeb.Api.ClusterController](SyntropyWeb.Api.ClusterController.md)
- [SyntropyWeb.Api.EventController](SyntropyWeb.Api.EventController.md)
- [SyntropyWeb.Api.GraphController](SyntropyWeb.Api.GraphController.md)
- [SyntropyWeb.Api.HistoryController](SyntropyWeb.Api.HistoryController.md)
- [SyntropyWeb.Api.Listing](SyntropyWeb.Api.Listing.md): Shared helpers for paginated, filterable list endpoints.
- [SyntropyWeb.Api.PerspectiveController](SyntropyWeb.Api.PerspectiveController.md)
- [SyntropyWeb.Api.RecommendationController](SyntropyWeb.Api.RecommendationController.md)
- [SyntropyWeb.Api.RetentionController](SyntropyWeb.Api.RetentionController.md)
- [SyntropyWeb.Api.RunController](SyntropyWeb.Api.RunController.md)
- [SyntropyWeb.Api.RuntimeConfigController](SyntropyWeb.Api.RuntimeConfigController.md)
- [SyntropyWeb.Api.StatusController](SyntropyWeb.Api.StatusController.md)
- [SyntropyWeb.Api.TaskController](SyntropyWeb.Api.TaskController.md)
- [SyntropyWeb.Api.TokenController](SyntropyWeb.Api.TokenController.md)
- [SyntropyWeb.Api.UsageController](SyntropyWeb.Api.UsageController.md)
- [SyntropyWeb.Api.WebhookController](SyntropyWeb.Api.WebhookController.md): REST management of webhook endpoint registrations and delivery logs.

- [SyntropyWeb.ApiAuth](SyntropyWeb.ApiAuth.md): Runtime auth policy for Syntropy's external REST and channel surface.
- [SyntropyWeb.ApiSocket](SyntropyWeb.ApiSocket.md): Phoenix socket for external Syntropy channel consumers.

- [SyntropyWeb.Endpoint](SyntropyWeb.Endpoint.md)
- [SyntropyWeb.ErrorHTML](SyntropyWeb.ErrorHTML.md)
- [SyntropyWeb.ErrorJSON](SyntropyWeb.ErrorJSON.md)
- [SyntropyWeb.HistoryLive](SyntropyWeb.HistoryLive.md)
- [SyntropyWeb.LatticeChannel](SyntropyWeb.LatticeChannel.md): Subscribe-only runtime event channel for external Syntropy consumers.

- [SyntropyWeb.LatticeLive](SyntropyWeb.LatticeLive.md)
- [SyntropyWeb.Layouts](SyntropyWeb.Layouts.md)
- [SyntropyWeb.MetricsController](SyntropyWeb.MetricsController.md)
- [SyntropyWeb.OperationsLive](SyntropyWeb.OperationsLive.md): 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.

- [SyntropyWeb.OperatorAuth](SyntropyWeb.OperatorAuth.md): Session-based operator authentication for the mission control UI.
- [SyntropyWeb.Plugs.ApiAuth](SyntropyWeb.Plugs.ApiAuth.md): Enforces Syntropy external API auth when token auth is enabled.
- [SyntropyWeb.Plugs.RateLimiter](SyntropyWeb.Plugs.RateLimiter.md): Applies `Syntropy.RateLimiter` to API pipelines.
- [SyntropyWeb.Plugs.RequireOperator](SyntropyWeb.Plugs.RequireOperator.md): Redirects unauthenticated browser requests to the operator login page when
operator auth is enforced.

- [SyntropyWeb.Router](SyntropyWeb.Router.md)
- [SyntropyWeb.SessionController](SyntropyWeb.SessionController.md)
- [SyntropyWeb.TasksLive](SyntropyWeb.TasksLive.md)
- [SyntropyWeb.Telemetry](SyntropyWeb.Telemetry.md): Telemetry supervisor: periodic VM measurements plus the in-process
Prometheus reporter backing `GET /metrics`.

- Exceptions
  - [Syntropy.Persistence.WriteError](Syntropy.Persistence.WriteError.md)

