
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 与质量工程方法论。