Skip to content

fide/context-protocol

Fide Context Protocol

Canonical specification and SDK for the Fide Context Protocol.

The Fide Context Protocol defines interoperable statement structures for graph-based world models across systems. It depends on Fide ID for identifier rules and on the Fide Vocabulary for entity and predicate typing semantics.

Public docs are published at:

Structure

  • spec/: protocol specification artifacts (canonical source in spec/v0)
  • docs/: protocol docs
  • sdk/javascript/: JavaScript SDK package (@fide-work/context-protocol)

Generate Protocol Artifacts

Predicate prefix mappings and JS SDK constants are generated from:

  • spec/v0/predicate-prefixes.json

Run from repo root:

pnpm run generate:context-protocol
pnpm run check:generated:context-protocol

SDK Release

  • Monorepo release tag: context-protocol/v<version>
  • Standalone repo release tag: v<version>

JavaScript SDK

The JavaScript SDK package lives in:

  • sdk/javascript/

Current package name:

Additional docs:

License

Licensed under Apache-2.0. See LICENSE for the full text.

About

Fide Context Protocol for graphing context into trusted world models

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors