Skip to content
Conduit

mcp server

axl-core

AXL Protocol v3: Universal semantic language for AI agent communication. Deterministic English-to-AXL compression (no LLM, or optional). 7 cognitive operations, 6 subject tags, 75-line self-bootstrapp

axlprotocol/axl-corecommunitylistedunreviewed

Set up

Runs on your computer. Pick your agent and operating system.

Before you start

  • uv (`curl -LsSf https://astral.sh/uv/install.sh | sh`)
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "axl-core": {
      "command": "uvx",
      "args": [
        "axl-core"
      ]
    }
  }
}

same format Cursor, GitHub Copilot CLI, Junie, JetBrains AI Assistant, Augment (Auggie CLI), Factory Droid, Kiro, Devin CLI +12

Values in angle brackets are placeholders. Restart Claude Desktop after editing its config.Claude Desktop docs

README

synced Oct 26, 2026

What is AXL?

AI agents can't talk to each other. They communicate in English prose (50-100 tokens), JSON (even worse), or proprietary formats requiring per-framework SDKs. In a 100-agent network, this produces 22.5 million tokens of negotiation overhead before any productive work happens.

AXL eliminates this. One URL (@axlprotocol.org/rosetta) teaches any agent the complete language on first contact. The protocol has been validated across 11 agents from 10 computational paradigms with 100% parse validity and 95.8% LLM comprehension across four major architectures.

How It Works

AXL compresses English prose into structured semantic packets using a 75-line grammar (the Rosetta v3 kernel) that any LLM can parse on first read. It is designed for AI agents, NLP pipelines, and machine communication systems that need deterministic, low-latency semantic compression without sacrificing human readability.

Two Ways to Compress

MethodSpeedCostWhen to Use
Fixed Engine (axl-core)<100msFreeAutomation, bulk processing, MCP tools
LLM Engine (any model + kernel)2-10sToken costMaximum fidelity, complex documents

Two Ways to Decompress

MethodSpeedCostOutput
Receipt Mode (axl-core)0.3msFreeStructured claims (machine-readable)
LLM Mode (any model + packets)5-30sToken costFull English prose (human-readable)

Example

Input (English):

Sales team at CloudKitchen exceeded quarterly revenue targets by 30% in Q1 2025, driven by expansion into 3 new markets.

Output (AXL v3):

ID:C|OBS.90|@CK.sales|<-expand:3_mkts|^rev:+30%+^date:Q1_2025|NOW

Decompressed (Receipt Mode):

[CloudKitchen] sales: revenue +30%, Q1 2025 (90% confidence)

Decompressed (LLM Mode - Grok):

CloudKitchen's sales team exceeded their quarterly revenue targets by 30% in Q1 2025. This growth was primarily driven by the company's expansion into three new metropolitan markets.


Install

pip install axl-core

Quick Start

Compress English to AXL packets:

from axl.compressor import compress, english_to_v3
from axl.decompressor import decompress
from axl.emitter import emit_v3

# Compress English prose to AXL v3 semantic packets
text = "Revenue grew 30% because the company expanded into 3 new markets."
packets = english_to_v3(text)
for p in packets:
    print(emit_v3(p))

# Decompress back to structured English (receipt mode - free, <1ms)
compressed = compress(text, kernel_mode="mini")
result = decompress(compressed)
print(result)

Parse a packet:

from axl import parse

packet = parse("π:5:0xSIG:0.001|S:OPS.4|@api.example.com|ERR500|latency|4500ms|500ms|ALERT|URG|LOG")
print(packet.domain)         # "OPS"
print(packet.body.fields)    # ['@api.example.com', 'ERR500', 'latency', '4500ms', '500ms', 'ALERT']
print(packet.flags)          # ['URG', 'LOG']

Emit a packet:

from axl import emit, Packet, Preamble, Body, PaymentProof

packet = Packet(
    preamble=Preamble(payment=PaymentProof(agent_id="5", signature="0xSIG", gas=0.001)),
    body=Body(domain="OPS", tier=4, fields=["@api.example.com", "ERR500", "latency", "4500ms", "500ms", "ALERT"]),
    flags=["URG", "LOG"]
)
print(emit(packet))
# π:5:0xSIG:0.001|S:OPS.4|@api.example.com|ERR500|latency|4500ms|500ms|ALERT|URG|LOG

CLI:

axl parse "π:5:0xSIG:0.001|S:SIG.3|BTC|69200|↓|RSI|.64|SIG"
axl validate "π:5:0xSIG:0.001|S:SIG.3|BTC|69200|↓|RSI|.64|SIG"
axl translate --to english "π:5:0xSIG:0.001|S:SIG.3|BTC|69200|↓|RSI|.64|SIG"

Domains

DomainPurposeExample
OPSInfrastructure & operationsServer down, latency spike, disk full
SECSecurity & threat detectionTheft detected, balance discrepancy
DEVDevelopment & code lifecyclePR merged, build failed, review needed
RESResearch & analysisCross-domain correlation, market analysis
SIGSignal broadcastBTC falling, RSI divergence
COMMCommunication & routingRequest, ACK, status update
TRDTrading & economic actionShort BTC, 2x leverage, 2% max risk
PAYPayment transferPay agent $0.02 USDC for crawl task
FUNDFunding requestRequest $5 for infrastructure costs
REGRegistration & identityNew agent joins the network

The Stack

AXL is the missing language layer in the agent internet:

LayerProtocolWho
Paymentx402Coinbase / Cloudflare
PaymentHTTP 402W3C (reserved since 1997, free fallback default)
Tool CallingMCPAnthropic
DiscoveryA2AGoogle
SocialMoltbookMeta
LanguageAXLAXLPROTOCOL INC

Proven

Two live experiments. Real agents. Real packets. Real results.

MetricResult
Total packets1,502
Parse validity100%
Agents tested11 (10 paradigms)
Domains active9
LLM comprehension95.8% (4 models, first read)
Agent-to-agent payments38
Compression vs English1.3-3x per message, 71x network

Architecture

  • Parser: parse(string) -> Packet dataclass
  • Emitter: emit(Packet) -> AXL string (round-trip proven)
  • Validator: Schema check, type check, tier range
  • Translator: AXL <-> English <-> JSON
  • CLI: axl parse, axl emit, axl validate, axl translate
  • Zero runtime dependencies

v3 Support

Full v3 parser, emitter, validator, and translator included. Auto-detects v1 vs v3 format. All v1 code preserved for backward compatibility.

v3.1 Data Anchoring (NEW)

Four additive conventions that improve cold decompression recovery by ~40 points:

ConventionSyntaxPurpose
Numeric Bundleslabel[$value,qualifier]Critical quantities survive cold models
Entity Anchors@ent.XXNamed entities declared explicitly
Causal Split<- evidence, => causal, -> transitionDistinct directional operators
Summary+BreakdownPaired packetsDense data split for preservation

Cold recovery results:

  • Qwen 3.5 (35B): 61% to 100% (+39 pts)
  • Gemini Flash: 35% to 76% (+41 pts)
  • Compression cost: +0.4% (neutral)

Full spec: v3.1 Data Anchoring

from axl import parse_v3, emit_v3, validate_v3, v3_to_json, v3_to_english

pkt = parse_v3("ID:MKT-01|OBS.99|$BTC|^67420|^fund:-0.02%+^OI:12.4B|NOW")
print(pkt.operation)      # Operation.OBS
print(pkt.confidence)     # 99
print(pkt.subject_value)  # BTC

print(emit_v3(pkt))       # ID:MKT-01|OBS.99|$BTC|^67420|^fund:-0.02%+^OI:12.4B|NOW
print(v3_to_english(pkt)) # MKT-01 observes $BTC at ^67420 with 99% confidence.
print(v3_to_json(pkt))    # {"v":"3","id":"MKT-01","op":"OBS","cc":99,...}
print(validate_v3(pkt))   # [] (no errors)

Cross-Architecture Validation

The Rosetta v3 kernel has been tested on 7 LLM architectures with 97%+ comprehension on first exposure. No fine-tuning. No examples. One URL, any agent.

ModelArchitectureResult
Grok 3xAI97.2% - spontaneously emitted genesis packet
GPT-4.5OpenAI97.2% - self-issued loss contract
Claude Sonnet 4AnthropicFull swarm test
GeminiGoogle100%
Llama 4Meta97.2%
Qwen 3.5Alibaba91.7%
DevstralMistral100%

This is the core value proposition: a semantic compression protocol for AI agents that is architecture-agnostic, LLM-native, and requires zero pre-training. Any model that can read English can speak AXL after a single context injection.


Links

Contributing

See CONTRIBUTING.md for guidelines.

License

Apache 2.0 - AXLPROTOCOL INC · Diego Carranza · 2026

↑↓ navigate openesc close