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

Uploaded Python 3

File details

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

File metadata

  • Download URL: renowide_agent_sdk-0.4.1.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for renowide_agent_sdk-0.4.1.tar.gz
Algorithm Hash digest
SHA256 2689c2517bc2ff1bfc8358f2c3b1189ddc7df7811d54eff30b950c8d97d09338
MD5 401adf3ca37a3721ed0349713c46e53c
BLAKE2b-256 b1c12ca807b932cf5c872bc5a875cdd69e8b21bf981d0d382f4fe22a784358b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for renowide_agent_sdk-0.4.1.tar.gz:

Publisher: publish-python.yml on Renowide/renowide-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for renowide_agent_sdk-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4b536972e9edcac61387244522c6ed4bafec01364e142e03199743057c52ceff
MD5 83cc80de654cd4ce34aa62e3c565ab20
BLAKE2b-256 d70f1b464373714015fe88d05e7b428e75e9b450c0b7fa1e2bd12f1e8b707c6e

See more details on using hashes here.

Provenance

The following attestation bundles were made for renowide_agent_sdk-0.4.1-py3-none-any.whl:

Publisher: publish-python.yml on Renowide/renowide-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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