◎ OS PUB Apache 2.0 ← All specifications

P230 — AIEP — Federated Knowledge Protocol

Status: Open Source Prior Art Disclosure Licence: Apache-2.0 Published by: Phatfella Limited


Overview

This document defines the open Federated Knowledge Protocol (FKP) for the Architected Instruction and Evidence Protocol (AIEP) architecture. Published as defensive prior art under Apache 2.0.

The FKP defines the communication protocol and data exchange formats used by AIEP nodes to share evidence artefacts, query remote world state, and synchronise federated knowledge across trust boundaries established by the Federated Trust System (P229).


Field

Inter-node evidence exchange and knowledge synchronisation protocol for federated AIEP deployments. Applicable to any conformant AIEP federation implementation.


Protocol Motivation

A standardised protocol for inter-AIEP evidence exchange enables interoperability between independently developed AIEP implementations, prevents vendor lock-in, and allows third-party verification tools to audit cross-node evidence flows.


ASCII Architecture

AIEP Node A                           AIEP Node B
      |                                     |
      | -----> FKP_HELLO (identity) ------> |
      | <----- FKP_CHALLENGE -------------- |
      | -----> FKP_ATTESTATION -----------> |
      | <----- FKP_TRUST_ESTABLISHED ------ |
      | -----> FKP_ARTEFACT_REQUEST ------> |
      | <----- FKP_ARTEFACT_RESPONSE ------ |
      | -----> FKP_ADMISSION_ACK ---------> |

Protocol Message Definitions

FKP_HELLO

{
  "message_type": "FKP_HELLO",
  "node_id": "<sha256 of identity document>",
  "protocol_version": "1.0",
  "capabilities": ["evidence_push", "evidence_pull", "query_world_state"],
  "timestamp": "<ISO 8601>"
}

FKP_ARTEFACT_REQUEST

{
  "message_type": "FKP_ARTEFACT_REQUEST",
  "request_id": "<uuid>",
  "requesting_node": "<node_id>",
  "artefact_filter": {
    "from_timestamp": "<ISO 8601>",
    "to_timestamp": "<ISO 8601>",
    "entity_ids": ["<entity_id>"],
    "max_count": "<integer>"
  },
  "signature": "<signing_key_signature>"
}

FKP_ARTEFACT_RESPONSE

{
  "message_type": "FKP_ARTEFACT_RESPONSE",
  "request_id": "<uuid>",
  "artefacts": [
    {
      "artefact_hash": "<sha256>",
      "artefact_content": "<base64 encoded>",
      "admission_seq": "<integer>",
      "provenance_chain": ["<sha256>"]
    }
  ],
  "ledger_root_at_response": "<sha256 Merkle root>",
  "signature": "<signing_key_signature>"
}

Prior Art Statement

Publication of this protocol specification as open-source prior art establishes public domain availability as of the publication date. No patent claim may restrict implementation of this protocol in its published form.


Licence

Copyright 2025 Phatfella Limited. Licensed under Apache 2.0. See LICENCE for full terms.

Dependencies