MCPcopy Create free account
hub / github.com/akash-network/provider

github.com/akash-network/provider

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.16.7 ↗ · + Follow · compare 7 versions
4,207 symbols 15,784 edges 433 files 1,481 documented · 35% ● updated 48d agov0.16.5-rc0 · 2026-10-01★ 181

Browse by type

⨍ Functions 3,441◇ Types & classes 766
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Akash Provider Daemon

tests

The Akash Provider is a critical component of the Akash Network, responsible for offering compute resources to the decentralized marketplace. It handles the entire lifecycle of resource bidding, deployment management, and workload orchestration on Kubernetes clusters. For a deeper understanding of the code base Ask DeepWiki

This folder contains the Akash Provider Daemon. This piece of software listens to events emitted from the Akash blockchain (code in ../app/app.go) and takes actions on a connected Kubernetes cluster to provision compute capacity based on the bids that the configured provider key wins. The following are the pieces of the daemon:

Development environment

This doc guides through setting up local development environment

Logging

Logging options, defaults and the log key dictionary are described in _docs/logging.md.

Structure

bidengine

The bid engine queries for any existing orders on chain, and based on the on-chain provider configuration, places bids on behalf of the configured provider based on configured selling prices for resources. The daemon listens for changes in the configuration so users can use automation tooling to dynamically change the prices they are charging w/o restarting the daemon. You can see the key management code for provider tx signing in cmd/run.go.

cluster

The cluster package contains the necessary code for interacting with clusters of compute that a provider is offering on the open marketplace to deploy orders on behalf of users creating deployments based on manifests. Right now only kubernetes is supported as a backend, but providers could easily implement other cluster management solutions such as OpenStack, VMWare, OpenShift, etc...

cmd

The cobra command line utility that wraps the rest of the code here and is buildable.

event

Declares the pubsub events that the provider needs to take action on won leases and received manifests.

gateway

Contains hanlder code for the rest server exposed by the provider

manifest

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 2,056
Function 1,385
Struct 589
Interface 121
TypeAlias 41
FuncType 14
Class 1

Languages

Go100%
Python1%
C1%

Modules by API surface

mocks/cluster/Client_mock.go156 symbols
pkg/apis/akash.network/v2beta2/zz_generated.deepcopy.go104 symbols
mocks/cluster/ReadClient_mock.go70 symbols
mocks/cluster/Service_mock.go64 symbols
cluster/client.go64 symbols
balance_checker_test.go55 symbols
cluster/types/v1beta3/types.go47 symbols
mocks/cluster/types/Reservation_mock.go46 symbols
mocks/cluster/kube/operators/clients/metallb/Client_mock.go46 symbols
tools/certissuer/storage.go41 symbols
mocks/client/Client_mock.go40 symbols
cluster/service.go37 symbols

Dependencies from manifests, versioned

al.essio.dev/pkg/shellescapev1.5.1 · 1×
cel.dev/exprv0.24.0 · 1×
cloud.google.com/gov0.120.0 · 1×
cloud.google.com/go/authv0.16.5 · 1×
cloud.google.com/go/auth/oauth2adaptv0.2.8 · 1×
cloud.google.com/go/compute/metadatav0.8.0 · 1×
cloud.google.com/go/monitoringv1.24.2 · 1×
cloud.google.com/go/storagev1.50.0 · 1×
cosmossdk.io/apiv0.9.2 · 1×
cosmossdk.io/collectionsv1.3.1 · 1×
cosmossdk.io/corev0.11.3 · 1×

For agents

$ claude mcp add provider \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page