sentinel-sim
v0.2.0
Published
TypeScript SDK for Sentinel SIM — AI agent governance, tool routing, and observability
Maintainers
Readme
sentinel-sim
TypeScript SDK for Sentinel SIM — the infrastructure layer for AI agent tool calls.
Install
npm install sentinel-sim
# or
yarn add sentinel-simQuick start
import { Sentinel } from "sentinel-sim";
const client = new Sentinel({
apiKey: "sk_agent_...", // from your Sentinel dashboard
baseUrl: "https://web-production-90bb3.up.railway.app",
});
// Chat via OpenAI
const result = await client.openaiChat([
{ role: "user", content: "Hello!" }
]);
// Deploy to Vercel
const deploy = await client.vercelDeploy("my-app", [
{ file: "index.html", data: "<h1>Hello</h1>" }
]);
// Create a GitHub repo
const repo = await client.githubCreateRepo("my-repo", { private: true });
// Deploy on Railway
const project = await client.railwayCreateProject("my-project");Supported providers
| Provider | Tools | |----------|-------| | OpenAI | openaiChat, openaiEmbedding, openaiImage, openaiTranscribe | | Anthropic | claudeChat, claudeVision, claudeToolUse | | GitHub | githubCreateRepo, githubPushFile, githubCreateIssue, githubCreatePR | | Vercel | vercelDeploy, vercelCreateProject, vercelSetEnv | | Railway | railwayCreateProject, railwayCreateService, railwayDeployService | | Stripe | stripeCreatePaymentIntent, stripeCreateCustomer | | Replicate | (via execute) | | Resend | (via execute) |
