Dataset Viewer

The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.

πŸ›£οΈ Distributed Agent Lock Timeout & Mutex Arbiter MCP

Official Turnkey Model Context Protocol (MCP) Guard & Fine-Tuning Suite (FAANG v2.5 Gold Standard)


βš–οΈ Dual-Licensing & Fair-Use Compliance Notice

  • Community & Evaluation License (CC-BY-NC-4.0): This evaluation repository is 100% free for academic research, education, personal experimentation, and local evaluation.
  • Commercial & Enterprise License: Any integration into commercial software, SaaS applications, proprietary models, or corporate pipelines requires a valid commercial license from emgena.com/trainingslager.
  • Developer Tooling & Regulatory Clarification: Client-side deterministic policy control software only. Emgena provides no financial, legal, medical, or custodian services.
  • Launch Discount: Use code LAUNCH20 at checkout for 20% off all commercial tiers (Single, Team, Enterprise).

πŸ“¦ What is Included in this Package

This repository contains the full 500-sample verified dataset and in-IDE guardrails:

  1. Parquet & JSONL Datasets (distributed_agent_lock_timeout_arbiter_mcp.parquet, chatml_format.jsonl):
    • 500 verified multi-turn trajectories across 30 production incidents.
    • 100% AST Invariance: Zero syntax errors (validated via ast.parse()).
  2. Deterministic MCP Engine (server.py & server_free.py):
    • Zero-dependency stdio engine (<0.15ms latency, 100% offline).
    • Compatible with Cursor IDE, Claude Desktop, and VS Code.
  3. Dual Fine-Tuning Recipes:
    • Apple Silicon Mac (train_mlx.py): Native LoRA fine-tuning for M1/M2/M3/M4 unified memory in 15 minutes.
    • Nvidia CUDA (train_lora_unsloth.py): 4-bit QLoRA fine-tuning on RTX 4090 / 5090 / Colab.
  4. Active AST Tools:
  • execute_tool('acquire_ephemeral_lease'): Acquires an atomic mutual-exclusion lease with mandatory TTL expiration on shared resources.
  • execute_tool('reap_stale_locks'): Automatically releases orphaned mutexes held by crashed or silent agent workers.
  • execute_tool('heartbeat_lease_renewal'): Renews lease TTL only while worker actively reports verified task progress.
  • execute_tool('release_ephemeral_lease'): Releases resource lock immediately upon task completion to unblock waiting peers.
  • execute_tool('detect_deadlock_dependency_cycle'): Detects cycles in resource wait-for graphs and aborts youngest competing lease.
  • execute_tool('query_active_resource_locks'): Returns status, owner, and remaining TTL for all managed resource locks.
  • execute_tool('force_break_lock_by_administrator'): Administrative override to release lock immediately during emergency maintenance.
  • execute_tool('export_lock_contention_metrics'): Exports wait times, lock contention frequencies, and reap events.

πŸš€ Quickstart: Apple Silicon Fine-Tuning (MLX)

pip install mlx mlx-lm
python train_mlx.py

πŸ’» Quickstart: Cursor IDE & Claude Desktop MCP Setup

Add the following to your .cursor/mcp.json or claude_desktop_config.json:

{
  "mcpServers": {
    "distributed_agent_lock_timeout_arbiter_mcp": {
      "command": "python",
      "args": ["server.py"]
    }
  }
}

βš–οΈ License & Commercial Deployment

Distributed under Creative Commons Attribution-NonCommercial 4.0 International (CC-BY-NC-4.0). For commercial enterprise deployment rights, BGB Β§ 97 UrhG indemnification, and EU AI Act Annex IV audit certificates, visit: πŸ‘‰ emgena.com/trainingslager

Downloads last month
36