Skip to content

Ecosystem

aleksandr.artamokhov edited this page May 24, 2026 · 1 revision

AICOM ecosystem — role of AI-Factory

The AICOM monorepo is not only a self-hosted code generator. It is a supply-side factory inside a federated AIMarket stack: ship products on your server, expose them as machine-readable capabilities, list them on a hub, and let desktop apps, widgets, and autonomous agents discover, pay, and invoke them.

Deep reference (Mermaid, C4, deployment): docs/ecosystem-architecture.md · aimarket-protocol/ecosystem.md · interactive viewer: aimarket-protocol/ecosystem-viewer.html


Two planes

Plane What it does Public face
AI-Factory (this repo core) Multi-agent pipeline turns ideas into shippable web products (landing or full stack), runs storefront + admin, owns keys and gates magic-ai-factory.com · :9080 self-host
AIMarket (same monorepo) Federation hub indexes capabilities, routes invoke, runs plugins (safety, escrow, reputation), settles on-chain modelmarket.dev · Hub :9083

Factory = producer. Hub = marketplace router. Desktop SKUs, embed widget, and aimarket_agent SDK are consumers.


Where AI-Factory sits (one picture)

flowchart TB
  subgraph factory["AI-Factory · magic-ai-factory.com"]
    IDEA["Idea / Discovery"]
    PIPE["13-agent pipeline + QA gates"]
    ART["Artifacts · pipeline.db · sandbox"]
    STORE["Storefront + crypto checkout"]
    WELL["/.well-known/ai-market.json"]
    GW["Protocol gateway v1<br/>402 · MCP · invoke"]
    IDEA --> PIPE --> ART
    ART --> STORE
    ART --> WELL
    ART --> GW
  end

  subgraph hub["AIMarket Hub · modelmarket.dev"]
    BRIDGE["factory_bridge · auto_listing"]
    IDX["Capability index"]
    SRCH["/ai-market/v2/search"]
    INV["/ai-market/v2/invoke"]
    PLG["15× aimarket-* plugins"]
    BRIDGE --> IDX --> SRCH
    SRCH --> INV
    INV --> PLG
  end

  subgraph clients["Consumers"]
    DSK["8× Flutter desktop apps"]
    WGT["aimarket-widget"]
    AGT["aimarket_agent SDK / external AI"]
  end

  WELL -->|"federation seed"| BRIDGE
  ART -->|"sync_pipeline_mirror_and_hub.py"| BRIDGE
  DSK --> SRCH
  WGT --> INV
  AGT --> INV
Loading

Ops sync: scripts/sync_pipeline_mirror_and_hub.py · Loader: aimarket_hub/factory_bridge.py


Factory responsibilities (what only AI-Factory does)

  1. Intake — guest phrase on storefront, admin New product, CLI create-idea, or Director discovery batch.
  2. Build — deterministic pipeline (Analyst → PM → Methodologist → Architect → Developer → QA → Security → DevOps → Marketing → Sales → Evolution). Artifacts on disk under data/.
  3. Quality — demo smoke, E2E, security scan, methodologist domain packs, human review gate, configurable repair loops (AIFACTORY_MAX_QUALITY_LOOPS).
  4. Ship to humans — storefront listing policy, sandbox preview, USDT/USDC checkout, marketing copy curation in admin.
  5. Ship to machines — each completed product can expose JSON Schema capabilities + /.well-known/ai-market.json; gateway serves HTTP 402, channels, MCP-style manifest (v1 on factory host; Protocol v2 normative spec in aimarket-protocol/spec.md).
  6. Operate — JWT admin, RBAC, LLM routing, Live Monitor, Director reports, audit logs — you own the stack.

Hub does not replace the factory. Hub indexes, verifies, routes, and settles what the factory (and peer hubs) publish.


Killer feature — Auto-Mesh Pipeline

The factory can compose other marketplace agents into a new product without hand-wiring APIs: discover on hub → open USDT channel → invoke sequence → pass QA → sync listing.

Why it matters Every shipped SKU becomes capability fodder for the next run — network effect inside the monorepo.
Deep dive docs/killer-feature-auto-mesh-pipeline.md · docs/killer-features.md

Other ecosystem anchors: Hub Zero-Trust Discovery, plugins TEE Escrow, widget 1-Click Embed — same killer-features doc.


Monorepo map (packages)

Package Path Role
AI-Factory web/ · agents/ · orchestrator/ · pipeline_worker.py Pipeline, storefront, admin, protocol gateway
AIMarket Hub aimarket-hub/ Search, invoke, federation, plugin registry
Protocol v2 aimarket-protocol/ Normative spec, schemas, ecosystem diagrams
Hub plugins plugins/ (15 pip packages) Safety, channels, TEE, reputation, orchestrator, …
Desktop SKUs desktop-integrations/ (8 Flutter apps) Paid consumers on hub (finance, interview, prospector, …)
SDKs aimarket-sdks/ Dart / TS / Rust clients
Widget aimarket-widget/ Embeddable search + invoke
Contracts contracts/ EVM + Solana settlement
ACEX acex/ Agent listing · CapShares · Pulse Terminal

Typical production split

Host Service Port
Factory VPS AI-Factory Compose 9080 (UI) · 9081 (API direct)
Same or peer VPS AIMarket Hub 9083 → internal 9080

Guide: docs/production-modelmarket-dev.md


Personas

Persona Primary surface Goal
Factory operator Admin /admin, CLI, wiki Owner-Guide Run pipeline, curate storefront, wire LLMs
Capability builder Admin + hub listing Price and attest tools for agents
End user Storefront, desktop app, widget Buy or invoke capabilities
Autonomous agent cli/ai_market_agent.py, MCP Discover → pay → invoke without UI

Related wiki pages

Clone this wiki locally