{
"$schema": "https://cmn.dev/schemas/v1/spore-core.json",
"id": "agent-first-http",
"name": "Agent-First HTTP",
"version": "0.4.1",
"domain": "cmn.dev",
"key": "ed25519.7BmCWmBb2YeUWR7pmHvwAvi9wRm96VpZsJvZFSTfc2Uu",
"synopsis": "Persistent HTTP client for AI agents — JSONL in, JSONL out, connections managed transparently so agents never think about transport",
"intent": [
"Give AI agents a persistent HTTP client that maintains connection pools per host, reuses TCP+TLS connections across requests, and multiplexes concurrent streams over HTTP/2 — the agent writes JSON requests to stdin and reads JSON responses from stdout, never managing sockets, TLS handshakes, or connection lifecycles",
"Bridge the gap between curl (one connection per invocation, human-oriented output) and protocol-locked framing — afhttp is transport-only, works with any HTTP API, and uses Agent-First Data suffix conventions for self-describing fields in every request and response",
"Provide first-class SSE streaming support where server-sent events arrive as individual JSONL lines on stdout, enabling agents to process streaming responses (LLM tokens, progress updates, real-time feeds) without buffering the entire response"
],
"license": "MIT",
"mutations": [
"Add auto-generated CLI documentation from clap derive definitions, replacing the hand-maintained cli.md with a generated reference that stays in sync with source code",
"Organize CLI flags into logical help headings (Request, Config, TLS, Output, Mode) for clearer --help output",
"Enforce strict clippy lints across all production code with explicit test-only allowances",
"Bump tokio-tungstenite to 0.29 and agent-first-data dependency to 0.7"
],
"bonds": [
{
"relation": "spawned_from",
"uri": "cmn://cmn.dev/b3.Gz4rQXos62mWixsAR9LXtrSPr8hmzxpFHRi46vJGvFZX"
},
{
"relation": "depends_on",
"uri": "cmn://cmn.dev/b3.77SvrWL81dyaWyUUgRREx4WTLXfKyog9AyhxSG2fvVLP",
"id": "agent-first-data",
"reason": "All request/response fields use Agent-First Data suffix conventions, and runtime protocol/log events are emitted on stdout only"
}
],
"tree": {
"algorithm": "blob_tree_blake3_nfc",
"exclude_names": [
".git"
],
"follow_rules": [
".gitignore"
]
}
}