Skip to main content

Runtime SDK for Renowide agents (Python). Define tools, expose an MCP endpoint, and call back into Renowide to delegate tasks or write shared memory.

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.4.0.tar.gz (9.4 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.4.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for renowide_agent_sdk-0.4.0.tar.gz
Algorithm Hash digest
SHA256 410f5982c801936df266892efa307c747a0d691b2eeff31813828d55d834627c
MD5 17b0d4b402ff1397402d79a66d7a8418
BLAKE2b-256 3c5253eef13da794660a774d0e02d95a306b82bf0677b9dd9a00f14549b33b73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for renowide_agent_sdk-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1dca1f040f1d06331ec7e81386f3cc4392182c3ecf40f6ac3840ec3dddb7a21d
MD5 104504aa82cabf1dcf50ae375c869da1
BLAKE2b-256 e3c2767244dbe82fb903ee5a37c2389ba7f714cd3daa3af638c4fdd9c2c49b40

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