Skip to content

Alternate FuturesDePIN Platform Documentation BETA

Deploy AI agents and static sites to decentralized infrastructure

Installation

bash
npm install -g @alternatefutures/cli
af login
bash
npm install @alternatefutures/sdk

Example Usage

bash
# Deploy a site to IPFS
af sites deploy --dir ./dist --network ipfs

# Create an AI agent
af agents create --name "Crypto Guru" --type eliza
typescript
import { AlternateFutures } from '@alternatefutures/sdk';

const af = new AlternateFutures({ apiKey: process.env.AF_API_KEY });

// Deploy a site
const deployment = await af.sites.deploy({
  name: 'My Site',
  network: 'ipfs',
  directory: './dist'
});

// Create an agent
const agent = await af.agents.create({
  name: 'Crypto Guru',
  type: 'eliza'
});

Released under the MIT License.