Capital held in common, allocated by rule.

Commune is autonomous DeFi infrastructure. Onchain agents pool liquidity from many depositors and allocate it across lending markets and exchanges, following a published policy that no single party can change.

Read the working paper Read the docs
Depositorssupply capitalThe communeallocates by ruleMarketspay yield1005050252512.512.56.256.253.125Σ → 200Σ → 100units, illustrative
Fig. 1  How a deposit circulates through Commune, drawn after Quesnay's Tableau économique (1758). Each round halves.

Custody

Non-custodial vaults

Decisions

Made by rule-bound agents

Policy changes

Seven-day public timelock

Record

Every action written onchain

§1

Thesis

Most DeFi capital is still managed by hand, one wallet at a time. Commune treats that work as shared infrastructure: one pool, a few bounded agents and a policy anyone can read.

Each depositor watches rates, prices risk and rebalances alone. The same work is repeated thousands of times, and the results are uneven: the attentive do well, and everyone else carries idle or misplaced capital.

In Commune, depositors contribute to a common pool. A small set of autonomous agents does the watching and the moving, bounded by a policy written in advance and enforced by contract. Returns and losses would be shared pro rata. Policy constraints do not eliminate loss risk.

The design borrows from older institutions: the clearing house, the mutual fund, the cooperative bank. What is new is that the clerk is software and its ledger is public.1

1  In medieval Europe a commune was a sworn association of townspeople who pooled their resources and governed them by charter.

§2

Mechanism

Commune runs in epochs. In each one the agents read the market, score every venue against the policy and move capital only where the rules allow.

targethurdle rate 6%kink at 80%020406080100010203040Utilization, %Borrow rate, %
Fig. 2  Rate curve of a typical lending venue. Allocators add capital while a venue sits below the target band and stop once it is inside. Parameters are illustrative.
  1. 2.1

    Observe

    Agents read rates, utilization and depth from every approved venue each epoch.

  2. 2.2

    Evaluate

    Each venue is scored on yield net of risk, using the weights set in the policy.

  3. 2.3

    Allocate

    Capital moves toward the best-scoring venues, never past a venue's cap.

  4. 2.4

    Net

    Deposits and withdrawals are matched against each other first, so fewer transfers reach the market.

  5. 2.5

    Record

    Each decision is written onchain with its inputs, so anyone can replay it.

§3

Agents

Four agents share the work. Each has one job and a hard limit on what it can do. None of them can change the policy or withdraw on anyone's behalf.

Agent Role Runs Limit
AllocatorMoves capital between approved venuesevery epochPer-venue cap and reserve floor
SentinelWatches prices, oracles and venue healthcontinuousCan pause a venue, cannot move funds
ClearerNets deposits against withdrawalsevery epochQueue no longer than one epoch
RecorderPublishes each decision with its inputsevery actionAppend-only log

§4

Policy

The policy is a short list of numbers. Changing any of them takes a public proposal and a seven-day wait before the change applies.

Policy parameters, draft v0.1

Epoch length6 h
Max share per venue35%
Reserve floor10%
Oracle deviation halt2.0%
Withdrawal queue≤ 1 epoch
Policy timelock7 days

Final values ship with the audited contracts.

Reserve20.9%Exchange C22.3%Lending B23.4%Lending A33.5%14812162024050100Epoch%
Fig. 3  Share of the pool held at each venue over 24 epochs. Simulated for illustration, not live data. No venue passes the 35% cap and the reserve stays above 10%.

§5

Research

Commune is built in the open. Each part of the design is written up and published before it ships.

Working paper No. 1

Allocation under published rules

How far a fixed policy can go before it needs human judgment, and how to tell when it has gone too far.

Draft

Working paper No. 2

Netting at the edge

How much market impact is saved by matching deposits and withdrawals inside the pool before anything reaches a venue.

In progress

Working paper No. 3

Failure and halt

What the system does when an oracle, a venue or one of its own agents stops behaving as expected.

Planned

Read the policy before you deposit.

Review the proposed parameters and design before using any future deployment. The protocol is at the research stage.

Read the working paper Read the docs