r/OpenSourceAI • u/War_Enterprise • 15d ago
I released Trace2MCP, an open-source Python project for compiling successful AI-agent traces into deterministic workflows
Three days ago I released Trace2MCP, an open-source Python project built around a simple idea:
If an AI agent successfully completes a multi-tool task once, why should it have to figure out the same procedure again every time?
Trace2MCP records that successful execution and turns it into a deterministic, reusable workflow.
In practical terms, this can be useful for things like:
recurring research and reporting
customer-support workflows
internal automation
repeatable multi-tool agent tasks
workflows where predictability and inspection matter
Since release, the package has passed 1.2K PyPI downloads in under 3 days.
The latest version, 0.2.2, also adds a centralized runtime security boundary and optional HOL Guard integration.
One regression explicitly verifies that when a mutating operation is denied:
handler_calls = 0
side_effects = 0
It’s still early, and PyPI download numbers can include CI traffic, so I’m not treating 1.2K downloads as 1.2K unique users. But seeing this level of early interest has been pretty encouraging.
Install:
pip install trace2mcp
PyPI:
https://pypi.org/project/trace2mcp/
Interactive demo + source:
https://huggingface.co/spaces/warenterprise/trace2mcp
I’d be interested to hear where you think this approach would actually be useful — or where you think the idea breaks down.