Skip to content

InnerAura/hyperweave

Repository files navigation

HyperWeave

Portable visual output layer for agents.
One API call, one SVG. No JavaScript. Works everywhere.

strip


The Problem

When an agent needs to produce something visual, it generates React, HTML, or pixels: a status card, a dashboard, a receipt of its work, locked in the environment that made it. Embed it in markdown or pass it to another agent and it breaks or loses context. There's no portable visual primitive for agents.

HyperWeave is that primitive. One API call returns a self-contained SVG with data binding, branding, and machine-readable metadata baked in. No JavaScript, no dependencies, no runtime. It renders in GitHub READMEs, Slack, Notion, docs, your site, email, VS Code, or terminal. Every surface that renders an <img> tag is a HyperWeave surface.

Visual output formats for AI agents: SVG vs Markdown vs HTML across portability, agent-readable metadata, visual fidelity, token efficiency, and zero dependencies

View as table
FORMAT Portability Agent-Readable Metadata Visual Fidelity Token Efficiency Zero Dependencies SCORE
SVG ~ 4.5
MARKDOWN ~ ~ 3
HTML ~ 2.5

Agentic Artifacts

Every AI coding session produces a receipt: cost, tokens, tool distribution, session rhythm. One install, fully automatic.

hyperweave install-hook

session receipt — voltage livery showing 262M tokens, 562 calls, 52 stages, divergence flag

262M tokens · 562 calls · 52 stages · $175 · voltage

session rhythm strip — same session data at 92px tall

Rhythm strip · the same session data at 92px tall

session receipt — claude-code livery on warm paper substrate

Same data, different livery · claude-code

session receipt — codex agent transcript auto-detected from JSONL shape

Codex transcripts auto-detect from the JSONL shape

The livery matches the agent that produced the session:

Agent Livery
Claude Code claude-code
Codex codex
voltage
cream

Auto-detected from the session transcript. Pin a different default with hyperweave install-hook --genome voltage.


Matrices - Generative Tables

HyperWeave matrices are structured tables rendered as portable SVGs. A single JSON description can produce comparison grids, registries, tiers, benchmark tables, numeric heatmaps, chips, glyphs, bars, and status maps, while carrying a machine-readable payload for agents.

comparison matrix: how GitHub, VS Code, Slack, Gmail, and AI agents each ingest the same SVG

One frame, every table · generated, not drawn

View as table
READER PIXELS MOTION READS VIA
GitHub README github Yes camo, css animation
VS Code preview vscode Yes markdown preview
Slack unfurl slack ~ image proxy
Gmail body gmail ~ img tag
Agent mcp hw:payload, hwz/1, markdown twin

Inside that SVG, alongside the pixels — two tiers, two jobs:

recreate & modify — the complete table IR

<hw:payload schema="matrix/1" media-type="application/json">
{
  "title": "One artifact. Many readers.",
  "subtitle": "how each consumer ingests the same SVG",
  "columns": [
    { "id": "reader", "label": "READER",    "kind": "text",  "align": "left",   "role": "label" },
    { "id": "mark",   "label": "",          "kind": "glyph", "align": "center", "glyph_tint": "full" },
    { "id": "pixels", "label": "PIXELS",    "kind": "check", "align": "center" },
    { "id": "motion", "label": "MOTION",    "kind": "pill",  "align": "center" },
    { "id": "via",    "label": "READS VIA", "kind": "chip",  "align": "left" }
  ],
  "rows": [
    { "label": "GitHub README", "cells": [{ "glyph": "github" }, { "state": "full" }, { "state": "on" }, { "chips": ["camo", "css animation"] }] }
    <!-- … 4 more rows · lossless -->
  ]
}
</hw:payload>

read at a budget — ≈200 tokens to know what an artifact is

<hw:envelope format="hwz/1" media-type="application/json">
{
  "v": "hwz/1",
  "id": "sha256:0077750046fc2780fa4ba19fcd884fcf39f54632306d8c3d2d97f0b7cbf2df47",
  "k": "matrix",
  "title": "One artifact. Many readers.",
  "intent": "structured comparison: One artifact. Many readers.",
  "state": "active",
  "data": {
    "subvariant": "registry",
    "cols": ["mark", "pixels", "motion", "via"],
    "rows": {
      "GitHub README": "github",
      "VS Code preview": "vscode",
      "Slack unfurl": "slack",
      "Gmail body": "gmail",
      "Agent": "mcp"
    },
    "rows_total": 5
  },
  "frames": [{ "t": "matrix", "l": "One artifact. Many readers." }],
  "prov": { "by": "hyperweave", "ver": "0.4.0a2", "genome": "primer.porcelain", "ts": "2026-06-11T15:51:03.185542+00:00" }
}
</hw:envelope>

The envelope is the lossy digest; only the payload round-trips.

  • The round-trip: extract hw:payload, edit the JSON, POST /v1/compose with it as matrix: byte-identical re-render. The envelope's id is the sha256 of the payload, so an agent verifies "this artifact really is this data" before trusting either.
  • The look is a pointer, not a copy: prov.genome: "primer.porcelain" names the aesthetics; payload + that one string is the entire recreation recipe.
  • Markdown twin: every matrix has a GFM projection. --markdown-out on the CLI, respond:"json" over HTTP, render_target="markdown" over MCP.
# Connectors preset
https://hyperweave.app/v1/matrix/connectors/primer.static?variant=porcelain

# Any table, one URL: base64url MatrixSpec JSON (8 KB cap)
https://hyperweave.app/v1/matrix/custom/primer.static?spec=<base64url>

# CLI, with the markdown twin alongside
hyperweave compose matrix --spec-file table.json -g primer --variant porcelain --markdown-out table.md

Another matrice configuration for visualizing benchmarks:

Frontier vs open-weights models compared on SWE-bench Verified coding score against input and output token price, June 2026

View as table
MODEL SWE-bench Verified INPUT (per Mtok) OUTPUT (per Mtok)
FRONTIER · CLOSED WEIGHTS
Claude Fable 5 anthropic 95 % $10 $50
Claude Opus 4.8 anthropic 88.6 % $5 $25
GPT-5.5 openai 82.6 % $5 $30
Gemini 3.1 Pro gemini 80.6 % $2 $12
OPEN WEIGHTS
DeepSeek V4-Pro deepseek 80.6 % $0.44 $0.87
Kimi K2.6 kimi 80.2 % $0.95 $4
GLM-5 zai 77.8 % $1 $3.2
Mistral Medium 3.5 mistral 77.6 % $1.5 $7.5

SWE-bench Verified % · USD per Mtok · current flagships, jun 2026 · sources: vals.ai · artificialanalysis.ai · model cards


Diagrams - Topologies & Motion

HyperWeave diagrams are topology graphs (pipelines, fan-outs, hub-and-spoke, DAGs, sequences, state machines) rendered as portable SVGs. Like matrices, each carries the full payload / envelope / markdown projection set, so an agent reads the structure, not the pixels. Direction is carried by motion.

One artifact, every surface: a self-contained HyperWeave SVG fans out to GitHub, Obsidian, Slack, email, and agent context

One artifact, every surface · the fan-out topology

Compose this inline
hyperweave compose diagram --spec-file /dev/stdin -g primer --variant porcelain --chrome bare -o one-artifact.svg <<'JSON'
{
  "topology": "fanout",
  "title": "One Artifact, Every Surface",
  "subtitle": "a self-contained SVG renders wherever markdown does",
  "notes": "every surface",
  "glyph_tint": "full",
  "nodes": [
    {
      "label": "HyperWeave SVG",
      "desc": "self-contained · portable",
      "role": "hero",
      "glyph": "hyperweave",
      "style": "card+glyph"
    },
    {
      "label": "GitHub",
      "desc": "README · Issues · PRs",
      "glyph": "github",
      "style": "card+glyph"
    },
    {
      "label": "Obsidian",
      "desc": "vault · daily notes",
      "glyph": "obsidian",
      "style": "card+glyph"
    },
    {
      "label": "Slack",
      "desc": "threads · unfurled",
      "glyph": "slack",
      "style": "card+glyph"
    },
    {
      "label": "Email",
      "desc": "inline · PDF export",
      "glyph": "gmail",
      "style": "card+glyph"
    },
    {
      "label": "Agent Context",
      "desc": "hw:reasoning parsed",
      "glyph": "anthropic",
      "style": "card+glyph"
    }
  ]
}
JSON

Frontier serving DAG: requests through OpenRouter to Anthropic, OpenAI, and Gemini, shared Redis KV cache, Grafana metrics on a telemetry skip edge

Frontier serving · layered DAG with a telemetry skip edge

Compose this inline
hyperweave compose diagram --spec-file /dev/stdin -g primer --variant cream --chrome bare -o frontier-serving.svg <<'JSON'
{
  "topology": "dag",
  "title": "Frontier Serving",
  "subtitle": "one key to three frontier labs, shared KV, telemetry skips the ranks",
  "notes": "frontier serving",
  "glyph_tint": "full",
  "nodes": [
    {
      "id": "req",
      "label": "requests",
      "desc": "clients"
    },
    {
      "id": "router",
      "label": "OpenRouter",
      "desc": "one key",
      "glyph": "openrouter",
      "style": "card+glyph"
    },
    {
      "id": "anthropic",
      "label": "Anthropic",
      "glyph": "anthropic",
      "style": "card+glyph"
    },
    {
      "id": "openai",
      "label": "OpenAI",
      "glyph": "openai",
      "style": "card+glyph"
    },
    {
      "id": "gemini",
      "label": "Gemini",
      "glyph": "gemini",
      "style": "card+glyph"
    },
    {
      "id": "kv",
      "label": "kv-cache",
      "desc": "redis",
      "glyph": "redis",
      "style": "card+glyph"
    },
    {
      "id": "obs",
      "label": "metrics",
      "desc": "grafana",
      "glyph": "grafana",
      "style": "card+glyph"
    }
  ],
  "edges": [
    {
      "source": "req",
      "target": "router"
    },
    {
      "source": "router",
      "target": "anthropic"
    },
    {
      "source": "router",
      "target": "openai"
    },
    {
      "source": "router",
      "target": "gemini"
    },
    {
      "source": "anthropic",
      "target": "kv"
    },
    {
      "source": "openai",
      "target": "kv"
    },
    {
      "source": "gemini",
      "target": "obs"
    },
    {
      "source": "router",
      "target": "obs"
    }
  ]
}
JSON

MCP gateway: Claude Code host to hyperweave MCP server through an MCP gateway, request and response as two lanes

MCP gateway · host → gateway → server, request and response as two lanes

Compose this inline
hyperweave compose diagram --spec-file /dev/stdin -g primer --variant porcelain --chrome bare -o mcp-gateway.svg <<'JSON'
{
  "topology": "pipeline",
  "title": "MCP Gateway",
  "subtitle": "host → gateway → server · request and response as two lanes",
  "notes": "mcp gateway",
  "edge_motion": "dash",
  "glyph_tint": "full",
  "nodes": [
    {
      "id": "host",
      "label": "Claude Code",
      "desc": "MCP host",
      "glyph": "claudecode",
      "style": "card+glyph"
    },
    {
      "id": "gw",
      "label": "MCP gateway",
      "glyph": "mcp",
      "role": "hero",
      "style": "card+glyph"
    },
    {
      "id": "server",
      "label": "hyperweave",
      "desc": "MCP server",
      "glyph": "hyperweave",
      "style": "card+glyph"
    }
  ],
  "edges": [
    {
      "source": "host",
      "target": "gw",
      "direction": "both"
    },
    {
      "source": "gw",
      "target": "server",
      "direction": "both"
    }
  ]
}
JSON

Frontier handoff: one task relayed across GPT, Claude, Gemini, and Ollama as a beam comet

Frontier handoff · beam relay across four labs

Compose this inline
hyperweave compose diagram --spec-file /dev/stdin -g primer --variant noir --chrome bare -o frontier-handoff.svg <<'JSON'
{
  "topology": "pipeline",
  "title": "Frontier Handoff",
  "subtitle": "one task relayed across four labs, the comet is the payload",
  "notes": "frontier handoff",
  "edge_motion": "beam",
  "node_style": "glyph-circle",
  "glyph_tint": "full",
  "nodes": [
    {
      "label": "GPT",
      "glyph": "openai"
    },
    {
      "label": "Claude",
      "glyph": "anthropic",
      "role": "hero"
    },
    {
      "label": "Gemini",
      "glyph": "gemini"
    },
    {
      "label": "Ollama",
      "glyph": "ollama"
    }
  ]
}
JSON

Genomes - Aesthetic DNA

A genome is a portable, machine-readable aesthetic specification. It encodes the complete visual identity (chromatic system, surface material, motion vocabulary, geometric form language) as a set of CSS custom properties that any agent can consume and apply consistently across every artifact type.

Four built-in genomes ship today. Custom genome generation via AI skill files coming soon.

brutalist · automata · chrome · primer

brutalist

PYPI — celadon variant PYPI — alloy variant PYPI — carbon variant PYPI — pigment variant PYPI — umber variant PYPI — ember variant PYPI — temper variant
PYPI — onyx variant PYPI — primer variant PYPI — depth variant PYPI — pulse variant PYPI — archive variant PYPI — signal variant PYPI — afterimage variant

22 variants · 8 dark: celadon · alloy · carbon · pigment · umber · ember · temper · onyx
14 light (6 shown): primer · depth · pulse · archive · signal · afterimage

Signals
state machine
passing warning critical
  • /v1/badge/{title}/{value}/{genome}.static?state={state}&variant={celadon|carbon|alloy|temper|pigment|ember|umber|onyx|archive|signal|pulse|depth|afterimage|primer}
  • hyperweave.app/v1/badge/BUILD/passing/brutalist.static?state=passing&variant=celadon
Dashboard
strip
strip
  • /v1/strip/{title}/{genome}.static?data={tokens}&subtitle={text}&glyph={glyph}&variant={variant}
  • hyperweave.app/v1/strip/hyperweave/brutalist.static?data=gh:InnerAura/hyperweave.stars,pypi:hyperweave.version,gh:InnerAura/hyperweave.build&subtitle=InnerAura/hyperweave&glyph=github&variant=celadon
Profile
stats card
stats — pulse (light)
stats — celadon (dark)
  • /v1/stats/{username}/{genome}.static?variant={variant}
  • hyperweave.app/v1/stats/eli64s/brutalist.static?variant=pulse
Star Chart
star history
star chart
  • /v1/chart/stars/{owner}/{repo}/{genome}.static?variant={variant}
  • hyperweave.app/v1/chart/stars/eli64s/readme-ai/brutalist.static?variant=celadon
Marquee
horizontal ticker
marquee
  • /v1/marquee/{title}/{genome}.static?data={tokens}&variant={variant}
  • hyperweave.app/v1/marquee/readme-ai/brutalist.static?data=gh:eli64s/readme-ai.stars,gh:eli64s/readme-ai.forks,gh:eli64s/readme-ai.contributors,gh:eli64s/readme-ai.watchers,pypi:readmeai.downloads,gh:eli64s/readme-ai.last_push,gh:eli64s/readme-ai.pull_requests,gh:eli64s/readme-ai.issues,gh:eli64s/readme-ai.build,pypi:readmeai.version,gh:eli64s/readme-ai.language&variant=celadon
Icons
circle + square
spotify — celadon docker — alloy github — carbon discord — pigment rust — umber anthropic — ember codex — temper hyperweave — onyx
  • /v1/icon/{glyph}/{genome}.static?shape={circle|square}&variant={variant}
  • hyperweave.app/v1/icon/github/brutalist.static?shape=circle&variant=celadon
Divider
seam · sigil
brutalist seam divider (dark)
brutalist sigil divider (light)
  • /v1/divider/{seam|sigil}/{genome}.static?variant={variant}
  • hyperweave.app/v1/divider/sigil/brutalist.static?variant=pulse

automata

PYPI — crimson variant PYPI — copper variant PYPI — bone variant PYPI — solar variant PYPI — amber variant PYPI — sulfur variant PYPI — toxic variant PYPI — jade variant
PYPI — abyssal variant PYPI — teal variant PYPI — steel variant PYPI — cobalt variant PYPI — indigo variant PYPI — violet variant PYPI — magenta variant PYPI — burgundy variant

16 tones · crimson · copper · bone · solar · amber · sulfur · toxic · jade
abyssal · teal · steel · cobalt · indigo · violet · magenta · burgundy
pair any two via ?variant=primary&pair=secondary

Signals
state machine
passing warning critical
  • /v1/badge/{title}/{value}/{genome}.static?state={state}
  • hyperweave.app/v1/badge/BUILD/passing/automata.static?state=passing&variant=bone
Dashboard
strip
strip
  • /v1/strip/{title}/automata.static?data={tokens}&variant={tone}&pair={tone}&subtitle={text}&glyph={glyph}
  • hyperweave.app/v1/strip/readme-ai/automata.static?data=gh:eli64s/readme-ai.stars,gh:eli64s/readme-ai.forks,pypi:readmeai.version&subtitle=eli64s/readme-ai&variant=bone&pair=steel&glyph=github
Profile
stats card
stats
  • /v1/stats/{username}/{genome}.static?variant={tone}
  • hyperweave.app/v1/stats/eli64s/automata.static?variant=bone
Star Chart
star history
star chart
  • /v1/chart/stars/{owner}/{repo}/{genome}.static?variant={tone}
  • hyperweave.app/v1/chart/stars/eli64s/readme-ai/automata.static?variant=bone
Marquee
horizontal ticker
marquee
  • /v1/marquee/{title}/automata.static?data={tokens}&variant={tone}
  • hyperweave.app/v1/marquee/readme-ai/automata.static?data=gh:eli64s/readme-ai.stars,gh:eli64s/readme-ai.forks,gh:eli64s/readme-ai.contributors,gh:eli64s/readme-ai.watchers,pypi:readmeai.downloads,gh:eli64s/readme-ai.last_push,gh:eli64s/readme-ai.pull_requests,gh:eli64s/readme-ai.issues,gh:eli64s/readme-ai.build,pypi:readmeai.version,gh:eli64s/readme-ai.language&variant=bone
Icons
square
docker cobalt discord indigo github bone huggingface sulfur anthropic solar youtube crimson spotify jade
  • /v1/icon/{glyph}/automata.static?shape=square&variant={tone}
  • hyperweave.app/v1/icon/docker/automata.static?shape=square&variant=cobalt
Divider
dissolve
automata dissolve divider
  • /v1/divider/dissolve/{genome}.static?variant={tone}&pair={tone}
  • hyperweave.app/v1/divider/dissolve/automata.static?variant=bone&pair=steel

chrome

PYPI — horizon variant PYPI — lightning variant PYPI — abyssal variant PYPI — moth variant PYPI — graphite variant

5 variants: horizon · lightning · abyssal · moth · graphite

Signals
state machine
passing warning critical
  • /v1/badge/{title}/{value}/{genome}.static?state={state}&variant={horizon|lightning|abyssal|moth|graphite}
  • hyperweave.app/v1/badge/BUILD/passing/chrome.static?state=passing&variant=horizon
Dashboard
strip
strip
  • /v1/strip/{title}/{genome}.static?data={tokens}&subtitle={text}&glyph={glyph}&variant={variant}
  • hyperweave.app/v1/strip/readme-ai/chrome.static?data=gh:eli64s/readme-ai.stars,gh:eli64s/readme-ai.forks,pypi:readmeai.version&subtitle=eli64s/readme-ai&glyph=github&variant=horizon
Profile
stats card
stats
  • /v1/stats/{username}/{genome}.static?variant={variant}
  • hyperweave.app/v1/stats/eli64s/chrome.static?variant=horizon
Star Chart
star history
star chart
  • /v1/chart/stars/{owner}/{repo}/{genome}.static?variant={variant}
  • hyperweave.app/v1/chart/stars/eli64s/readme-ai/chrome.static?variant=horizon
Marquee
horizontal ticker
marquee
  • /v1/marquee/{title}/{genome}.static?data={tokens}&variant={variant}
  • hyperweave.app/v1/marquee/readme-ai/chrome.static?data=gh:eli64s/readme-ai.stars,gh:eli64s/readme-ai.forks,gh:eli64s/readme-ai.contributors,gh:eli64s/readme-ai.watchers,pypi:readmeai.downloads,gh:eli64s/readme-ai.last_push,gh:eli64s/readme-ai.pull_requests,gh:eli64s/readme-ai.issues,gh:eli64s/readme-ai.build,pypi:readmeai.version,gh:eli64s/readme-ai.language&variant=horizon
Icons
circle + square
github — horizon notion — graphite rust — moth docker — lightning spotify — abyssal
  • /v1/icon/{glyph}/{genome}.static?shape={circle|square}&variant={variant}
  • hyperweave.app/v1/icon/youtube/chrome.static?shape=circle&variant=horizon
Divider
band
chrome band divider
  • /v1/divider/band/{genome}.static?variant={variant}
  • hyperweave.app/v1/divider/band/chrome.static?variant=horizon

primer

PYPI — porcelain variant PYPI — cream variant PYPI — dusk variant PYPI — petrol variant
PYPI — noir variant PYPI — carbon variant PYPI — space variant PYPI — anvil variant

8 variants · 4 light: porcelain · cream · dusk · petrol
4 dark: noir · carbon · space · anvil

Signals
animated state marks
passing building warning critical
  • ping (passing) · spinner (building) · throb (warning) · shake (critical). One mark system, shared with the strip.
  • /v1/badge/{title}/{value}/primer.static?state={state}&variant={porcelain|cream|dusk|petrol|noir|carbon|space|anvil}
  • hyperweave.app/v1/badge/BUILD/passing/primer.static?state=passing&variant=porcelain
Dashboard
strip
strip
  • /v1/strip/{title}/primer.static?data={tokens}&subtitle={text}&glyph={glyph}&variant={variant}
  • hyperweave.app/v1/strip/readme-ai/primer.static?data=gh:eli64s/readme-ai.stars,gh:eli64s/readme-ai.forks,pypi:readmeai.version&subtitle=eli64s/readme-ai&glyph=github&variant=porcelain
Profile
stats card
stats
  • /v1/stats/{username}/primer.static?variant={variant}
  • hyperweave.app/v1/stats/eli64s/primer.static?variant=porcelain
Star Chart
star history
star chart
  • /v1/chart/stars/{owner}/{repo}/primer.static?variant={variant}
  • hyperweave.app/v1/chart/stars/eli64s/readme-ai/primer.static?variant=porcelain
Marquee
horizontal ticker
marquee
  • /v1/marquee/{title}/primer.static?data={tokens}&variant={variant}
  • hyperweave.app/v1/marquee/readme-ai/primer.static?data=gh:eli64s/readme-ai.stars,gh:eli64s/readme-ai.forks,gh:eli64s/readme-ai.contributors,pypi:readmeai.downloads,gh:eli64s/readme-ai.last_push,pypi:readmeai.version,gh:eli64s/readme-ai.language&variant=porcelain
Icons
circle + square
vercel — noir cloudflare — carbon docker — space github — anvil deepseek — porcelain anthropic — cream ollama — dusk nousresearch — petrol
  • /v1/icon/{glyph}/primer.static?shape={circle|square}&variant={variant}
  • hyperweave.app/v1/icon/github/primer.static?shape=circle&variant=noir
Divider
aura
primer aura divider
  • /v1/divider/aura/primer.static?variant={variant}
  • hyperweave.app/v1/divider/aura/primer.static?variant=porcelain

brutalist automata chrome primer
Aesthetic Raw material Cellular Metallic Minimal
Variants 22 (8 dark, 14 light) 16 tones, any two pair 5 named 8 (4 dark, 4 light)
Motion Animated border SMIL Animated cell grid Animated border SMIL Animated state marks
Divider seam · sigil dissolve band aura

/a/inneraura/dividers/

block
De Stijl composition
block divider
  • /a/inneraura/dividers/{slug}
  • hyperweave.app/a/inneraura/dividers/block
current
animated rainbow bezier
current divider
  • /a/inneraura/dividers/{slug}
  • hyperweave.app/a/inneraura/dividers/current
takeoff
rocket trajectory + thrust
takeoff divider
  • /a/inneraura/dividers/{slug}
  • hyperweave.app/a/inneraura/dividers/takeoff
void
spectral bloom + hover state
void divider
  • /a/inneraura/dividers/{slug}
  • hyperweave.app/a/inneraura/dividers/void
zeropoint
aurora rule + nexus beacon
zeropoint divider
  • /a/inneraura/dividers/{slug}
  • hyperweave.app/a/inneraura/dividers/zeropoint

Error fallback: SMPTE NO SIGNAL

Every broken <img> URL renders the SMPTE RP 219 test pattern with ERR_NNN matching the HTTP status, instead of a browser broken-image icon.

404 error fallback (intentionally broken URL)

  • /v1/badge/{title}/{value}/{unknown-genome}.static
  • hyperweave.app/v1/badge/TEST/value/unknown-genome.static


Install

uv add hyperweave            # CLI + SVG rendering (the base)
uv add 'hyperweave[serve]'   # + HTTP server  (hyperweave serve)
uv add 'hyperweave[mcp]'     # + MCP server   (hyperweave mcp)
uv add 'hyperweave[all]'     # + both servers
# or swap `uv add` for `pip install`

Requires Python 3.12+. The base install is CLI + rendering; the HTTP and MCP servers are optional extras so the core stays lean.


Entry Points

Four interfaces, one pipeline. Every path produces the same artifact through the same compositor.

MCP CLI
HTTP API Python SDK

MCP

{
  "mcpServers": {
    "hyperweave": {
      "command": "hyperweave",
      "args": ["mcp"]
    }
  }
}
# Static badge
hw_compose(type="badge", title="BUILD", value="passing", genome="brutalist")

# Data-driven badge — unified token grammar (gh:owner/repo.metric, pypi:pkg.metric, ...)
hw_compose(type="badge", title="STARS", data="gh:anthropics/claude-code.stars", genome="brutalist")

# Strip with multiple live metrics
hw_compose(type="strip", title="readme-ai",
           data="gh:eli64s/readme-ai.stars,gh:eli64s/readme-ai.forks,pypi:readmeai.version",
           genome="chrome")

# Marquee with mixed text + live tokens
hw_compose(type="marquee-horizontal",
           data="text:NEW RELEASE,gh:anthropics/claude-code.stars,text:DOWNLOAD",
           genome="brutalist")

# Discoverable shortcut for single-metric live badges
hw_live(provider="github", identifier="anthropics/claude-code", metric="stars")

hw_kit(type="readme", genome="brutalist", badges="build:passing")
hw_discover(what="all")

CLI

# Badge
hyperweave compose badge "build" "passing" --genome brutalist

# Strip with metrics
hyperweave compose strip "readme-ai" "STARS:2.9k,FORKS:278" -g brutalist

# Live data through the unified --data token grammar
hyperweave compose badge "STARS" --data 'gh:anthropics/claude-code.stars' -g brutalist

# Marquee with mixed text + live tokens
hyperweave compose marquee-horizontal --data 'text:NEW RELEASE,gh:owner/repo.stars,text:DOWNLOAD' -g brutalist

# Artifact kit
hyperweave kit readme -g brutalist --badges "build:passing,version:v0.2.0" --social "github,discord"

# Profile card (live GitHub data, path-segment identity)
hyperweave compose stats eli64s -g chrome -o stats.svg

# Star history chart
hyperweave compose chart stars eli64s/readme-ai -g brutalist -o chart.svg

# Custom genome from a local JSON file (validated against the profile contract)
hyperweave compose badge "DEPLOY" "live" --genome-file ./my-genome.json
hyperweave validate-genome ./my-genome.json

HTTP API

# URL grammar: /v1/{type}/{title}/{value}/{genome}.{motion}
curl 'https://hyperweave.app/v1/strip/readme-ai/brutalist.static?value=STARS:2.9k,FORKS:278'

# Live data via the unified ?data= grammar (works on badge / strip / marquee)
curl 'https://hyperweave.app/v1/badge/STARS/chrome.static?data=gh:anthropics/claude-code.stars'
curl 'https://hyperweave.app/v1/strip/readme-ai/brutalist.static?data=gh:eli64s/readme-ai.stars,gh:eli64s/readme-ai.forks'
curl 'https://hyperweave.app/v1/marquee/SCROLL/brutalist.static?data=text:NEW%20RELEASE,gh:anthropics/claude-code.stars'

# Chromatic variants (automata: 16 solo tones, pair any two via &pair=...; chrome: horizon/abyssal/lightning/graphite/moth)
curl 'https://hyperweave.app/v1/badge/PYPI/automata.static?variant=teal&pair=violet&data=pypi:hyperweave.version'
curl 'https://hyperweave.app/v1/badge/build/passing/automata.static?size=compact'

# Genome-themed dividers
curl 'https://hyperweave.app/v1/divider/band/chrome.static'
curl 'https://hyperweave.app/v1/divider/seam/brutalist.static'
curl 'https://hyperweave.app/v1/divider/dissolve/automata.static'

# Genome-agnostic dividers
curl 'https://hyperweave.app/a/inneraura/dividers/zeropoint'

# Structured frames: /v1/{matrix|diagram}/{preset}/{genome}.{motion}
# (preset 'custom' takes a base64url spec; diagrams add ?chrome=bare)
curl 'https://hyperweave.app/v1/matrix/connectors/primer.static?variant=porcelain'
curl 'https://hyperweave.app/v1/diagram/pipeline/primer.static?variant=porcelain&chrome=bare'

# POST compose
curl -X POST https://hyperweave.app/v1/compose \
  -H "Content-Type: application/json" \
  -d '{"type":"strip","title":"hyperweave","genome":"brutalist","value":"STARS:2.9k"}'

# Local server
hyperweave serve --port 8000

How It Works

Every artifact is the output of a single composition formula:

ARTIFACT = FRAME × PROFILE × GENOME × SLOTS × MOTION × ENVIRONMENT

Python builds context dicts. Jinja2 builds SVG. YAML defines config. Three layers, no mixing. Zero f-string SVG in Python.

ComposeSpec → engine.py → assembler.py (CSS) → lanes.py (validate) → templates.py (Jinja2) → SVG

Every artifact ships with:

  • Semantic metadata: provenance, reasoning, spatial trace, aesthetic DNA. Machine-readable context so the next agent in the chain knows what it's looking at and why.
  • CSS state machines: data-hw-status, data-hw-state, data-hw-regime drive visual transitions through the Custom Property Bridge. No JavaScript.
  • Pure CSS/SMIL animation: all motion uses compositor-safe properties (transform, opacity, filter). No script tags. Works anywhere SVGs render: GitHub's Camo proxy, email clients, Notion embeds.
  • Accessibility: WCAG AA, prefers-reduced-motion, prefers-color-scheme, forced-colors, ARIA markup. Structural, not decorative.
Dimension Count
Frame types 11 (badge, strip, icon, divider, marquee-horizontal, stats, chart, matrix, diagram, receipt, rhythm-strip)
Genomes 4 (automata, brutalist, chrome, primer)
Motion configs 6 (1 static + 5 border SMIL)
Glyphs 189 (183 brand marks + 6 geometric shapes)
Divider variants 10: 5 genome-themed (band chrome, seam + sigil brutalist, dissolve automata, aura primer) + 5 genome-agnostic (block, current, takeoff, void, zeropoint) at /a/inneraura/dividers/
Metadata tiers 5 (Tier 0 silent → Tier 4 reasoning)
Bundled fonts 5 (JetBrains Mono, Orbitron, Chakra Petch, Barlow Condensed, Inter), embedded per artifact, no external font requests

Stack: Pydantic, FastAPI, FastMCP v3, Jinja2, Typer.


Data Connectors

HyperWeave binds live data into any artifact through a unified token grammar (?data=...). Tokens are comma-separated; each token is either a literal (text:, kv:) or a live fetch (<provider>:<identifier>.<metric>).

Data connectors matrix: 9 live providers — GitHub, PyPI, npm, crates.io, Hugging Face, Docker Hub, arXiv, OpenSSF Scorecard, GitHub Actions — plus text and kv literal tokens

Copy a token · view as table
Prefix Source Identifier shape Metrics
gh / github GitHub owner/repo stars, forks, watchers, contributors, issues, pull_requests, last_push, build, license, language
pypi PyPI + pepy.tech package version, license, python_requires, downloads
npm npm package version, license, downloads
crates / cargo crates.io crate version, downloads, recent_downloads, license
hf / huggingface Hugging Face org/model downloads, likes, tags, pipeline_tag, library_name, license, gated, last_modified
docker Docker Hub namespace/repo pull_count, star_count, last_updated
arxiv arXiv id (e.g. 2310.06825) title, authors, published, updated, categories, summary, journal_ref, doi
scorecard OpenSSF Scorecard owner/repo score (overall trust), plus per-check: code_review, maintained, vulnerabilities, token_permissions, ...
dora GitHub Actions owner/repo deploy_frequency, lead_time, change_failure_rate, mttr (30-day window)
text literal renders the payload as displayed text
kv literal KEY=VALUE static role-tagged value
  • Caching: live values for 5–10 min; a failed fetch caches 60s and shows rather than a fabricated zero.
  • Isolation: each provider has its own circuit breaker, so one upstream outage can't trip the others.
  • Escaping: commas inside text: / kv: values escape as \,.

Open an issue to request a connector.


Contributing

HyperWeave is early. If you're interested in building genomes, extending frame types, or just seeing what this looks like in your own README, join the Discord.


InnerAura Labs

Discord   Instagram   LinkedIn   TikTok   X   YouTube

About

Portable visual output layer for agents. One API call, one SVG. Zero dependencies, renders in any markdown.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages