npm install @brinpage/agents

AI agents for production teams

Build reliable agents with context modules, tools, instructions and dynamic routing. You install one package and manage everything from Brinpage Platform.

Brinpage Platform: agents with modules and tools

One control plane for your agents

Brinpage Agents are configured entirely from platform.brinpage.com. You create agents, attach context modules, connect tools, define instructions, and set routing rules from the UI.

Your app only needs to call the Brinpage API. The full integration steps live on docs.brinpage.com.

1

Get your license key

Create a workspace in Brinpage Platform and generate a license key for your app.

2

Add env vars

env
BRINPAGE_LICENSE_KEY=bp_xxxx
BRINPAGE_API_BASE=https://platform.brinpage.com

This authorizes your requests to Brinpage Platform. Agent behavior is managed from the panel, not in your code.

/app/api/ask/route.tsserver
import { NextResponse } from "next/server"
import { ask } from "@/lib/brinpage"

export async function POST(req: Request) {
  const { messages, question, context } = await req.json()

  // Brinpage Platform handles agent configuration:
  // context modules, tools, instructions, and routing.
  const result = await ask({ question, messages, context })

  return NextResponse.json(result)
}

ConnectConnectonce.once.BuildBuildanywhere.anywhere.

Designed for reliable agents.

Brinpage breaks agent behavior into clear, composable building blocks. Each piece has a single responsibility, so systems stay understandable, predictable, and easy to evolve over time.

Context modules

Reusable knowledge blocks you can attach per agent or per task. No drift, no prompt spaghetti.

Tools

Give agents real capabilities: search, write, call internal APIs, and execute workflows.

Instructions

Define rules and guardrails so agents behave consistently, even as you scale usage.

Dynamic routing

Route each request based on intent, cost, latency or reliability. Add fallbacks when providers fail.

All of this is managed in Brinpage Platform. Your app only connects and runs agents.

Brinpage Platform modules

Ship agents with confidence.

Build once, manage in Platform, run everywhere.