Complete guide
to Silker AI
Everything you need to secure your applications
What is Silker AI?
Runtime security platform that protects web applications from threats in real-time. Unlike traditional security tools that focus on code scanning or infrastructure, Silker AI monitors your application while it runs, detecting and blocking attacks as they happen.
Built for modern development teams. Combines AI-powered threat detection with automatic vulnerability patching. Works with no-code apps on Bubble, Next.js sites on Vercel, or custom APIs on VPS.
Key Features
OWASP Top 10
SQL injection, XSS, CSRF, SSRF, path traversal
Real-Time Monitoring
Live dashboard with threat analytics and metrics
Auto-Fix
Patches vulnerabilities without manual intervention
Compliance
GDPR and HIPAA compliant, SOC 2 in progress
Edge Computing
Cloudflare Workers and Grok AI for minimal latency
Customizable
Fine-tune settings, whitelist IPs, configure alerts
Quick Start
1. Install the SDK
Install Silker AI via npm or yarn:
npm install @silker/agent2. Initialize in your app
Add Silker AI to your application entry point:
import { SilkerAI } from '@silker/agent';
SilkerAI.init({
apiKey: 'your-api-key',
environment: 'production'
});3. That's it!
Silker AI is now protecting your application. Visit your dashboard to monitor threats, configure rules, and view security analytics.
Framework Integrations
Express.js
const express = require('express');
const { SilkerAI } = require('@silker/agent');
const app = express();
SilkerAI.init({ apiKey: 'your-api-key' });
app.use(SilkerAI.middleware());
app.listen(3000);Next.js
// app/layout.tsx or pages/_app.tsx
import { SilkerAI } from '@silker/agent';
SilkerAI.init({
apiKey: process.env.SILKER_API_KEY
});
export default function RootLayout({ children }) {
return <html>{children}</html>;
}Vercel Deployment
Add your API key to environment variables:
SILKER_API_KEY=your-api-keyConfiguration
Silker AI works out of the box with smart defaults, but you can customize behavior:
SilkerAI.init({
apiKey: 'your-api-key',
environment: 'production',
// Auto-fix vulnerabilities
autoFix: true,
// Alert channels
alerts: {
slack: 'https://hooks.slack.com/...',
email: 'security@yourcompany.com'
},
// Custom rules
rules: {
rateLimit: {
maxRequests: 100,
windowMs: 60000
},
ipWhitelist: ['1.2.3.4']
}
});