MirginCipher Blackbox (MGC) — Multi-Agent Cross-Node Privacy Execution Base
A local encrypted execution base for multi-agent, cross-node, privacy-preserving task execution — sensitive operations never leave the device in plaintext; scripts, files, and skill / workflow folders can be sealed and dispatched across trusted nodes without exposing source code.
📌 Roadmap: MGC Blackbox — 2026 Development Plan
What is MGC Blackbox?
MirginCipher Blackbox (MGC) is a Multi-Agent Cross-Node Privacy Execution Base. It is not an agent itself — it is the encrypted execution layer underneath your agents.
MGC provides:
- A local encrypted execution base for AI agents, system scripts, and human users
- Cross-node task delegation via sealed, node-bound script capsules
- Zero plaintext leakage: secrets stay inside the encrypted boundary
- A trusted device-level boundary shared by Copilot / Claude / Trae / IDE Agents
Why MGC?
-
🔐 End‑to‑End Encrypted Storage
AES‑256 encrypted vault for API keys, credentials, configs — never exposed to AI agents or external systems. -
🧱 Local‑First Security Boundary
All execution and decryption happen on‑device. No cloud dependency, no plaintext leakage, no telemetry. -
🧩 Sealed Script & Folder Execution (Unique)
Convert scripts, files, and skill / workflow folders into unreadable, node-bound execution capsules.
Only the target node can decrypt & run them — neither sender nor third parties can read the source. -
⚡ Deterministic Local Execution
Stable, reproducible behavior across macOS / Linux / Windows with a Cython‑compiled secure core. -
🛠️ Native MCP / Skill Integration
Exposes mgc_save / mgc_save_file / mgc_get / mgc_list / mgc_run / mgc_find / mgc_package / mgc_seal_package / mgc_open_webui / mgc_skill as standard MCP tools.
Works out‑of‑the‑box with Copilot, Claude, Trae, IDE Agents. -
🔄 Zero Integration Cost
Any MCP‑compatible agent can immediately use MGC as its secure execution backend — no SDK, no custom code. -
🛡️ Designed for AI Agent Security
Protects human intent, prevents agent overreach, and enforces strict execution boundaries.
Use Cases
1. Protect API Keys & Credentials from AI Agents
Store secrets encrypted. Agents can use them, but never see plaintext.
2. Secure Local Automation
Run Python / Shell / Node scripts locally without exposing sensitive data to AI logs or cloud systems.
3. Sealed Script Distribution
Share scripts with collaborators or devices without exposing source code — they can execute but cannot read.
4. Cross‑Node Execution
Send sealed scripts to trusted remote nodes:
- Sender cannot read the sealed content
- Recipient cannot read the sealed content
- Only the target node can decrypt and execute
5. Local‑First AI Agent Security Boundary
Provides a local security layer for Copilot / Claude / Trae / IDE Agents.
6. Privacy‑Preserving AI Workflows
Enables financial automation, personal data processing, and enterprise internal workflows with privacy protection.
7. Skill / Workflow Folder Sealing
Bulk-import a skill / workflow folder via mgc_save_file(path=<local folder path>), then ship it as a sealed .mgc_file via mgc_seal_package — the recipient node decrypts and runs each script in its own encrypted boundary, with no source code exposure. (1.5.1+) MGC also auto-recognizes the cross-script call graph inside the folder (imports, from-imports, relative-path subprocesses) and routes those calls through sealed execution — no rewrites, no plaintext on disk.
📘 Value Scenarios
MGC Blackbox provides a trusted, encrypted execution boundary for different roles and environments.
Detailed scenario documents:
-
🔐 Sensitive Credentials Authorization
docs/Sensitive_Credentials_Authorization.md -
🧠 Encrypted Cognitive Script Execution
docs/Encrypted_Cognitive_Script_Execution.md -
🌐 Cross‑Node Execution Grant (Encrypted Capability Sharing)
docs/Cross‑Node_Execution_Grant%20(Encrypted_Capability_Sharing).md
Architecture
Crypto Layer & Performance
MGC uses a hybrid cryptographic design:
- AES‑256‑GCM — bulk data encryption
- RSA‑2048/4096 — key encapsulation & node authorization
The crypto layer is Cython‑compiled to:
- Improve AES & RSA performance
- Reduce Python overhead
- Provide a sealed, tamper‑resistant execution boundary
- Maintain deterministic behavior across nodes
Features
- Local encrypted storage
- Encrypted execution
- Store‑once authorization
- Environment migration
- Cross‑agent availability
- Cross‑platform support
- No delete function (manual DB deletion only)
- Script sealing for cross‑node execution
- Cross-script auto-recognition in skill / workflow folders (1.5.1+) —
mgc_save_fileparses the script call graph (import/from-import/ relative-path subprocess) at save time;mgc_runthen routes cross-script calls through sealed execution transparently.
Quick Start
1. Install
pip install mgc-blackbox
2. Start Service
mgc
3. Open WebUI
http://127.0.0.1:57218
4. Store a Secret
from mgc import save
save("openai_key", "sk-xxxx")
5. Execute Scripts Securely
Scripts run inside MGC's encrypted boundary.
Example: Save & Retrieve Secrets
from mgc import save, get
save("openai_key", "sk-xxxx")
print(get("openai_key"))
MCP Integration
MGC exposes a local MCP tools interface:
mgc_save— store a single secret / script / file by explicit contentmgc_save_file— store by local file path; auto-detects single file vs folder; (1.5.1+) also auto-recognizes cross-script calls inside folder saves (import/from-import/ relative-path subprocess, including pure-literal lists likesubprocess.run(['helper.py']))mgc_get— retrieve encrypted contentmgc_list— browse stored entriesmgc_run— execute a stored script in the encrypted boundary; (1.5.1+) cross-script calls inside a folder run transparently as sealed child processesmgc_find— fuzzy-search entries byinfo_owner/diff_1..3(noinfo_type)mgc_package— bundle a folder into a sealed.mgc_filemgc_seal_package— ship a sealed package to a trusted nodemgc_open_webui— open the local WebUImgc_skill— return the bundled skill document (skill_spec.md) for the agent
Compatible with Copilot, Claude, Trae, IDE Agents.
Usage Overview
1. Through AI agents (Skills / MCP)
Agents can store secrets, retrieve encrypted items, execute scripts, and seal scripts.
2. Through system scripts (REST API)
External scripts can fetch encrypted items at runtime.
Security Model
- All data remains local
- No cloud upload
- No plaintext logging
- Deterministic execution
- User‑controlled authorization
- Sandbox mode support (fallback hardware fingerprint for restricted environments)
AI Skill Specification
See: docs/skill_spec.md
Authorization
Integration into any third‑party products or AI agents is free,
but requires official authorization to ensure ecosystem integrity.
Contact: mirgincipher@outlook.com
License
See the LICENSE file for full terms.
© 2026 MirginCipher Team. All rights reserved.
---
Metadata
Release files for mgc-blackbox 1.5.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| mgc_blackbox-1.5.3-cp312-cp312-win_amd64.whl | CPython 3.12 | CPython 3.12 | Windows x86-64 | Details |
| mgc_blackbox-1.5.3-cp312-cp312-manylinux_2_17_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.17+ x86-64 | Details |
| mgc_blackbox-1.5.3-cp311-cp311-win_amd64.whl | CPython 3.11 | CPython 3.11 | Windows x86-64 | Details |
| mgc_blackbox-1.5.3-cp311-cp311-manylinux_2_17_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.17+ x86-64 | Details |
| mgc_blackbox-1.5.3-cp311-cp311-macosx_11_0_arm64.whl | CPython 3.11 | CPython 3.11 | macOS 11.0+ ARM64 | Details |
| mgc_blackbox-1.5.3-cp310-cp310-win_amd64.whl | CPython 3.10 | CPython 3.10 | Windows x86-64 | Details |
| mgc_blackbox-1.5.3-cp310-cp310-manylinux_2_17_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.17+ x86-64 | Details |
| mgc_blackbox-1.5.3-cp310-cp310-macosx_11_0_arm64.whl | CPython 3.10 | CPython 3.10 | macOS 11.0+ ARM64 | Details |
Total release size: 21.7 MB
Release files / mgc_blackbox-1.5.3-cp312-cp312-win_amd64.whl
| Download URL | mgc_blackbox-1.5.3-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1fee6a15a43db71e45105da2e2786bcd3fc2343cf662e7751ce41e17a385e548
|
|
BLAKE2b-256 checksum How to use checksums |
fd77b9683395feb72cfe18c07711ec51d505021f833cde10601fcab0989f3df0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Release files / mgc_blackbox-1.5.3-cp312-cp312-manylinux_2_17_x86_64.whl
| Download URL | mgc_blackbox-1.5.3-cp312-cp312-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
77bbd557a47cf1b3cc8108efb4c6eef84f2d8132a03b19b5584e53cd6468657f
|
|
BLAKE2b-256 checksum How to use checksums |
21ff559bd169578bd77cd203caf3b2eb83d69a49953d02fb5af41e90fd0f18e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Release files / mgc_blackbox-1.5.3-cp311-cp311-win_amd64.whl
| Download URL | mgc_blackbox-1.5.3-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7d3d28845e5b86ad45389e71f9a1bfaf9e18c8dcf6c47557cca741161613b38e
|
|
BLAKE2b-256 checksum How to use checksums |
b57efb70bb1349b268c727c4cccec6d41a3f9d1d668c1744b61be73431b3dc8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Release files / mgc_blackbox-1.5.3-cp311-cp311-manylinux_2_17_x86_64.whl
| Download URL | mgc_blackbox-1.5.3-cp311-cp311-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
f4ec0216df8cc210c4c6bb2ec11c4f070ce41412e52221b385ff75a2874e8628
|
|
BLAKE2b-256 checksum How to use checksums |
bf13e8398cfcae41e22e6a4c12f2da41789969779946c393c86258f44860b7ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Release files / mgc_blackbox-1.5.3-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | mgc_blackbox-1.5.3-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
676e9c3dd5bdce382fb7159d754e78a09fff2bb97895682bdfd4c51ae995a7b1
|
|
BLAKE2b-256 checksum How to use checksums |
ad7d3a7ec0c5641501828af7944246bc986cd0b2eed8995285e00941b761d340
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Release files / mgc_blackbox-1.5.3-cp310-cp310-win_amd64.whl
| Download URL | mgc_blackbox-1.5.3-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a05d95033fc839471977a82fd7bf643c343f60686255552c38275efa531d035d
|
|
BLAKE2b-256 checksum How to use checksums |
645d0b6357c0ce7d43c142b5d6ac58064fad215b7a23aba5c3cec981d7da6430
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Release files / mgc_blackbox-1.5.3-cp310-cp310-manylinux_2_17_x86_64.whl
| Download URL | mgc_blackbox-1.5.3-cp310-cp310-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 4.5 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
6072c49d61217b1a354189638dd8d96e20bcf44f53e52fb6112d9329a675f1b1
|
|
BLAKE2b-256 checksum How to use checksums |
6c4039c75179b5a4eb7072c8cb065baf56b122fde5993a6c762e1b514cfb2929
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Release files / mgc_blackbox-1.5.3-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | mgc_blackbox-1.5.3-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5bea80eea341de2fb0e12c44ba5b7618b3e6d8b8895d760483170228d7fbc4a0
|
|
BLAKE2b-256 checksum How to use checksums |
8609457344e76fc1b7c6a0873677e819cb1f050a298f48b53287303d46f82d8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|