Core Primitive

Configurations

Define how agents behave without hardcoding logic. Store prompts, tools, limits, and environment settings in one place.

Live PreviewSynced

Version History

v5
Updated rate limitsActive
Today
v4
Added search_news tool
Yesterday
v3
Modified system prompt
3 days ago
v2
Initial tool configuration
1 week ago
v1
Created configuration
2 weeks ago

Why External Configurations?

Versioned

Track changes over time with full version history

Inspectable

See exactly what configuration an agent is using

Environment-Aware

Different configs for dev, staging, and production

Rollback Ready

Instantly revert to any previous version

What Can You Configure?

Prompts
Tools
Limits
Environment

Code Examples

Create Configuration

create-config.ts
import { OpenSink } from "@opensink/sdk";
const client = new OpenSink({
apiKey: process.env.OPENSINK_API_KEY
});
// Create a new configuration
const config = await client.configurations.create({
name: "financial-analyst-v1",
prompts: {
system: "You are a financial analyst AI. " +
"Analyze market data and provide insights.",
},
tools: [
{ name: "search_news", enabled: true },
{ name: "write_to_sink", enabled: true },
],
limits: {
maxTokens: 4096,
maxRequestsPerMinute: 20,
},
});

Use with Any AI Provider

agent.ts
// Fetch configuration
const config = await client.configurations.get(
"financial-analyst-v1"
);
// Use with Claude
const response = await anthropic.messages.create({
model: "claude-3-opus",
max_tokens: config.limits.maxTokens,
system: config.prompts.system,
messages: [{ role: "user", content: input }],
});
// Use with OpenAI
const completion = await openai.chat.completions.create({
model: "gpt-4",
max_tokens: config.limits.maxTokens,
messages: [
{ role: "system", content: config.prompts.system },
{ role: "user", content: input },
],
});

Works With Any Platform

Configurations are platform-agnostic. Use them with any AI provider.

Claude
ChatGPT
Gemini
Custom

Configs vs. Hardcoded Values

Hardcoded in Code

  • Changes require code deploys
  • No version history
  • Hard to audit agent behavior
  • Scattered across files

OpenSink Configurations

  • Update instantly, no deploys
  • Full version history & rollback
  • Clear audit trail
  • Centralized & organized

Ready to configure your agents?