Skip to main content

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.

License Platform MCP PyPI

📌 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_get / mgc_list / mgc_run / mgc_find / mgc_package / mgc_seal_package / mgc_open_webui 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(info_type='file', content=<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.


📘 Value Scenarios

MGC Blackbox provides a trusted, encrypted execution boundary for different roles and environments.
Detailed scenario documents:


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

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 secrets, scripts, files, or folder snapshots
  • mgc_get — retrieve encrypted content
  • mgc_list — browse stored entries
  • mgc_run — execute a stored script in the encrypted boundary
  • mgc_find — fuzzy-search entries by info_type / info_owner / diff_1..3
  • mgc_package — bundle a folder into a sealed .mgc_file
  • mgc_seal_package — ship a sealed package to a trusted node
  • mgc_open_webui — open the local WebUI

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.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for mgc-blackbox 1.5.0
File
mgc_blackbox-1.5.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
mgc_blackbox-1.5.0-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.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
mgc_blackbox-1.5.0-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.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
mgc_blackbox-1.5.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
mgc_blackbox-1.5.0-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.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details

Total release size: 21.2 MB

Release files / mgc_blackbox-1.5.0-cp312-cp312-win_amd64.whl

Download URL mgc_blackbox-1.5.0-cp312-cp312-win_amd64.whl
Size 1.2 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
211b85f6a7c616c6811683fe901feb8f1df6026400a728ae562b68656440a202
BLAKE2b-256 checksum
How to use checksums
c548dc75d32b06da94fc9d07141ba57aefcb661ebd11d5041db0d38f1a75b2bf
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.0-cp312-cp312-manylinux_2_17_x86_64.whl

Download URL mgc_blackbox-1.5.0-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
0c6610a41db53908e8da5a6074459939a3c202ff05b1067b5f01c97a58289b2c
BLAKE2b-256 checksum
How to use checksums
21b545302436a2f9aac859125f62cf14bd36a350beb9b72e1be84272302c9251
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.0-cp311-cp311-win_amd64.whl

Download URL mgc_blackbox-1.5.0-cp311-cp311-win_amd64.whl
Size 1.2 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
5ec06488db7bd5e397a2bba4f8920522a98b6007aa134259c3f51e79d1b1ddd6
BLAKE2b-256 checksum
How to use checksums
1edbdfdfefb2f8217b85d22991f23e53433d527e253e8a43f7b04fac5fcabab6
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.0-cp311-cp311-manylinux_2_17_x86_64.whl

Download URL mgc_blackbox-1.5.0-cp311-cp311-manylinux_2_17_x86_64.whl
Size 4.6 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
ce63165ffe58dd04756d483142ffa1e5b169f7502818656b6152282d22e53ce3
BLAKE2b-256 checksum
How to use checksums
c0d27b3100ab4a6deea8ad6d7e9a59892f2794f560c9dcc8fc4745f3037c8c61
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.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL mgc_blackbox-1.5.0-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
f03a56f96dbceaac21475698ef427be3fb6ff01f42038e4bd7f8cc35b126b1e9
BLAKE2b-256 checksum
How to use checksums
134a92a14379e8dcc6cbb6a5038fd0e62566be262ae93cc433505439df661a59
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.0-cp310-cp310-win_amd64.whl

Download URL mgc_blackbox-1.5.0-cp310-cp310-win_amd64.whl
Size 1.2 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
019537cadefb8307d8d213cf88403c8478756168f1e6c9c941dadf65a285aa9f
BLAKE2b-256 checksum
How to use checksums
8b9002acfe5151063fbfc48598e227389b7bff53451522f1d74e3e768f7d43b6
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.0-cp310-cp310-manylinux_2_17_x86_64.whl

Download URL mgc_blackbox-1.5.0-cp310-cp310-manylinux_2_17_x86_64.whl
Size 4.4 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
8dda0003065ae06a5c48fd66a25ba8433f9a8a87e2ed8bbc6d42096790421e60
BLAKE2b-256 checksum
How to use checksums
d0c7e546dd76938562f4a57b1d33d0a09442011075a520630073967328004f80
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.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL mgc_blackbox-1.5.0-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
98618a10bb19b8444b4c797e917832644607da7bfd80d5b4763f78490ef2c9db
BLAKE2b-256 checksum
How to use checksums
e240982187601838155a15c0fd5ce40effcfac940d61b6aee8fb7277447c8f88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.15

Release history Release notifications | RSS feed

1.5.3

8 release files

1.5.2

8 release files

1.5.1

8 release files

This release

1.5.0 This release

8 release files

1.4.10

8 release files

1.4.9

8 release files

1.4.8

8 release files

1.4.7

8 release files

1.4.6

8 release files

1.4.5

8 release files

1.4.4

8 release files

1.4.3

8 release files

1.4.2

8 release files

1.4.1

8 release files

1.4.0

8 release files

1.3.3

8 release files

1.3.0

8 release files

1.0.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page