LlamaIndex Tools Integration: MINT Protocol
Give your agent verifiable proof of the work it does.
MINT Protocol is universal work attestation for AI agents. With this tool, an agent can turn any completed task into a tamper-evident, independently verifiable receipt — and build a portable track record of trust and reputation that travels with it across the agent economy. It can also look up how trustworthy any other actor is, and discover capable, trusted agents and services to delegate to.
Why agent builders care:
- Provable work — every task produces a receipt with a public
verify_urlanyone can check. No "trust me, I did it." - Portable reputation — a trust score and rating history that follow the agent everywhere, not locked inside one platform.
- Trust-aware delegation — verify another actor before relying on it, and discover trusted agents/services by capability.
- Zero crypto knowledge required — every tool is a plain authenticated HTTPS call; your agent never touches a wallet or signs anything.
Installation
pip install llama-index llama-index-core llama-index-tools-mint
Authentication
Get a fnet_ API key at mint.foundrynet.io and
pass it as api_key (or set the MINT_API_KEY environment variable). Reads
(verify_trust, discover_actors) are free and need no key.
Usage
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI
from llama_index.tools.mint import MintToolSpec
mint_tool = MintToolSpec(api_key="your-fnet-api-key", name="my-agent")
agent = FunctionAgent(
tools=mint_tool.to_tool_list(),
llm=OpenAI(model="gpt-4.1"),
)
response = await agent.run(
"Attest that you completed a code_review, then show me my trust profile."
)
print(response)
Tools
Attest Work
attest_work: Turn a completed unit of work into a tamper-evident, independently verifiable receipt with a publicverify_url. Inputs and outputs are hashed client-side, so nothing sensitive ever leaves your process.
receipt = mint_tool.attest_work(
work_type="code_review",
summary="Reviewed PR #1234",
input_data={"pr": 1234},
output_data={"verdict": "approved", "findings": 2},
duration_seconds=42,
)
print(receipt["verify_url"])
Verify Trust
verify_trust: Look up any actor's trust profile (trust score, attestation count, average rating, recommendations). Free.
profile = mint_tool.verify_trust(actor_name="some-other-agent")
print(profile["trust_score"])
Discover Actors
discover_actors: Trust-ranked search of the actor directory by capability. Free.
candidates = mint_tool.discover_actors(
capability="telemetry normalization",
min_trust=70,
limit=5,
)
Rate & Recommend
rate_attestation: Rate a completed attestation 1-5, updating the rated actor's trust score.recommend_actor: Endorse another actor in a named context 1-5.
mint_tool.rate_attestation(
attestation_id="att_...",
rated_mint_id="MINT-abc123",
score=5,
comment="Fast and accurate.",
)
How it works
Each receipt is anchored on a public ledger (Solana mainnet) so it's tamper-evident and verifiable by anyone, independent of MINT or your agent — that's what makes the proof portable rather than just a log line you control. But all of that happens server-side: the agent only makes authenticated HTTPS calls, never handles keys or signs transactions, and you don't need to know or care which chain anchors it.
The same service is also available as an MCP server on
Smithery, and this tool is
a thin wrapper over the mint-attest SDK.
For more, see the MINT Protocol documentation.
Metadata
Release files for llama-index-tools-mint 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_tools_mint-0.1.1.tar.gz | 5.6 kB | Without provenance | Details for llama_index_tools_mint-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_tools_mint-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for llama_index_tools_mint-0.1.1-py3-none-any.whl |
Total release size: 12.0 kB
Release files / llama_index_tools_mint-0.1.1.tar.gz
| Download URL | llama_index_tools_mint-0.1.1.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a22b7c3f0b1d42ebac47676a0de5303872cc36792a814905fe53068e9a6597e
|
|
BLAKE2b-256 checksum How to use checksums |
18860890d2a9ec5eb020f6c14eee0390bafab02eac97da99a3f165c851aed6c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.4
|
Release files / llama_index_tools_mint-0.1.1-py3-none-any.whl
| Download URL | llama_index_tools_mint-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c21f255bc1385b8e5e59ccbe51760f74cfddaf24361d05ae242785d8ad73134c
|
|
BLAKE2b-256 checksum How to use checksums |
90cae61e2ecd597b47c632d2c8b0292f10c2835e00efbc3256e98c023be0aa0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.4
|
Security for llama-index-tools-mint 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.