---
title: Glyph Protocol
url: https://glyphp.com/
---

Glyph[Docs](https://glyphp.com/docs)

core 2.0·apache-2.0·[wire 1.0 · stable](https://glyphp.com/docs#conformance)

§01 · protocol

# Glyphp
Signed, content-addressed tool contracts for AI agents — verify, approve, and audit every call.

Each tool ships as a glyph — a signed card carrying its schema plus intent, cost, risk, and reversibility.

Adds verification, risk gates and signed receipts to MCP, OpenAPI and your tool-calling stack.

//No blind function calling·No trust-without-verify

~ install · glyph-protocol

ready

`pnpm add @glyphp/core @glyphp/client`

[GitHub](https://github.com/Monoperro0207/glyph-protocol)[LinkedIn](https://www.linkedin.com/in/patrick-espino-650458401/)[X](https://x.com/MonoPerr0)

[→Adapt an MCP server](https://glyphp.com/docs#adoption)[→Run conformance](https://glyphp.com/docs#conformance)[→See a receipt](https://glyphp.com/docs#security)

[capabilities](https://glyphp.com/#features)

§02 · anatomy

## What a glyph actually carries.

discover → verify → confirm → execute → receipt

glyph-card · wire 1.0signature verified

idsha256:9f4a7c…e02b1

namefs.write — create or overwrite a file

schema{ path: string, contents: string }

intentPersist agent-authored content to disk at path.

cost~120 tok · ~8ms p50

riskHIGHreversibleNO

providered25519:7Kp2Qn…tA9f

sig3045a2…b71c

-   01
    
    ### Discover
    
    Agents load a compact glyph lexicon — not every full tool schema. Fewer tokens, same coverage.
    
-   02
    
    ### Verify
    
    Each card is content-addressed and ed25519-signed. The client pins keys and refuses anything changed or revoked.
    
-   03
    
    ### Confirm
    
    Risk tier and reversibility gate the call. High-risk actions require a single-use, scoped approval token.
    
-   04
    
    ### Execute
    
    The server runs the tool behind auth and rate limits, bound to the exact glyph and inputs that were approved.
    
-   05
    
    ### Receipt
    
    The output is validated and sanitized, then a signed CallReceipt records inputHash, outputHash, latency and timestamp — tamper-evident and auditable.
    

§03 · adopt

## Drop it in. Don't rewrite your tools.

Verify the signature and pin, gate on risk, run the tool, and get a tamper-evident receipt — in one call.

GlyphClient · typescript

```
import { GlyphClient, FilePinStore } from '@glyphp/client';

const client = new GlyphClient({
  baseUrl: 'https://tools.example.com',
  pins: new FilePinStore('./glyph-pins.json'),
  secureMode: true,
});

// call() verifies sig + hash, checks the pin, gates on risk,
// and binds the signed receipt to this call — or throws.
const envelope = await client.call('fs.write', {
  path: 'out.md',
  contents: '# hello',
});

envelope.payload;   // the tool output
envelope.receipt;   // signed CallReceipt · sha256 + ed25519
```

Going to prod? GlyphClient.production() applies the hardened defaults in one call — [see the adoption guide](https://glyphp.com/docs#adoption).

Works with

MCPOpenAPILangChainLlamaIndexVercel AI SDKOpenAI AgentsOpenTelemetry

Any MCP server or OpenAPI document becomes signed glyphs through an adapter — no changes to the underlying tools.

Supply chain

npm@glyphp · core 2.0specwire 1.0 · stableconformance4 levelsattestationRFC-0008 · sigstorelicenseapache-2.0

Core packages (core, server, client, conformance) ship required SBOM + cosign attestations; other packages are best-effort. TypeScript, Python and Go share JCS canonical JSON (RFC 8785), verified against the same test vectors — byte-for-byte interop on ids, hashes and signatures.

§04 · where it matters

## Use cases where Glyph matters.

Filesystem agents

Agents that write, move or delete files — risk tiers + confirmation before destructive, irreversible calls.

Internal APIs

Wrap private OpenAPI services as glyphs so every call is signed, pinned and recorded.

Payments & refunds

High-risk, non-reversible actions gated behind single-use, scoped approval tokens.

CI/CD automation

Pin tool contracts; a changed or revoked tool fails the pipeline before it runs.

Third-party MCP tools

Verify and audit tools you did not author — detect a swapped definition instantly.

Enterprise & regulated AI

Signed receipts give an audit-grade trail of exactly what ran, with what inputs and outputs.

§05 · honest scope

## A verification layer — not a sandbox.

Glyph proves the contract and audits the call. It composes with TLS, your model's safety policy and server-side authorization — it doesn't replace them.

vs MCP · OpenAPI · fn-calling

Signed, content-addressed contract✓✗✗✗

Detects a changed contract✓✗✗✗

Risk gates + confirmation✓✗~✗

Signed call receipts✓✗✗✗

Layers onto existing tools✓✓✓✓

GlyphMCPAPIfn

Proves

-   · Card signature + integrity
-   · Contract-change detection
-   · Signed, tamper-evident receipts
-   · Audited output sanitization

Not alone

-   · Handler-side correctness
-   · Global provider identity
-   · Transport security (needs TLS)
-   · Visible prompt injection

[→ Full guarantees & comparison in the docs](https://glyphp.com/docs#guarantees)

[specglyph-card / wire 1.0](https://glyphp.com/docs#glyph-card)[hashsha256 · ed25519](https://glyphp.com/docs#security)[runtimesmcp · openapi · \*](https://glyphp.com/docs#architecture)[licenseapache-2.0](https://github.com/Monoperro0207/glyph-protocol/blob/main/LICENSE)

Built by [Monoperro0207](https://github.com/Monoperro0207) · Apache-2.0

[Docs](https://glyphp.com/docs)[GitHub](https://github.com/Monoperro0207/glyph-protocol)[npm](https://www.npmjs.com/org/glyphp)

wire 1.0 · stable · © 2026
