How to Deploy Paperclip on Akash: Self-Host Your AI Agent Teams
What is Paperclip?
Paperclip is an open-source platform for orchestrating AI agents. It provides shared memory, tool access, and workflow management in a single interface.
This guide covers deploying Paperclip on Akash Network — a decentralized cloud platform.
Paperclip Capabilities
Paperclip provides an orchestration interface for AI agents with the following features:
- Agent personas: Define distinct roles with specific system prompts and behaviors
- Tool assignment: Grant agents access to web search, code execution, database queries, and custom functions
- Workflow chains: Configure agents to pass outputs to other agents in sequence or in parallel
- Shared memory: Agents access a common state store for context persistence across interactions
Supported Use Cases
Paperclip supports multiple agent collaboration patterns:
| Pattern | Description | Example Workflow |
|---|---|---|
| Autonomous Coding Teams | Multi-agent software development | Product Manager agent writes spec → Developer agent writes code → QA agent reviews |
| Research & Analysis Squads | Web scraping and report synthesis | Agents scrape sources → synthesize findings → format reports for stakeholders |
| Customer Support Swarms | Tiered support with escalation | Tier-1 agents handle routine queries → escalate complex issues to Senior Support agent |
| Content Pipelines | Automated content production | Agents monitor news sources → draft articles → push to CMS for human review |
Supported Agents
Paperclip orchestrates agents that process prompts or API calls:
| Agent / Tool | Primary Function | Best For (Target Persona) |
|---|---|---|
| Claude Code | General coding, architecture | CTO, Senior Developer |
| Codex | Code generation, refactoring | Backend Engineer |
| Cursor | IDE-based development | Frontend Developer |
| Gemini CLI | Multi-modal tasks | Content Creator |
| Hermes | Advanced reasoning | Strategy Consultant |
| OpenCode | Open-source CLI, multi-provider coding | Indie Developer, Open-source Contributor |
| Pi | Conversational AI, emotional intelligence | Customer Success, HR Specialist |
| Grok Build | Real-time agent building, X integration | Social Media Analyst, Trend Researcher |
Cost Comparison
Check the Usage Pricing Calculator to see the approximate difference.
| Provider | Est. Monthly Cost | Pros | Cons |
|---|---|---|---|
| Akash Network | $5.64 | Lowest cost, decentralized compute. | Requires SDL configuration. |
| AWS | $8.26 | Enterprise infrastructure, mature ecosystem. | Higher cost, complex networking. |
| GCP | $6.85 | Enterprise infrastructure, AI/ML integrations. | Higher cost, complex IAM. |
| Azure | $7.32 | Enterprise infrastructure, corporate integration. | Higher cost, complex management portal. |
Deployment Steps
Prerequisites
- Akash Console Air account with pre-minted ACT tokens OR Akash Console if you want to buy credits without crypto.
- LLM API keys (OpenAI, Anthropic, or compatible provider). AkashML works perfectly with Claude Code adapter.
Step 1: Configure the SDL
The SDL defines compute, storage, and networking. Access the Paperclip template from Akash Console or use this base configuration:
---version: "2.0"services: server: image: ghcr.io/paperclipai/paperclip:sha-6a4e2e1 expose: - port: 3100 as: 80 to: - global: true env: - DATABASE_URL=postgresql://paperclip:paperclip@db:5432/paperclip - PORT=3100 - SERVE_UI=true - PAPERCLIP_DEPLOYMENT_MODE=authenticated - PAPERCLIP_DEPLOYMENT_EXPOSURE=private - PAPERCLIP_PUBLIC_URL=http://provider.akash.com - BETTER_AUTH_SECRET=3e3d4cfd927be0b953e28879b76a811359f8cba18cc40f7f5ae48d6466203cb9 - ANTHROPIC_BASE_URL=https://api.akashml.com/anthropic - ANTHROPIC_AUTH_TOKEN=akml-... - ANTHROPIC_MODEL=openai/gpt-oss-120b - API_TIMEOUT_MS=3000000 params: storage: paperclip-data: mount: /var/lib/postgresql/data readOnly: false db: image: postgres:15-alpine expose: - port: 5432 as: 5432 to: - service: server env: - POSTGRES_USER=paperclip - POSTGRES_PASSWORD=paperclip - POSTGRES_DB=paperclip - PGDATA=/var/lib/postgresql/data/pgdata params: storage: pgdata: mount: /var/lib/postgresql/data readOnly: falseprofiles: compute: server: resources: cpu: units: 1 memory: size: 1gi storage: - size: 1Gi - name: paperclip-data size: 10Gi attributes: persistent: true class: beta3 db: resources: cpu: units: 1 memory: size: 512Mi storage: - size: 1Gi - name: pgdata size: 10Gi attributes: persistent: true class: beta3 placement: dcloud: pricing: server: denom: uact amount: 100000 db: denom: uact amount: 100000deployment: server: dcloud: profile: server count: 1 db: dcloud: profile: db count: 1Step 2: Set Environment Variables
Add the following variables via the Console UI:
DATABASE_URL— Database connection URL.PAPERCLIP_PUBLIC_URL— Temporary placeholder. Will be replaced with actual URL after deployment. Without this, the UI is unavailable.ANTHROPIC_BASE_URL— Endpoint for Claude Code adapter. AkashML in this case.ANTHROPIC_AUTH_TOKEN— API key for accessing our endpoint.ANTHROPIC_MODEL— Model that will be used by default.
Read more about environment variables at Paperclip Docs and AkashML Docs.
Step 3: Deploy
- Click Create Deployment
- Fund the lease to start deployment
- Select provider bid from Akash marketplace
Step 4: Update Public URL
The application requires its public URL for webhook callbacks and external tool integration.
- Navigate to active deployment in Console
- Copy generated endpoint URL (format without IP port:
http://provider.akash.com) from Leases tab
- Update deployment, replace
PAPERCLIP_PUBLIC_URLwith copied URL - Click
Update Deploymentand wait for container restart
Step 5: Access Interface
After deployment completes, access Paperclip via the endpoint URL. The dashboard provides:
- Agent team creation
- Tool and model assignment
- Real-time execution logs
The first time you open the application, you will be asked to register using email (without confirmation). Let’s choose Claude Code (endpoint is set to AkashML) and make our first agent’s heart beat.
Set goals, plans, and tasks for agents and monitor their actions.
The standard prompt creates a new engineer agent, by default it uses the Claude Code adapter.
If ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN environment variables are set, no agent configuration is required; by default, the Claude adapter will use our own provider (https://api.akashml.com/anthropic) and the openai/gpt-oss-120b model.
Conclusion
Paperclip on Akash Network provides self-hosted AI agent orchestration with persistent storage, public endpoints, and cost efficiency. This way offers the lowest cost and maximum privacy.