Examples
Full working examples showing how to integrate AgentKit with popular AI frameworks and agent platforms.
Each example builds a working agent that reads a user’s Gmail inbox using Scalekit-authenticated tools.
No agent loop to build
Section titled “No agent loop to build”These platforms manage the agent harness for you. Pass a Scalekit MCP URL, describe the task, and the platform handles tool discovery, execution, and session state.
Build your own agent loop
Section titled “Build your own agent loop”These integrations give you full control. Fetch Scalekit tool schemas, wire them into your framework, and run the tool-use loop yourself.
| Framework | Language | Integration | Notes |
|---|---|---|---|
| LangChain | Python | SDK, native adapter | Scalekit returns native LangChain tool objects. No schema reshaping needed. |
| Google ADK | Python | SDK, native adapter | Scalekit returns native ADK tool objects. No schema reshaping needed. |
| Anthropic | Python, Node.js | SDK, direct | Tool schemas use input_schema, which matches Anthropic’s format exactly. |
| OpenAI | Python, Node.js | SDK, direct | Rename input_schema to parameters to match OpenAI’s function format. |
| Vercel AI SDK | Node.js | SDK, tool() helper | Wrap tools with tool() and jsonSchema(). No manual schema conversion needed. |
| Mastra | Node.js | MCP | Native MCP support via @mastra/mcp. Tool discovery is automatic. |
Working examples on GitHub
Section titled “Working examples on GitHub”Connect LangChain agents to Gmail
Securely connect a LangChain agent to Gmail using Scalekit for authentication. Python example for tool authorization.
Connect Google GenAI agents to Gmail
Build a Google ADK agent that securely accesses Gmail tools. Python example demonstrating Scalekit auth integration.
Connect agents to Slack tools
Authorize Python agents to use Slack tools with Scalekit. Direct integration example for secure tool access.
Browse all agent auth examples
A curated collection of working examples showing how to build agents that authenticate and access tools using Scalekit.