technical-vision

Type: pitch
Tags: amigostechnicalarchitecturevmtoolingbrainstorming
Created: Thu Oct 30 2025 00:00:00 GMT+0000 (Coordinated Universal Time)

Amigos Technical Vision

๐Ÿ”ฎ The Dream vs MVP Matrix

The Amigos VM

๐ŸŒŸ Long-Term Dream

โœ… Good V1/MVP

๐Ÿ”ฌ Technical Innovations

// This is what we're enabling:
import (
    "hub.amigos.dev/social/forum"
    "hub.amigos.dev/identity/ens"
    "hub.amigos.dev/storage/ipfs"
)

func CreatePost(title string) error {
    author := ens.Resolve(msg.Sender)
    post := forum.NewPost(title, author)
    post.Storage = ipfs.Pin
    return post.Publish()
}

The Tooling Suite

๐ŸŒŸ Long-Term Dream

โœ… Good V1/MVP

๐Ÿ› ๏ธ Developer Experience Goals

  1. Zero to Deploy in 5 Minutes: Not 5 days
  2. Readable URLs: hub.amigos.dev/social/twitter not 0xaBc123...
  3. p/amigos/testable-documentation|Testable Documentation: Every snippet runs, every example works
  4. Composable UI: Import UI components like logic

The Network Architecture

๐ŸŒŸ Long-Term Dream

โœ… Good V1/MVP

The Apps Ecosystem

๐ŸŒŸ Long-Term Dream

Decentralized Knowledge:

Decentralized Social:

Decentralized Gaming:

Decentralized Business:

โœ… Good V1/MVP

Internal Dogfooding First:

Then Public Basics:

๐Ÿ—๏ธ Architecture Decisions

Why Go?

Why Blockchain-Optional?

Why Import-Based Composition?

๐Ÿงช Technical Challenges & Solutions

Challenge: State Management Across Imports

Solution: Copy-on-Write (COW) hierarchical state trees

// Each import gets its own state namespace
state := amigos.State()
forumState := state.For("hub.amigos.dev/forum")
userPosts := forumState.Get("users").Get(userID).Get("posts")

// COW ensures efficient storage - only deltas stored
// Every state change creates a lightweight snapshot
// Natural git-like versioning for all state

Challenge: Deterministic External Calls

Solution: Oracle system with consensus

// External data requires oracle consensus
price := oracle.Fetch("ETH/USD", 
    oracles.Chainlink,
    oracles.Band,
    oracles.Uma,
).Median()

Challenge: Upgrade Coordination

Solution: Semantic versioning with compatibility rules

import "hub.amigos.dev/token@v2"
// Automatically uses v2 if compatible, warns if breaking

๐Ÿ’ก Unique Differentiators

1. Import Economy

Unlike Ethereum where you copy code, in Amigos you import live services. The original developer benefits from usage.

2. State Portability

Fork a service WITH its state. Users can migrate to better implementations without losing data.

3. Execution Transparency

Not just โ€œview sourceโ€ but โ€œview executionโ€. See exactly how any result was computed.

4. Progressive Decentralization

Start with a simple hosted version, gradually add blockchain properties as needed.

๐ŸŽฏ Success Metrics

Technical Goals

Ecosystem Goals

๐Ÿšง Open Technical Questions

  1. Import Security: How to sandbox imported code while maintaining performance?
  2. State Migration: How to handle breaking changes in stateful services?
  3. Cross-Chain Imports: Solved by p/amigos/internode-protocol|internode protocol
  4. Privacy: How to enable private state in a transparent system?
  5. Incentive Alignment: How to reward infrastructure providers fairly?
  6. Governance: How to upgrade core protocol without hard forks?

๐Ÿ”ฌ Research Directions

๐Ÿ“š Technical Inspirations

See also

โ† Back to Knowledge Base