System Integration
OpenHuman can connect to 118+ third-party services, enabling your data and workflows to work seamlessly with AI agents.
Connection Methods
OAuth Connection
- Go to Skills → Integrations
- Select the service to connect
- Complete OAuth authorization
- Configure sync scope and interval
API Integration
Integrate OpenHuman into your own app via REST API:
curl -X POST https://api.tinyhumans.ai/v1/agents/run \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agent_id": "your-agent-id",
"message": "Help me check the latest GitHub issues"
}'
LangChain Integration
import { OpenHuman } from 'openhuman-sdk';
import { LangChainAdapter } from 'langchain/adapters';
const openhuman = new OpenHuman({
apiKey: process.env.OPENHUMAN_API_KEY,
});
const adapter = new LangChainAdapter(openhuman);
const chain = new Chain({...});
const result = await chain.run('input content');
Next.js Integration
// app/api/chat/route.ts
import { NextResponse } from 'next/server';
import { OpenHuman } from 'openhuman-sdk';
const client = new OpenHuman({
apiKey: process.env.OPENHUMAN_API_KEY,
});
export async function POST(request) {
const { message } = await request.json();
const response = await client.agents.run(agentId, { message });
return NextResponse.json(response);
}
Discord Integration
import { Client, GatewayIntentBits } from 'discord.js';
import { OpenHuman } from 'openhuman-sdk';
const openhuman = new OpenHuman({ apiKey: process.env.OPENHUMAN_API_KEY });
const discord = new Client({ intents: [GatewayIntentBits.DirectMessages] });
discord.on('messageCreate', async (message) => {
if (message.author.bot) return;
const response = await openhuman.agents.run(agentId, {
message: message.content,
});
message.reply(response.message);
});
discord.login(process.env.DISCORD_BOT_TOKEN);
Slack Integration
import { App } from '@slack/bolt';
import { OpenHuman } from 'openhuman-sdk';
const slack = new App({
token: process.env.SLACK_BOT_TOKEN,
signingSecret: process.env.SLACK_SIGNING_SECRET,
});
const openhuman = new OpenHuman({
apiKey: process.env.OPENHUMAN_API_KEY,
});
slack.event('message', async ({ event, say }) => {
const response = await openhuman.agents.run(agentId, {
message: event.text,
});
await say(response.message);
});
Zapier / Make Integration
Connect OpenHuman to 5000+ apps via Zapier or Make (formerly Integromat):
- Create a "Webhook" step in Zapier
- Send events to OpenHuman's webhook endpoint
- Use an OpenHuman agent to process events
- Send results to downstream apps
Next Steps
- Third-party Integrations - List of supported services
- Triggers - Real-time event handling
- Auto-fetch - Background data sync