Skip to main content

A topological and physical framework for continuous multi-agent systems.

Project description


title: "Accretive Computing: A Topological and Physical Framework for Continuous Multi-Agent Systems" author: "Chinu Subudhi" date: "July 2026"

Accretive Computing MAS Framework 🌌

Welcome to Accretive Computing—the world's first continuous, physics-driven framework for Multi-Agent Systems (MAS).

Traditional AI frameworks (like AutoGen, CrewAI, or LangGraph) treat agents as discrete software nodes operating on rigid, hard-coded routing graphs. Developers spend hours writing boilerplate rules: "If Agent A says X, route to Agent B." As you scale to dozens or hundreds of agents, this $O(N^2)$ routing logic becomes a catastrophic bottleneck.

Accretive Computing fundamentally reimagines AI orchestration. We replace the graph with a continuous topological physics engine. We treat Large Language Models as oscillating wave functions inside an $N$-dimensional semantic space.

Instead of writing brittle routing rules, agents simply project their "thoughts" into the physical substrate. The hyper-optimized C++ physics engine continuously evaluates the spatial overlap of all agents in $O(N \log N)$ time. When agents' wave functions collide—meaning they are thinking about the same semantic concepts—the engine autonomously forces them to interact, debate, and resolve the semantic tension via Free Energy Minimization.

🚀 Why Accretive Computing?

  • Zero Routing Logic: Never write another explicit graph edge or routing condition. Agents group and collaborate organically based entirely on semantic proximity.
  • Infinite Scalability: Add 10 or 10,000 agents without changing a single line of orchestration code.
  • Blazing Fast C++ Core: Built on strict C++20 and Eigen3, the underlying ContinuousSubstrate handles massive swarm physics while seamlessly bridging to a simple Python DSL via PyBind11.
  • $O(N \log N)$ Spatial Partitioning: The C++ engine utilizes 1-level spatial clustering and multipole-expansion approximations, preventing the $O(N^2)$ bottleneck of massive swarm calculations.
  • Stateful Agent Memory: Deep integration with Google's Gemini models allows agents to maintain perfect context and natively execute bound Python tools.

🛠 Application & Implementation

What does it actually look like to build with Accretive Computing? Rather than writing state-machines and DAGs, you just spawn agents, bind their tools, embed their thoughts, and let physics handle the rest.

1. Installation

We provide pre-compiled cross-platform native wheels via PyPI. You do not need to manually compile the C++ engine!

pip install accretive-mas

(Requires GEMINI_API_KEY to be set in your environment).

2. Spawning Stateful Agents

import accretive_mas
from accretive_mas_llm import LatentSemanticAgent, PhysicsOrchestrator

# 1. Initialize the high-performance C++ physics engine substrate
substrate = accretive_mas.ContinuousSubstrate()

# 2. Initialize the Python Orchestrator (Threshold = 85% topological overlap)
orchestrator = PhysicsOrchestrator(substrate, interaction_threshold=0.85)

# 3. Spawn our agents
sales_bot = LatentSemanticAgent(
    name="SalesBot", 
    system_prompt="You monitor sales data and report trends.",
    embedding_dim=768
)
logistics_bot = LatentSemanticAgent(
    name="LogisticsBot", 
    system_prompt="You manage truck routing and supply chain.",
    embedding_dim=768
)

orchestrator.register(sales_bot)
orchestrator.register(logistics_bot)

3. Organic Discovery (No Graph Routing!)

In traditional MAS, if a hurricane hits and disrupts both sales and logistics, you would have to write explicit code to tell the Sales bot to message the Logistics bot.

In Accretive Computing, agents simply "embed" their current thoughts. The physics engine automatically detects the collision!

# The hurricane hits. Both agents embed their thoughts into the N-dimensional space.
sales_bot.embed_thought("Urgent: Massive demand spike in Florida due to Hurricane.")
logistics_bot.embed_thought("Alert: Florida ports closing due to severe weather.")

# Tick the physics engine forward. 
# The C++ engine calculates the Gaussian RBF overlap between their thought vectors.
# Because the vectors are semantically identical, their wave functions collide (Overlap ≈ 1.0).
# The orchestrator autonomously bridges them into a dialogue!
orchestrator.tick()

No hardcoded pathways. No DAGs. Pure, organic swarm intelligence.


🔬 The Core Physics Engine

To understand how the engine achieves this without catastrophic computational overhead, we must dive into the underlying physics model.

The N-Dimensional Latent Topology

An agent’s thought is embedded into a vector $\mathbf{x} \in \mathbb{R}^N$. This vector becomes its precise physical coordinate in the topology. We derive an exact analytical integral for the overlap between two agents using a Gaussian Radial Basis Function (RBF):

$$ \mathrm{Overlap}(A, B) = A_A A_B \cdot \exp\left(-\frac{1}{2} ||\mathbf{x}_A - \mathbf{x}_B||^2\right) \cdot \cos(\theta_A - \theta_B) $$

Notice the cosine term. If two agents are talking about the exact same topic ($\mathbf{x}_A \approx \mathbf{x}_B$), but they fiercely disagree (their phases $\theta$ are $\pi$ radians apart), the cosine term evaluates to $-1$. This represents destructive interference—a semantic deadlock.

Thermodynamic Free Energy Minimization

The universal goal of the Accretive MAS is to resolve semantic tension and reach a consensus ground state. We define the Hamiltonian (Free Energy $F$) of the entire substrate as the sum of all pairwise mismatches, minus a natural dissipation constant $\delta$:

$$ F(\Theta) = \sum_{i} \sum_{j > i} \left( 1 - \mathrm{Overlap}(A_i, A_j) - \delta \right) $$

To step the simulation forward, the C++ engine calculates the analytical gradient of this Free Energy landscape and applies continuous Gradient Descent to the phase angles:

$$ \frac{\partial \theta_i}{\partial t} = -\alpha \frac{\partial F}{\partial \theta_i} $$

As time $t$ advances, the physics engine physically “drags” the opinions (phases) of the interacting agents toward alignment, simulating the process of debate and compromise.


Step out of the graph and into the continuous topology. Welcome to the future of organic Multi-Agent Systems. Happy coding!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

accretive_mas-0.1.1.tar.gz (126.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

accretive_mas-0.1.1-cp312-cp312-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.12Windows x86-64

accretive_mas-0.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

accretive_mas-0.1.1-cp312-cp312-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

accretive_mas-0.1.1-cp311-cp311-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.11Windows x86-64

accretive_mas-0.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

accretive_mas-0.1.1-cp311-cp311-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

accretive_mas-0.1.1-cp310-cp310-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.10Windows x86-64

accretive_mas-0.1.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

accretive_mas-0.1.1-cp310-cp310-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

accretive_mas-0.1.1-cp39-cp39-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.9Windows x86-64

accretive_mas-0.1.1-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

accretive_mas-0.1.1-cp39-cp39-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file accretive_mas-0.1.1.tar.gz.

File metadata

  • Download URL: accretive_mas-0.1.1.tar.gz
  • Upload date:
  • Size: 126.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for accretive_mas-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0e1213fd305356735aefa2283093e85127814e3cea5dc66f19067fbb3449e2c7
MD5 aa2b69867c8d2db9ed2905823c650e46
BLAKE2b-256 c59a0ca5bf04995c2ee800402583d518ca36b2325d76fe50a17e0a4a852d56c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for accretive_mas-0.1.1.tar.gz:

Publisher: publish.yml on chinu3d/accretive-computing-mas-framework

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file accretive_mas-0.1.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for accretive_mas-0.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ca23c1d46db70fb63555161c2fded84a94a06ff25ec6e48ab2a23fb9b6d24885
MD5 0270c8b6cdeec235dec410e022a451da
BLAKE2b-256 91513d6aca4e64ee44bda81dc15ffd17220964be72492c3ffe0d797800df69e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for accretive_mas-0.1.1-cp312-cp312-win_amd64.whl:

Publisher: publish.yml on chinu3d/accretive-computing-mas-framework

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file accretive_mas-0.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for accretive_mas-0.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 15395fb5b64ee2a15c1db738c36800497a09b42e824b5131ca7109b269fc50ec
MD5 acc6bd0ee2b1c0aa5c77323911d6306a
BLAKE2b-256 b516d4d6d774777027c357d82ddc0dbb2473408f5d9d5b8fe4d6fa6bb2415d68

See more details on using hashes here.

Provenance

The following attestation bundles were made for accretive_mas-0.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on chinu3d/accretive-computing-mas-framework

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file accretive_mas-0.1.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for accretive_mas-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 78b7874117c7aac3e63f5208b4fd7c6cbc2ca26175036311b0c01bd641ddf942
MD5 cf1cbc28d6eb3385bcb4bbb37c6a6571
BLAKE2b-256 0b5f66796674f59c560c3828cbe9b8c3454ce0ab31804ab36cec0157db01d00c

See more details on using hashes here.

Provenance

The following attestation bundles were made for accretive_mas-0.1.1-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish.yml on chinu3d/accretive-computing-mas-framework

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file accretive_mas-0.1.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for accretive_mas-0.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0e3d3e00a4b021ef2a042c75927a062bdea250c025f8955678bbd50f6dc21eb2
MD5 4b4da43ad772823bdd3412fd3339a5d1
BLAKE2b-256 d82e64abdfb53f91118ea7c25388b59f92dc023a425a7568bb359c3a203683bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for accretive_mas-0.1.1-cp311-cp311-win_amd64.whl:

Publisher: publish.yml on chinu3d/accretive-computing-mas-framework

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file accretive_mas-0.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for accretive_mas-0.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b562347f3a92a7e568ffc1f1b89a190f019ccbedc1f1c8c85285cf095c7df5b7
MD5 cd787c8f98e9e2eb09a23df17f6a04c3
BLAKE2b-256 27a462a535da256d0ef1ad9bf39590dce751ced6f6db5367e1c9c8de1194572b

See more details on using hashes here.

Provenance

The following attestation bundles were made for accretive_mas-0.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on chinu3d/accretive-computing-mas-framework

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file accretive_mas-0.1.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for accretive_mas-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 de290f3ace8d2fbd602a1a12b1e15dd672f8978f2e861149a6ee6a96c4bda1f0
MD5 fa3d8f3c999ca8f8d872e37f16d4ea0c
BLAKE2b-256 ce12e99a27dfee1d82d4fab3c407a4eeb878ac9d52b5c1bd0fdb042c2c4872e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for accretive_mas-0.1.1-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish.yml on chinu3d/accretive-computing-mas-framework

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file accretive_mas-0.1.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for accretive_mas-0.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 fa36bc250eabe84f2f0d891fc548e96fcd4a9edcda9b6506d0df4059150b2eeb
MD5 308f81a859f126bc42015175db2711c4
BLAKE2b-256 e3833c86e2f0054abf7f76e2d7e8d07515ac90be79605bab3376b59957ba3f73

See more details on using hashes here.

Provenance

The following attestation bundles were made for accretive_mas-0.1.1-cp310-cp310-win_amd64.whl:

Publisher: publish.yml on chinu3d/accretive-computing-mas-framework

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file accretive_mas-0.1.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for accretive_mas-0.1.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 699bdbb279ea60c5290364044f48c97883e94dc4ac5cca9567b627e1c1406902
MD5 a6154a3014a582c7b840dd4ef780bdcb
BLAKE2b-256 f6ac43d3f3ee8d89f46a694ad20e27ec31e0dd169f51f87fd5e51484db528c9d

See more details on using hashes here.

Provenance

The following attestation bundles were made for accretive_mas-0.1.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on chinu3d/accretive-computing-mas-framework

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file accretive_mas-0.1.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for accretive_mas-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bbdcde61f90f6e519fb801407200f42a9ff23a54af1c3ac28d6249913f305ffc
MD5 4aa6db6093ab8b8338ef5d6cc069241d
BLAKE2b-256 5f7e2d8881136fd742952424b5bb67fa917b8b33c8f1d0f55eff8ab9c2c53aed

See more details on using hashes here.

Provenance

The following attestation bundles were made for accretive_mas-0.1.1-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: publish.yml on chinu3d/accretive-computing-mas-framework

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file accretive_mas-0.1.1-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for accretive_mas-0.1.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 2da179223444a94170482554438d9a26b372f9771881fa43c8f675537ab2da2e
MD5 fc7fb7c9c2eac30b9bc33a3615a12c0a
BLAKE2b-256 1b0cc55a883377e2f1f551094e056ec670343c39effd13b6082f77be571a7106

See more details on using hashes here.

Provenance

The following attestation bundles were made for accretive_mas-0.1.1-cp39-cp39-win_amd64.whl:

Publisher: publish.yml on chinu3d/accretive-computing-mas-framework

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file accretive_mas-0.1.1-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for accretive_mas-0.1.1-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d7b9f8ef5bce4c29c54eda1a0a8559bdb18a14fe3d9a94829aa9d7916f7e6dde
MD5 ce7a8c46d1382a89179ff2f698012d40
BLAKE2b-256 485a6a04da842a746233be25b00982eff7d379c4260974c6c8a8cf5d148e8936

See more details on using hashes here.

Provenance

The following attestation bundles were made for accretive_mas-0.1.1-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on chinu3d/accretive-computing-mas-framework

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file accretive_mas-0.1.1-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for accretive_mas-0.1.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 631d3e9e72dbd2604660e77b89b58800ee222953a4fef372ac85bba79f9673e3
MD5 24f91bb930aa20b2af38be8764d9110f
BLAKE2b-256 83f7a662097fc43d803fcd0b0587fe248c64d836506231a67a9c15764a6567cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for accretive_mas-0.1.1-cp39-cp39-macosx_11_0_arm64.whl:

Publisher: publish.yml on chinu3d/accretive-computing-mas-framework

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page