
Agentic Compute
io.github.codelad1304由 GitHub 帳號 codelad1304 發布v1.1.4更新於 Oct 25, 2026
Secure Python sandbox for data optimization and Matplotlib rendering via x402 microtransactions.
發布方自己的服務:agentic.no
概覽
付費 Python 沙箱 MCP 伺服器,在隔離的 Azure 工作階段中執行程式碼、清理 CSV、最佳化模型並繪圖,每次呼叫收取 USDC。
- 可以做什麼
- 在隔離的 Azure 沙箱中執行任意 Python 程式碼並回傳標準輸出與錯誤,單次上限 8KB(execute_code)。清理原始 CSV 文字:把 NaN 轉為 null、正規化表頭並刪除空列(sanitize_csv)。擬合與最佳化數值模型,回傳參數和 MAPE 分數(optimize_ga)。依座標資料產生圖表並直接存成本地 PNG,不經過模型上下文(generate_plot)。
- 適用情境
- 適合需要把繁重運算、資料清理或曲線擬合移到本機之外,或希望把圖表存成檔案而不消耗上下文 token 的情境。適用於已設定好加密錢包、可按次付費的代理程式。
- 執行需求
- 以本地 Python 程序執行(PyPI 套件 agentic-compute-mcp-codelad1304),另需自行執行 FastAPI 後端。需要 Azure Container Apps Dynamic Sessions 集區端點(AZURE_POOL_ENDPOINT)、錢包位址(MY_WALLET_ADDRESS),以及提供給 MCP 用戶端的已儲值 EVM 私鑰(EVM_PRIVATE_KEY)。僅限桌面端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Agentic Compute,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
🏆 Track 01 Hackathon Criteria Addressed
This project strictly adheres to the Razorpay Track 01 requirements for AI-agent storefronts:
🔒 Gated (Transactable End-to-End):
AI Agents are charged per API call. If the wallet is empty, the FastAPI middleware intercepts the request and throws a graceful 402 Payment Required. If funded, it verifies the crypto token and settles USDC via the Base network.
⏱️ Bounded (Zero Resource Exhaustion):
All sandboxes run inside Azure Container Apps Dynamic Sessions. Code execution is strictly bounded to a 15-second maximum timeout limit enforced by Pydantic models. Malicious memory-clogging scripts are instantly killed.
📊 Explainable (Audit Trail):
Every successful and failed transaction generates an immutable AUDIT_RECORD locally, detailing the exact price_usdc, duration_ms, and execution exit code.
🏗️ Architecture & File Structure
🖼️ Feature Highlight: Zero-Context Image Rendering
Handling base64 image strings in LLM context windows is notoriously unreliable and eats up thousands of tokens. agentic-compute-mcp solves this locally.
When Claude calls generate_plot, the Azure sandbox generates the chart and streams the payload back to the MCP client. The client automatically intercepts the payload, decodes it, and saves it directly to your local machine as optimized_load_trend.png—completely bypassing the LLM context window to prevent token exhaustion.
🌙 Developer Note: The 2 AM Story & Graceful Failures
The Graceful Failure: To meet the Track 01 requirement for agent-to-agent commerce, the backend is designed to fail gracefully. If an agent attempts to execute code without funding, the FastAPI middleware intercepts the payload and throws a clean 402 Payment Required error. This prevents compute theft and allows the agent to automatically reroute to the /verify and /settle endpoints.
The 2 AM Debug: We built a strict 5-second Pydantic execution bound to prevent malicious resource exhaustion. But at 2 AM, our trivial Python test scripts kept timing out. We realized that to guarantee security, Azure Dynamic Sessions provisions a 100% fresh, isolated microVM for every request—resulting in an 8-second cold-start latency. By bumping the MCP client boundary to 15 seconds, we allowed the sandbox to boot, run the code, and return the result in exactly 5.7 seconds, proving our boundaries worked without suffocating the cloud infrastructure.
⚙️ Installation & Setup
You need to run two components: the Backend Server and the MCP Client.
- Backend Server (main.py) Setup The backend handles the x402 payment gate and routes code to Azure.
Install dependencies:
Create a .env file based on .env.example and add your configurations:
Code snippet:
Run the FastAPI server locally:
- MCP Client (mcp_client.py) Setup To install this server for Claude Desktop, add the following to your claude_desktop_config.json:
Note: Make sure to replace the path and provide a funded EVM wallet key to allow Claude to process x402 microtransactions.
🧰 Available MCP Tools
This server exposes the following endpoints. Agents must evaluate the required capability and cost before invoking.
🤖 System Prompt Instructions (For Developers)
Copy and paste this snippet into your agent's system prompt or .cursorrules file to enable autonomous tool usage:
License
MIT License - see LICENSE file for details.
來源:README.md,提交 4bbf4c5
工具
0版本歷史
1- v1.1.4最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Agentic 整合
agentic.no
no.agentic官方發布者
一個遠端 MCP 端點,協助助理依模型尋找 AI 推論的 GPU 賣家,並依價格由低到高排序,透過 x402 按次付費。
Agentic Engineering Periodic System
academy.ase官方發布者
使用編碼代理建立軟體的實踐,每項實踐都附帶一個可在你的程式碼庫中檢查的測試。AI 翻譯
Agentic RL: Credit Assignment and CLI Agents
space.hf.hoyant-su-agentic-rl官方發布者
讓助理依監督方式、critic 與任務設定篩選代理強化學習方法,並取得來源連結與 BibTeX。

Agentic Video
由 GitHub 帳號 tlq5l 發布
本機 stdio MCP 伺服器,讓只能讀文字與圖片的助理檢查影片檔:聯絡表、轉錄、剪接點、響度與影音同步檢查。

Agentic Os
由 GitHub 帳號 kinnister 發布
唯讀、不執行任何操作的 MCP 伺服器,向助理提供 agentic-os 的治理、SDLC 與品質工程方法論。