
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.
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 problem | UltraTransfert mechanism | Expected operational effect to evaluate |
|---|---|---|
| Agents repeatedly exchange unchanged documents | Content-addressed identity and verified context reuse | Less duplicated application data and redundant serialization |
| Large documents consume scarce model context | Bounded lexical search with verified excerpts and offsets | Smaller tool responses for targeted information retrieval |
| Workflows resume after interruptions | Resumable copy, verified artifact identity and context snapshots | Less repeated work; verifiable recovery |
| Agents work with changing versions | Verified text/binary delta plans and range retrieval | Reduced transfer volume when changes are localized |
| Concurrent requests repeat expensive ranking | Bounded, scan-resistant cache and in-process calculation coalescing | Lower ranking CPU demand under repeated concurrent workloads |
| Agents run in constrained containers | Host-selected cache capacity and opt-in pressure adaptation | Controlled retained ranking entries; not a process RAM limit |
| Artifacts cross process or host boundaries | Scoped grants, pinned TLS and explicit handoff descriptors | Explicit 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.
| Experiment | Baseline → optimized | Interpretation |
|---|---|---|
| 32-artifact inventory | 32 calls → 1; 14,713 → 1,933 response bytes | Fewer round trips; 86.9% smaller response |
| Persistent context reuse | 40,543 → 963 median response bytes | 97.6% smaller response for this fixture |
| Structured context | 3,765 → 1,818 serialized response tokens | 51.7% fewer tokenizer units; not billed tokens |
| Protected ranking cache | 3.335 → 1.581 ms median revisit latency | 2.11× faster after eviction pressure |
| Ranking cache allocations | 258,072 → 269,720 retained Python bytes | 4.5% overhead at 128 entries |
| Independent HTTPS processes | 20,334 → 312 compact response bytes | 98.5% smaller result; real TLS loopback |
| Bounded HTTPS workers | 6.189 → 5.463 ms median cached call at eight clients | 1.13× faster on this CI runner; 416 verified calls across both settings |
| Delayed TCP context batching | 3,533.27 → 605.56 ms at 200 ms nominal injected delay | 5.83× faster for six cached documents; 105 verified calls across five settings |
| Bounded connection reuse | 3,623.44 → 2,312.72 ms at nominal 200 ms injected delay | Six equal cached calls; 1.57× faster with one TLS connection; 180 verified calls across five settings |
| Bandwidth-paced context exchange | 18,362 → 6,636 observed TLS stream bytes | 63.9% less encrypted stream data; at 64 KiB/s nominal rate, 277.93 → 98.33 ms |
| TLS range batching | 415.36 → 109.06 ms at 100 ms injected delay | 3.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
| Component | Documentation |
|---|---|
| Local agent file inspection and verified exchange | Integration |
| Multilingual bounded source retrieval | Source search |
| Incremental and persistent context | Persistent context |
| Multi-round recovery and final authorization | Multi-round context |
| Large text context and fragment reuse | Large context |
| Encrypted cache | AES-256-GCM large-context cache, encrypted context |
| Private-network HTTPS | Remote MCP |
| A2A application-layer handoff | A2A profile |
| Resumable desktop and filesystem transfers | Windows 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.
ultratransfert-mcppip install ultratransfert-mcp