Converge Core
A correctness-first, context-driven multi-agent runtime library.
Website: converge.zone | Docs: docs.rs | Crates.io: converge-core
Installation
[]
= "0.6"
Overview
converge-core is the foundational semantic engine for the Converge ecosystem. It provides:
- Context — Shared, append-only state for agent collaboration
- Engine — Convergence loop with parallel execution and deterministic commit
- Agent Trait — Interface for implementing capabilities
- Invariants — Runtime constraint enforcement (Gherkin-style)
- Capability Abstractions — Traits for Embedding, Reranking, VectorRecall, GraphRecall
Related Crates
| Crate | Version | Description |
|---|---|---|
| converge-core | 0.6.1 | Runtime engine, agent traits, capabilities |
| converge-provider | 0.2.3 | 14+ LLM providers, model selection |
| converge-domain | 0.2.3 | 12 business use cases |
Core Principles
- Context is the API — Agents collaborate through shared data, not direct calls
- Convergence is mandatory — Execution proceeds until a fixed point is reached
- Correctness over availability — Wrong answers are worse than no answers
Quick Start
use ;
// Define a simple agent
;
Agent Idempotency Contract
All agents must follow this rule:
An agent has contributed if any artifact it emitted exists in the context — regardless of acceptance or validation.
Capability Abstractions (v0.6+)
use ;
// Traits for provider implementations:
// - Embedding: text/image embeddings
// - Reranking: re-rank search results
// - VectorRecall: vector similarity search
// - GraphRecall: graph pattern matching
Public API
Core Types
Engine— The convergence runtimeContext— Shared job stateAgent— Agent trait for capabilitiesAgentEffect— Buffered output from agentsFact— Trusted facts in contextProposedFact— LLM suggestions requiring validation
Invariants
Invariant— Runtime constraint traitInvariantClass— Structural, Semantic, Acceptance
Capabilities
Embedding— Embedding generation traitReranking— Re-ranking traitVectorRecall— Vector store traitGraphRecall— Graph store trait
Guarantees
- Determinism: Same input → same output
- Termination: Budgets prevent infinite loops
- Isolation: Agents never call each other
- Auditability: All changes are traceable
Testing
# Run convergence axiom tests
# Run all tests
Repository
This crate is part of the Converge project.
Standalone repo: github.com/kpernyer/converge-core
License
Proprietary (Aprio One AB)