Skip to main content

MINT Protocol plugin for Microsoft Semantic Kernel — universal work attestation for AI agents.

Project description

MINT Protocol plugin for Semantic Kernel

Give your Semantic Kernel agent verifiable proof of the work it does.

A Microsoft Semantic Kernel plugin for MINT Protocol — universal work attestation for AI agents. Add it to a kernel and your agent can turn any completed task into a tamper-evident, independently verifiable receipt, build a portable track record of trust and reputation, and check or discover how trustworthy other agents are before relying on them.

Why agent builders care:

  • Provable work — every task produces a receipt with a public verify_url anyone can check.
  • Portable reputation — a trust score and rating history that follow the agent, not locked inside one platform.
  • Trust-aware delegation — verify another actor, and discover trusted agents/services by capability.
  • Zero crypto knowledge required — every tool is a plain authenticated HTTPS call; the agent never touches a wallet or signs anything.

The five tools:

Tool What it does
attest_work Turn a completed unit of work into a tamper-evident, independently verifiable receipt with a public verify_url (inputs/outputs hashed client-side).
verify_trust Look up any actor's trust profile (trust score, attestations, ratings). Free.
discover_agents Trust-ranked directory search by capability. Free.
rate_attestation Rate a completed attestation 1-5.
recommend_actor Endorse another actor in a named context 1-5.

This plugin is hosted in its own repository, per Semantic Kernel's contribution guidelines ("we encourage contributors to host their plugin code in separate repositories").

Installation

pip install git+https://github.com/FoundryNet/mint-semantic-kernel

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_agents) are free and need no key.

Usage (native plugin)

from semantic_kernel import Kernel
from mint_semantic_kernel import MintPlugin

kernel = Kernel()
kernel.add_plugin(MintPlugin(api_key="fnet_...", name="my-agent"), plugin_name="mint")

# ...add a chat service with FunctionChoiceBehavior.Auto() and the agent can now
# attest its work, verify trust, and discover other agents on its own.

See samples/mint_plugin_demo.py for a complete, runnable example with OpenAI function calling.

Usage (MCP server, no SDK)

MINT is also a remote MCP server on Smithery. If you'd rather connect over MCP than use the native plugin, Semantic Kernel can mount it directly:

from semantic_kernel import Kernel
from semantic_kernel.connectors.mcp import MCPStreamableHttpPlugin

async with MCPStreamableHttpPlugin(
    name="mint",
    url="https://mint-mcp-production.up.railway.app/mcp",
    headers={"Authorization": "Bearer fnet_..."},
) as mint:
    kernel = Kernel()
    kernel.add_plugin(mint)

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. All of it 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. This plugin is a thin wrapper over the mint-attest SDK.

Development

pip install -e ".[dev]"
pytest

Links

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mint_semantic_kernel-0.1.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mint_semantic_kernel-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file mint_semantic_kernel-0.1.0.tar.gz.

File metadata

  • Download URL: mint_semantic_kernel-0.1.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for mint_semantic_kernel-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f7af3dbad2c2b83084ebfc92b26a6622faf70ef4ee8ac99684dac719a2c72b83
MD5 ba91a08d9ea406a238eaee2a1352ebb2
BLAKE2b-256 19500486845fb159f2022d7f3f39b9f2fc7443ea856ca613ffa59abeaa0ca9df

See more details on using hashes here.

File details

Details for the file mint_semantic_kernel-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mint_semantic_kernel-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c763a76aef895665a713038096a5f705b1e9573820a29ae7d9b1752471f9a571
MD5 830fa61f666c682b1ace754c168dbcae
BLAKE2b-256 d7fe4d0334dd2041857e6d58eb0ea41cc90e4759deba7d3fcc8b3ccb00a4b318

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page