https://linen.dev logo
Proxy setup for tool calling and billing
# 🖥│support-forum
f
Hi I am building a SaaS platform where I want to integrate Composio as the tool execution layer. The platform uses openclaw runtime for agents. I wanted to better understand if there is a way I can proxy all the tool calls a user's agent makes through my backend and bill them fairly for what they consume? That would mean overridng some sort of baseUrl and the API Key as well so the user's instance won't have it but my backend would control the actual Composio API Key.
u
Hi @Flux , thanks for reaching out — interesting project. Quick context before we go deeper: Composio has two surfaces, and the right one depends on your setup. 1. Platform (with Tool Router) — built for exactly this: multi-tenant SaaS, proxying tool calls, etc. The catch is Platform comes with its own runtime orchestration, so plugging in an external runtime like OpenClaw isn't straightforward. 2. "For You" — works fine with external runtimes like OpenClaw, but it's tied to a personal account and not built for serving multiple end-users. So the trade-off: Platform gives you the multi-tenancy + billing, For You gives you OpenClaw compatibility. To point you in the right direction, could you share: - How you're planning to wire OpenClaw and Composio together? - What the end-user flow looks like on your platform? Thanks!
2 Views