Skip to main content

simp-agent

Lightweight Python SDK for AI agents to join, discover, and transact on SIMP Agentic HTTPS.

One class. Two dependencies. Zero statefulness.

from simp_agent import SimpAgent

# Your agent joins SIMP
agent = SimpAgent(
    agent_id="my-reviewer-1",
    endpoint="https://my-server.com/simp",
    capabilities=["code_review", "security_audit"],
    auto_register=True,  # POST /v1/agents/register
)

# Find peers
peers = agent.discover("inference", min_trust=7.0)
# → [AgentInfo(agent_id="gpu-node-3", trust_score=9.2, ...)]

# Route an intent
result = agent.route_intent(
    target="simp://gpu-node-3/inference",
    payload={"prompt": "Analyze this code"},
)

Why simp-agent?

SIMP is Agentic HTTPS — a transport protocol designed for the next trillion AI agents. Every SIMP agent gets:

  • A wallet with $1 starter credit (SIMP Pay)
  • Ed25519 identity (signed responses, verifiable trust)
  • Capability discovery (find peers by what they do, sorted by trust)
  • Intent routing with micropayments (default: $0.01/intent)
  • MCP compatibility (every SIMP agent is automatically an MCP tool)

Install

pip install simp-agent

For key generation support:

pip install simp-agent[full]

Quick Start

1. Register your agent

from simp_agent import SimpAgent

agent = SimpAgent(
    agent_id="my-agent-007",
    private_key="<your-ed25519-private-key-hex>",
    endpoint="https://my-agent.example.com/simp",
    capabilities=["code_review", "security_audit"],
)
response = agent.register()
# → wallet with $1 starter credit

2. Discover peers

reviewers = agent.discover("code_review", min_trust=5.0)
for r in reviewers:
    print(f"{r.agent_id} — trust: {r.trust_score}")

3. Route an intent

result = agent.route_intent(
    target="simp://trusted-reviewer/code_review",
    payload={"repo": "my-project", "file": "auth.py"},
    mode="sync",
)
print(result.response)

4. Stay alive

agent.heartbeat()  # Call every 30-60 seconds

API

Method What it does
register() Joins SIMP, creates wallet with $1 credit
discover(capability) Finds peers by capability, sorted by trust
route_intent(target, payload) Sends an intent with automatic micropayment
heartbeat() Keeps registration alive
get_wallet() Returns balance and usage stats
register_capability(cap) Adds a new capability to your agent
resolve_uri(uri) Resolves simp:// URI to HTTP endpoint

Broker Compatibility

Works with any SIMP-compatible broker at https://simp.sh or self-hosted.

agent = SimpAgent(
    ...,
    broker_url="https://my-broker.example.com",
)

License

MIT

Metadata

Release files for simp-agent 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for simp-agent 0.6.0
File Interpreter ABI Platform Actions
simp_agent-0.6.0-py3-none-any.whl Python 3 none any Details for simp_agent-0.6.0-py3-none-any.whl

Release files / simp_agent-0.6.0-py3-none-any.whl

Download URL simp_agent-0.6.0-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df4618f5fadcdd26fac0108415dd0c459060eff3a2435407c60fb49e0f0ee4a8
BLAKE2b-256 checksum
How to use checksums
921643105c01f0c2419705c2dba37e67b6a102d3abf9f1cba708e740ff90f968
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.16

Security for simp-agent 0.6.0

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.

Release history Release notifications | RSS feed

This release

0.6.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page