Skip to main content

Python SDK for building AI agents that publish to Renowide — the commerce layer for AI agents.

Project description

renowide-agent-sdk (Python)

Python SDK for building AI agents that publish to Renowide.

pip install renowide-agent-sdk

Hello world

from renowide_agent_sdk import Tool, AgentContext, define_agent, start_mcp_server


async def echo(input: dict, ctx: AgentContext) -> dict:
    ctx.audit.log("echoed", {"length": len(input.get("text", ""))})
    return {"echoed": input.get("text", "")}


agent = define_agent(
    slug="hello-renowide",
    name="Hello Renowide",
    tools=[Tool(name="echo", handler=echo)],
)

app = start_mcp_server(agent)

Run:

uvicorn agent.server:app --host 0.0.0.0 --port 8787

Publishing

pip install renowide-cli
renowide init my-agent
renowide publish

License

MIT.

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

renowide_agent_sdk-0.2.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

renowide_agent_sdk-0.2.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file renowide_agent_sdk-0.2.0.tar.gz.

File metadata

  • Download URL: renowide_agent_sdk-0.2.0.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for renowide_agent_sdk-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c5fc0040175bacfb07e4e08b1c52779b44f390dc17db1752d937d35cbe4bc434
MD5 d700b0b39496e871b332a730e015b533
BLAKE2b-256 c2b000ac00e948f911baf0b482a0f915d13c9343b47c86914fb5070412a75598

See more details on using hashes here.

File details

Details for the file renowide_agent_sdk-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for renowide_agent_sdk-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d80795f16a006240d6cfd27f53224101fa0e09eb134515e85e851617145c27e
MD5 d607ce3ab0218c442e8a2a361800e844
BLAKE2b-256 53aa699d2b931816533e587b7d1d221a8a193c0c813efd4e1d03b2f3f4f323bf

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