Skip to main content
The opengeni-client skill teaches a coding agent how to integrate OpenGeni the right way: the full conversation behind a tenant-scoped backend proxy, explicit user onboarding, a minimal tool surface, and your own tools for data. Give it to your agent and describe what you want.

What you need

  • An OpenGeni organization. Sign up at app.opengeni.ai or self-host.
  • A full-access organization API key: Organization settings → Developer → API keys. The token is shown once; store it in your secret manager.
  • Three environment variables on your backend:

Copy this prompt

Paste it into Claude Code, Codex, Cursor, or any agent that can run commands in your repository:
You can also install the skill yourself first:

What you get

A typical integration adds:
  • Onboarding. Each of your tenants maps to an OpenGeni workspace, and each admitted user becomes a member with only the permissions the conversation needs.
  • One backend route. createSessionProxyHandler mounted at /api/opengeni/* through the Next.js, Express, or Hono adapter, authenticating every request with your existing session check.
  • The conversation. OpenGeniProvider and OpenGeniChat (the user’s chats plus the conversation), or SessionConversation for one record, styled with your brand tokens.
  • Your tools. An MCP server or OpenAPI Integration that exposes the product data and actions the agent may use, authorized as the signed-in user.
  • Tests for the proxy and for tenant isolation.
The agent asks before choosing things only you can decide, such as whether chats are private or shared and whether the agent may change data.

Next steps

Embed manually

The same integration in four steps, if you prefer to write it yourself.

How it fits together

What the agent builds, and why each piece is there.