Repository avatar
AI Tools
v0.4.13
active

ultratransfert

io.github.mmxb8/ultratransfert

Verified artifact exchange and encrypted, incremental context reuse for AI agents.

Documentation

UltraTransfert

Verified data movement and context continuity for AI-agent infrastructure.

License: MIT PyPI Source search evidence Network evidence

Quick start · Architecture · Measured evidence · Production evaluation · Research methodology · Security

Abstract

AI agents increasingly operate across processes, tools, workspaces and execution sessions. Repeatedly reading, serializing and transmitting unchanged artifacts wastes computation and communication capacity, while opaque caching can undermine provenance and authorization.

UltraTransfert provides a deterministic infrastructure layer for verified artifact exchange, incremental context synchronization, bounded multilingual retrieval and resumable transfers. It identifies content using SHA-256, permits reuse only within explicitly configured trust boundaries, and separates artifact integrity from authorization. Its objective is to reduce redundant work without changing the verified result.

The system is open source under the MIT license. It is not an LLM, vector database, general-purpose compression breakthrough or autonomous cloud service. It complements agent hosts and existing storage infrastructure rather than replacing them.

Maturity: research-engineering software with tested components and an experimental remote protocol. Source version 0.4.13; the last audited public installation pin is 0.4.12. Controlled experiments are not evidence of general production readiness, independent adoption or provider billing savings.

Why it matters in production

Operational problemUltraTransfert mechanismExpected operational effect to evaluate
Agents repeatedly exchange unchanged documentsContent-addressed identity and verified context reuseLess duplicated application data and redundant serialization
Large documents consume scarce model contextBounded lexical search with verified excerpts and offsetsSmaller tool responses for targeted information retrieval
Workflows resume after interruptionsResumable copy, verified artifact identity and context snapshotsLess repeated work; verifiable recovery
Agents work with changing versionsVerified text/binary delta plans and range retrievalReduced transfer volume when changes are localized
Concurrent requests repeat expensive rankingBounded, scan-resistant cache and in-process calculation coalescingLower ranking CPU demand under repeated concurrent workloads
Agents run in constrained containersHost-selected cache capacity and opt-in pressure adaptationControlled retained ranking entries; not a process RAM limit
Artifacts cross process or host boundariesScoped grants, pinned TLS and explicit handoff descriptorsExplicit authorization and verifiable data provenance

These effects are hypotheses for each deployment until measured against an equivalent baseline. UltraTransfert is least useful for small, one-off reads where a simpler authorized tool is sufficient.

Architecture

flowchart LR
    A["Agent host / orchestrator"] --> M["Local MCP or scoped HTTPS"]
    M --> P["Workspace and grant checks"]
    P --> V["Verified artifact read / SHA-256"]
    V --> R["Bounded retrieval and ranking"]
    V --> S["Context snapshot / delta planning"]
    R <--> C["Bounded ranking cache"]
    S --> H["Verified response / receipt"]
    R --> H
    H --> A
    H --> L["Host-controlled context cache"]

Authorization is evaluated independently of cache hits. Cached ranking results do not establish file validity, permissions or freshness. Receivers verify reconstructed content against expected artifact identities. The remote HTTPS subset exposes only a narrow read-only tool allowlist; it is designed for a dedicated consumer on a private network.

Read the integration guide, source-search contract, remote protocol and A2A handoff profile.

Measured evidence

The following controlled experiments use synthetic workloads, real software execution and explicit correctness checks. The cited GitHub Actions runs contain the underlying records.

ExperimentBaseline → optimizedInterpretation
32-artifact inventory32 calls → 1; 14,713 → 1,933 response bytesFewer round trips; 86.9% smaller response
Persistent context reuse40,543 → 963 median response bytes97.6% smaller response for this fixture
Structured context3,765 → 1,818 serialized response tokens51.7% fewer tokenizer units; not billed tokens
Protected ranking cache3.335 → 1.581 ms median revisit latency2.11× faster after eviction pressure
Ranking cache allocations258,072 → 269,720 retained Python bytes4.5% overhead at 128 entries
Independent HTTPS processes20,334 → 312 compact response bytes98.5% smaller result; real TLS loopback
Bounded HTTPS workers6.189 → 5.463 ms median cached call at eight clients1.13× faster on this CI runner; 416 verified calls across both settings
Delayed TCP context batching3,533.27 → 605.56 ms at 200 ms nominal injected delay5.83× faster for six cached documents; 105 verified calls across five settings
Bounded connection reuse3,623.44 → 2,312.72 ms at nominal 200 ms injected delaySix equal cached calls; 1.57× faster with one TLS connection; 180 verified calls across five settings
Bandwidth-paced context exchange18,362 → 6,636 observed TLS stream bytes63.9% less encrypted stream data; at 64 KiB/s nominal rate, 277.93 → 98.33 ms
TLS range batching415.36 → 109.06 ms at 100 ms injected delay3.81× faster reconstruction in that controlled workload

A separate four-worker local trial reported a larger improvement; the CI result above is the reproducible hosted-run measurement, not a universal speedup. The network experiment also verified revocation, certificate-pin rejection and SHA-256 reconstruction across 208 synchronization calls. Response sizes exclude HTTP headers and TLS overhead. Ranking measurements are local, not model inference latency. The range experiment injects delay in the client callback, not on a WAN link.

Reproducibility and scope: see research evidence, source-search benchmark, and adaptive-context benchmark. There is no established production SLA, independent deployment count, WAN throughput advantage or general-purpose compression superiority.

Quick start

1. Try the audited public MCP package

Use an isolated Python 3.11+ environment.

python -m pip install ultratransfert-mcp==0.4.12
ultratransfert-mcp-setup doctor --native-stdio
ultratransfert-mcp-setup trial

The trial uses disposable local fixtures, verifies content and rejects unauthorized paths. It does not upload data or configure an external agent automatically. See PyPI 0.4.12, the MCP Registry record, and public release verification.

2. Connect an authorized agent host

Create a dedicated directory and review the configuration before adding it to your host:

ultratransfert-mcp-setup config --source /absolute/approved/exchange

Alternatively, an isolated launcher can use:

uvx ultratransfert-mcp==0.4.12 --source /absolute/approved/exchange

Follow the host configuration guide for Codex CLI, Claude Code and Gemini CLI. No silent installation, permission escalation or unsolicited tool propagation is supported. See the agent skill for when to choose this tool.

3. Evaluate the source candidate

The features added after the audited release require a reviewed source checkout; do not assume the public wheel contains them.

git clone https://github.com/mmxb8/UltraTransfert.git
cd UltraTransfert
python -m pip install '.[agent,sharing]'
python -m ultra.agent_setup trial

For a bounded local native MCP instance:

python -m ultra.mcp_server --native-stdio --source /absolute/approved/exchange --ranking-cache-entries adaptive

Use the independent agent trial guide to compare against your actual host under a neutral task protocol. Installation and smoke tests are not proof that an agent independently chooses the tool.

Capabilities and interfaces

ComponentDocumentation
Local agent file inspection and verified exchangeIntegration
Multilingual bounded source retrievalSource search
Incremental and persistent contextPersistent context
Multi-round recovery and final authorizationMulti-round context
Large text context and fragment reuseLarge context
Encrypted cacheAES-256-GCM large-context cache, encrypted context
Private-network HTTPSRemote MCP
A2A application-layer handoffA2A profile
Resumable desktop and filesystem transfersWindows installer, Windows/RDP validation

The desktop distribution can copy folders between accessible disks, USB drives and network shares; resume interrupted transfers; share and receive folders over pinned HTTPS; and optionally apply lossless adaptive/predictive compression. Predictive R2.2 and reader R3.1 are experimental, not evidence of universal compression improvement.

Deployment boundaries

Start with an isolated local, read-only workspace. For remote pilots, use a dedicated consumer, explicit object grants, out-of-band certificate pinning and private-network access controls. Never expose the experimental HTTPS server directly to the public Internet. Independent server processes do not share a ranking cache. A2A support is an application-level profile, not a complete A2A server.

The Windows installer is an unsigned beta. Hosted CI tests Windows Server 2022/2025; those tests do not establish Windows 10/11 client compatibility, RDP operation, SmartScreen reputation or universal antivirus acceptance. The desktop UI currently includes French localization; this English documentation does not change application localization.

See production evaluation and security policy before deployment.

Reproduce and contribute

python -m compileall -q ultra
python -m unittest discover -s tests -v
python -m pip install tiktoken==0.12.0
python -m research.benchmark_source_search
python -m research.benchmark_remote_multiprocess
python -m research.benchmark_remote_latency
python -m research.benchmark_remote_reuse
python -m research.benchmark_remote_bandwidth

OpenSSL is required for the TLS benchmark. Use an isolated environment and record the exact source commit, interpreter, dependencies and hardware. Consult Actions for actual run status; a workflow definition is not proof of successful validation.

Contributions are welcome, especially independent agent trials, reproducible measurements, security review and workload diversity. Use the contribution guide, voluntary trial form or interoperability discussion. Do not submit confidential prompts, artifacts or credentials.

Citation

Use the repository URL and exact commit SHA when citing an experiment. GitHub's citation metadata is provided in CITATION.cff. A source version alone does not identify a unique experimental revision.

License and funding

UltraTransfert is released under the MIT license. All functionality is available without donations. Optional support information is maintained separately in project funding and agent funding.

The bandwidth-paced TLS experiment has been replicated in CI. The source candidate also adds an opt-in passive grouped-digest selection mode; its validation is pending. See the large context guide.

Measured replica selection (source candidate)

RemoteClientPool offers exclusive leases over up to eight explicitly configured same-scope private TLS sessions. It uses observed successful lease durations and periodic exploration, without automatic replay or authorization fallback. Validation is pending.

The encrypted context cache is being evaluated for concurrent use by trusted processes sharing one local private directory and key. See encrypted large-context cache. Cross-host distributed caching is not yet supported.

Authorized replica retrieval (source candidate)

PeerContextCache separates the authoritative verification service from a host-selected replica supplying small context documents over pinned TLS. Each host keeps its own encrypted cache. Warm hits still require current authority verification. Validation is pending; this is not a distributed database or an automatic replication service.

A reproducible candidate load benchmark compares static assignment and measured session selection with 2, 4, 8, 16 and 32 logical agents, two loopback TLS services and at most eight concurrent workers. Results are pending CI; see the research evidence guide.

PYPI
ultratransfert-mcp
Install Command
pip install ultratransfert-mcp