| title | AgentKit code samples | ||||
|---|---|---|---|---|---|
| description | Full working examples showing how to integrate AgentKit with popular AI frameworks and agent platforms. | ||||
| sidebar |
|
||||
| tableOfContents | false |
import { CardGrid, LinkCard } from '@astrojs/starlight/components'; import FoldCard from '@components/ui/FoldCard.astro';
Each example builds a working agent that reads a user's Gmail inbox using Scalekit-authenticated tools.
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.
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. |
<FoldCard title="Connect LangChain agents to Gmail" iconKey="langchain" href="https://github.com/scalekit-inc/sample-langchain-agent" variant="secondary" target="_blank" showCta={false} clickable={true}
Securely connect a LangChain agent to Gmail using Scalekit for authentication. Python example for tool authorization.
<FoldCard title="Connect Google GenAI agents to Gmail" iconKey="google" href="https://github.com/scalekit-inc/google-adk-agent-example" target="_blank" variant="secondary" showCta={false} clickable={true}
Build a Google ADK agent that securely accesses Gmail tools. Python example demonstrating Scalekit auth integration.
<FoldCard title="Connect agents to Slack tools" iconKey="python" href="https://github.com/scalekit-inc/python-connect-demos/tree/main/direct" target="_blank" variant="secondary" showCta={false} clickable={true}
Authorize Python agents to use Slack tools with Scalekit. Direct integration example for secure tool access.
<FoldCard title="Browse all agent auth examples" iconKey="github" href="https://github.com/scalekit-developers/agent-auth-examples" variant="secondary" target="_blank" showCta={false} clickable={true}
A curated collection of working examples showing how to build agents that authenticate and access tools using Scalekit.