Skip to main content

What is an AVS

What is an AVS

An AVS (Actively Validated Service) is a decentralized service that relies on a set of validators who actively perform tasks and put economic stake at risk to guarantee honest behavior. Unlike a smart contract that executes passively when called, an AVS requires validators to continuously or periodically perform specific duties — verifying data, running computations, producing attestations, or maintaining availability — with their staked capital subject to slashing if they fail or act maliciously.

In short: an AVS is a service secured by validators who stake capital and face penalties for misbehavior — closely related to restaking, which provides the mechanism for these validators to extend their economic security from an existing blockchain to the AVS.

How an AVS works

The concept of AVS formalizes a pattern that has always existed in blockchain systems: services that need active, economically incentivized participants to function correctly.

Active validation

A blockchain's consensus mechanism is itself a form of active validation — validators must propose and attest to blocks continuously, and they are slashed for misbehavior. An AVS generalizes this pattern beyond consensus. Any service that requires active work from validators — not just passive smart contract execution — can be structured as an AVS. Examples include data availability (storing and serving data on request), oracle data feeds, cross-chain message verification, AI inference verification, and keeper operations that trigger actions when specific conditions are met.

Economic security through restaking

Historically, each service requiring active validation had to bootstrap its own security — recruiting validators, launching a staking token, and building enough economic commitment to deter attacks. This is expensive and creates fragmented security.

The AVS model, particularly as advanced by restaking frameworks, changes this dynamic. Instead of each AVS needing its own independent staking pool, validators can restake assets from an established blockchain to simultaneously secure multiple AVS protocols. The restaked capital is subject to slashing by each AVS the validator opts into, creating genuine economic accountability without requiring each service to start from zero.

Slashing and accountability

The defining feature of an AVS is that validators face real economic consequences for poor performance. Each AVS defines its own slashing conditions — the specific misbehaviors or failures that result in loss of staked capital. These conditions might include:

  • Providing incorrect data or attestations.
  • Failing to respond within a required time window.
  • Signing conflicting statements (equivocation).
  • Being offline during a critical duty period.

The slashing rules must be objective and verifiable — ideally provable on-chain — so that disputes can be resolved transparently.

Why it matters for crypto AI projects

Many crypto AI projects need guarantees that go beyond what passive smart contracts can provide. They need active work — verification, computation, data delivery — performed by economically incentivized participants. The AVS model provides a framework for this.

AI inference verification. When an AI model produces a result off-chain, how does the blockchain know the result is correct? An AVS can be structured so that multiple validators independently verify or re-run the inference, attest to the result, and face slashing if their attestation is proven wrong.

Decentralized AI task coordination. AI compute networks that distribute tasks to multiple operators can use the AVS model to ensure operators perform the work correctly. Validators monitor task completion, score outputs, and enforce penalties for poor-quality work.

Security without token fragmentation. Instead of launching a new token specifically to secure AI verification services, an AI project can structure its verification layer as an AVS and draw on restaked security, avoiding the complexity of creating and maintaining a separate security token.

Where this appears in DecAIHub project cards

  • Type — a project that functions as an AVS or provides AVS infrastructure may be classified with a type reflecting its role as an actively validated service.
  • Category — AVS-based AI verification or coordination services typically fall under Infra-related categories in project cards.
  • Consensus — projects built as AVS protocols have their own validation and slashing logic, which may be referenced in the consensus or security architecture description.
  • Token model — if the project's token is used for staking within the AVS (or if it rewards AVS validators), this is reflected in the token model.

What an AVS alone does not prove

  • AI quality — an AVS secures the validation process, not the AI model itself. A well-designed AVS can verify that validators honestly report inference results, but it cannot guarantee that the underlying AI model is accurate, useful, or well-trained.
  • Sufficient security — the security of an AVS depends on the total amount of restaked capital, the number and independence of validators, and the soundness of slashing conditions. A label of "AVS" does not guarantee adequate economic security.
  • Decentralization — if a small number of validators control most of the restaked capital for an AVS, the service is decentralized in name but centralized in practice. Validator diversity and stake distribution matter.
  • Necessity — not every AI service needs the economic security guarantees of an AVS. Some AI tasks can be verified through other means (cryptographic proofs, reputation systems, or simple redundancy). An AVS adds cost and complexity; its use should be justified by the security requirements.

Do not confuse with

  • Restaking — restaking is the mechanism that provides economic security to an AVS by extending staked capital from an existing blockchain. The AVS is the service that consumes this security. Restaking is how; AVS is what. See What is restaking.
  • Smart contract — a smart contract executes code when called and does not require active participation between calls. An AVS requires continuous or periodic active work from validators, with economic penalties for non-performance.
  • Validator — a validator is a participant who performs validation duties. An AVS is the service those validators secure. Validators exist independently of the AVS concept.
  • Middleware — in some contexts, AVS protocols are described as "middleware" because they sit between the base blockchain layer and end-user applications. However, not all middleware is an AVS, and not all AVS protocols serve a middleware function.

Frequently asked questions

What is the relationship between AVS and restaking?

Restaking provides the economic security mechanism; AVS defines the service that uses it. A restaking framework allows validators to opt in to securing specific AVS protocols by extending their staked capital. In return, validators earn additional rewards from the AVS for performing its validation duties. The AVS defines what work must be done and what slashing conditions apply; restaking provides the capital and accountability structure.

Can an AVS exist without restaking?

Conceptually, yes — any service with active validation and economic penalties qualifies. However, the practical advantage of the AVS model comes from combining it with restaking, which solves the security bootstrap problem. Without restaking, each AVS would need to recruit and capitalize its own validator set from scratch.

Why would a crypto AI project use an AVS instead of a traditional oracle?

An oracle delivers external data to a blockchain. An AVS can perform a broader range of active validation tasks, including but not limited to data delivery. For an AI project that needs validators to verify inference results, monitor model performance, coordinate compute tasks, or enforce quality standards, an AVS provides a more general and customizable framework than a standard oracle. The AVS model also allows for more complex slashing conditions tailored to AI-specific misbehaviors.

External references

See also