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.1.0.tar.gz (6.9 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.1.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for renowide_agent_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8980508cbbc01c9cb316558fe0fc2cee8e5e4248df57342d32f529f30871e564
MD5 2628c7a5d8b0cca8e7f0da45940fe7a8
BLAKE2b-256 fe7882ae7371e9dfd339264dfcb52f1a37687b92950f4d96106aa42f57d84809

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for renowide_agent_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c24df5f5722d854abf00cf9f0aa72382524f6af125a790411b4f57d07d5857bb
MD5 8c723cffe9a972b2a189e43e152d3352
BLAKE2b-256 c781a9419236c5f317dfec779106836fcad7ae592662f6fbac0b3d4fd44eb3f1

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