---
fragment_peers:
  agent-skill: agent-skill
  available-components: componentes-disponiveis
  code-and-configurations: codigo-e-configuracoes
  git-and-openssh-workflow: percurso-git-e-openssh
  implementations-that-can-emerge-from-tests: implementacoes-que-podem-surgir-dos-testes
  local-app-and-interactant-bench: app-e-bancada-local-entre-interagentes
  project-repositories: repositorios-do-projeto
  publish-and-maintain-a-component: publicar-e-manter-um-componente
  python-library: biblioteca-python
  reference-mcp-server: servidor-mcp-de-referencia
  rust-core-and-cli: core-rust-e-cli
lang: en
peer: pt/implementations/
provenance:
  ai_prompt: 'I want to record a Trace (dependency) or Nod (recognized consequence)
    in the Legible Protocol referencing this content:

    - Material: Package 2 — Technical specification (https://legibleprotocol.com/en/implementations/)

    - Appoint ID: baa3214e32eb5339ce066382b52ced2f8ab13c472c7b5f2bc64c1e9d9965dafa

    - Optional author channel (Diogo Carlotto): dcarlotto.legible@gmail.com

    Help me draft the Genealogy 0.1 file or v2 JSON ready for me to review and sign
    locally.'
  contacts:
  - author: Diogo Carlotto
    contact: dcarlotto.legible@gmail.com
  genealogy_note: null
  guide_anchor: legibility-policy-appoint-trace-nod-and-optional-contact
  is_long_work: false
  legibility_policy: voluntary
  license: CC BY 4.0 (text) / Apache-2.0 (code and formats)
  local_anchor: null
  local_label: null
  material: package_02
  material_label: Package 2 — Technical specification
  page_url: https://legibleprotocol.com/en/implementations/
  prefix: Appoint for this set (Package 2)
  scope: set
  show_author: false
  signed:
  - appoint_id: baa3214e32eb5339ce066382b52ced2f8ab13c472c7b5f2bc64c1e9d9965dafa
    author: Diogo Carlotto
    record_url: null
    short_id: baa3214e32eb…
shared_fragments: false
title: Code and configurations
---

# Code and configurations

Although formats make interchange possible, tools determine how much work
it takes. This area brings together code and configurations to make participation
easier and will grow with the needs found during tests, from local search
or simpler file exchange to a setup suited to a company's environment.

Each component should address a concrete participation problem, identifying
the operations it assists and the requirements for using it. To begin with
a draft, follow [first use with AI](https://legibleprotocol.com/en/first-draft/); the resources below
serve those who want to configure or program further operations.

The reference path is [operating in Open Legibility](https://legibleprotocol.com/en/spaces/#operar): read questions
and proposals, formulate, preserve, present and continue a contribution.
A configuration should explain which steps it assists and which remain manual.
Repository interfaces, models and indexing may come from different tools.
The existing MCP is not an automatic PR reader.

An agent with authorized file and Git access can start without MCP.
The [example space](https://legibleprotocol.com/en/downloads/legible-space-example-en.zip) demonstrates a
collection of selected packets, separate from the private cache. MCP is an
option for scoped local operations, not a prerequisite for protocol use.

## Available components

Each entry states the edition, requirements and existing tests.
The guides accompany the code in this distribution, which you can inspect
before installing anything.

### Rust core and CLI

Prepare and verify records, read drafts and query a local genealogy projection.

**Experimental** · The Legible Protocol draft 0.4

**Requirements:** Rust/Cargo; OpenSSH for signing workflows.

**Limits:** Local tests cover specific operations; they do not certify every specification requirement.

[Guide and source](https://legibleprotocol.com/en/downloads/components/core.md) · [Source](https://github.com/LegibleProtocol/protocol/tree/main/reference/legible-core) · [Contribute to this component](https://legibleprotocol.com/en/contribute/)

**Existing tests:** `protocol/reference/legible-core/tests`.

### Python library

Import, search and export drafts, and use core operations from Python programs.

**Experimental** · The Legible Protocol draft 0.4

**Requirements:** Python and a compiled Rust CLI; explicit configuration of optional resources.

**Limits:** Signing and provider helpers must respect each deployment's authorizations.

[Guide and source](https://legibleprotocol.com/en/downloads/components/python.md) · [Source](https://github.com/LegibleProtocol/protocol/tree/main/reference/legible-py) · [Contribute to this component](https://legibleprotocol.com/en/contribute/)

**Existing tests:** `protocol/reference/legible-py/tests`.

### Reference MCP server

Let an MCP client search, read, import and prepare local contributions without signing them.

**Experimental** · The Legible Protocol draft 0.4

**Requirements:** Python, Rust CLI and a compatible MCP host; HTTP requires the configured bench.

**Limits:** Offers neither a signing tool nor an embedded model. External accounts and clients require testing in their actual environment.

[Guide and source](https://legibleprotocol.com/en/downloads/components/mcp.md) · [Source](https://github.com/LegibleProtocol/protocol/tree/main/reference/legible-mcp) · [Contribute to this component](https://legibleprotocol.com/en/contribute/)

**Existing tests:** `protocol/reference/legible-mcp/tests`.

### Git and OpenSSH workflow

Exercise local formalization with command-line tools.

**Experimental** · The Legible Protocol draft 0.4

**Requirements:** Git, OpenSSH and Rust CLI; the person reviews and operates signing.

**Limits:** Plain Ed25519 is the baseline. Automated examples use fictional identities.

[Guide and source](https://legibleprotocol.com/en/downloads/components/git-native.md) · [Source](https://github.com/LegibleProtocol/protocol/tree/main/adapters/git-native) · [Contribute to this component](https://legibleprotocol.com/en/contribute/)

**Existing tests:** `protocol/conformance/demos/demo_f_human_signs.sh`.

### Agent Skill

Guide contribution preparation and reading in environments that accept skills.

**Available** · The Legible Protocol draft 0.4

**Requirements:** An environment that can load instructions; tools and permissions are configured separately.

**Limits:** The package is documentation. Each model's response must be evaluated in use.

[Guide and source](https://legibleprotocol.com/en/downloads/components/skill.md) · [Source](https://github.com/LegibleProtocol/protocol/tree/main/skills/legible) · [Contribute to this component](https://legibleprotocol.com/en/contribute/)

Model behavior must be evaluated in the actual environment.

### Local app and interactant bench

Experiment with drafts and formal preparation using separate interactant scopes.

**Experimental** · The Legible Protocol draft 0.4

**Requirements:** Python, Rust CLI and, for the Wi-Fi bench, OpenSSL and HTTPS trust on devices.

**Limits:** A proof of concept run by interactants. Native Gemini-to-local-MCP connectivity remains unverified.

[Guide and source](https://legibleprotocol.com/en/downloads/components/local-app.md) · [Source](https://github.com/LegibleProtocol/protocol/tree/main/adapters/legible-app) · [Contribute to this component](https://legibleprotocol.com/en/contribute/)

**Existing tests:** `protocol/adapters/legible-app/test_app.py`.

## Implementations that can emerge from tests

These are development directions, not ready components:

- **A configuration for Hermes or another agent environment.** A recipe should
  state the host version, how to load instructions, which tools will be accessible
  and how to diagnose failures. Having an MCP server is not enough to claim
  compatibility with a host.
- **An independent local indexer.** It could retrieve contributions from authorized
  folders and rebuild its index from originals. It should preserve origins and
  relationships and distinguish drafts from formal records. Text search and
  model inference need separate identification. The core already offers projection
  and query operations; use them before duplicating them.
- **A corporate reference environment.** It could combine identities, evidence
  access, internal storage and authorized local or external processing.
  The recipe needs to document the composition and isolation tests.

A small need may call for a configuration of only a few lines.
The implementation's size should follow the problem found in use.

## Publish and maintain a component

Code may live in repositories under the LegibleProtocol GitHub organization,
once established, or in independent maintainers' repositories.
A recipe may share a repository with other configurations; a tool with its own
dependencies and development path may have a separate one.

To propose a component, describe the problem it solves, its license, installation
and a reproducible example. Identify the protocol edition, tested versions
and maintainer. Explain where data is held, which steps interactants need to
repeat and who supplies the model if inference is involved.

Maintainers select entries and update the static site.
Distributing this code does not require operating users' installations.
The catalogue describes capabilities and tests; the specification defines conformance.

A technical test shows whether an operation works. An account of collaboration
helps establish whether it is worth using. Both can guide improvements.
Appoints and relationships may accompany a component when their authors choose
to prepare and share them; a code change does not require its own record.

[Technical contracts](https://legibleprotocol.com/en/implementation/) ·
[Local setup and MCP](https://legibleprotocol.com/en/configurations/) · [Contribute](https://legibleprotocol.com/en/contribute/)

## Project repositories

[GitHub organization](https://github.com/LegibleProtocol) · [Protocol repository](https://github.com/LegibleProtocol/protocol) · [Website repository](https://github.com/LegibleProtocol/website) · [Books and papers on GitHub](https://github.com/LegibleProtocol/publications) · [Contact](mailto:contact@legibleprotocol.com)
