Complete AI SaaS Toolkit
Everything you need to build, secure, and scale your AI application. Battle-tested tools with comprehensive test coverage.
LangChain Agent Orchestration
Fully TestedMulti-step reasoning with the ReAct pattern. Automatically selects and chains tools to solve complex queries.
- ✓6 integrated AI tools
- ✓Streaming responses with intermediate steps
- ✓Context-aware conversation history
- ✓Max 10 iterations with automatic loop prevention
- ✓POST /api/agent & /api/agent/stream endpoints
Web Tools Suite
Tested & Working ✓Powerful web data extraction with DuckDuckGo search and JavaScript-rendering web scraper.
- ✓DuckDuckGo search (3-50 results)
- ✓News search & region-specific results
- ✓Playwright + Chromium for JS rendering
- ✓HTML → Markdown/Text conversion
- ✓Smart content filtering & metadata extraction
Document Processing
Production ReadyExtract text, tables, and metadata from any document format with OCR support.
- ✓PDF: Text + tables (pdfplumber, max 1000 pages)
- ✓Office: DOCX paragraphs + tables
- ✓Excel: Multi-sheet support (XLSX)
- ✓PowerPoint: Slide-by-slide extraction (PPTX)
- ✓OCR support via pytesseract
Sandboxed Code Interpreter
Fully TestedExecute Python code safely in a restricted environment for data analysis and visualizations.
- ✓RestrictedPython environment
- ✓pandas, numpy, matplotlib available
- ✓30-second timeout protection
- ✓No file system or network access
- ✓Base64-encoded plot outputs
GPT-4 Vision Integration
Production ReadyAnalyze images with state-of-the-art vision AI for OCR, chart analysis, and image comparison.
- ✓Image description & analysis
- ✓OCR from screenshots
- ✓Chart & graph interpretation
- ✓Multi-image comparison
- ✓Max 20MB per image
Security Guardrails
All Tests Passing ✓Protect your users and your business with PII detection, toxicity filtering, and prompt injection defense.
- ✓PII Detection: Email, phone, SSN, credit cards, API keys
- ✓Toxicity filtering with risk scores (0-1)
- ✓Prompt injection detection with confidence scores
- ✓Automatic redaction for sensitive data
- ✓Risk level classification (low/medium/high)
Role-Based Access Control (RBAC)
Production ReadyFine-grained permission system for controlling access to AI models and features.
- ✓Model-specific permissions (GPT-4, Claude, Gemini)
- ✓Role hierarchy: Admin, Developer, User
- ✓API usage tracking & analytics
- ✓Failed attempt logging
- ✓Auto-role assignment for OAuth users
Multi-Provider Authentication
Fully ImplementedFlexible authentication with email/password, Google OAuth, and GitHub OAuth.
- ✓NextAuth.js integration
- ✓Google & GitHub OAuth
- ✓Email/password with bcrypt
- ✓JWT session management
- ✓Automatic permission loading
See It In Action
Research Agent
Autonomous multi-step research with web search and scraping
const response = await fetch('/api/agent', {
method: 'POST',
body: JSON.stringify({
query: "Research quantum computing and summarize",
system_prompt: "You are a technical researcher"
})
});
// Agent automatically:
// 1. Searches web (DuckDuckGo)
// 2. Scrapes article content
// 3. Synthesizes summaryData Analysis
Sandboxed Python execution with pandas, numpy, and matplotlib
const response = await fetch('/api/tools/code/execute', {
method: 'POST',
body: JSON.stringify({
code: `
import pandas as pd
df = pd.DataFrame(sales_data)
print(df.describe())
df.plot(kind='bar')
plt.savefig('chart.png')
`,
inputs: { sales_data: [...] }
})
});PII Protection
Detect and redact sensitive personal information
const response = await fetch('/api/guardrails/pii/redact', {
method: 'POST',
body: JSON.stringify({
text: "Email me at john@example.com or call 555-1234"
})
});
// Response:
{
"redacted_text": "Email me at ████████████████ or call ████████",
"changes": [
{ "type": "email", "original": "john@example.com" },
{ "type": "phone", "original": "555-1234" }
],
"redactions_count": 2
}Document Processing
Extract text and tables from PDF, DOCX, XLSX, PPTX
const formData = new FormData();
formData.append('file', pdfFile);
const response = await fetch('/api/tools/document/process', {
method: 'POST',
body: formData
});
// Returns: text, pages[], tables[], metadata12 Production API Endpoints
/api/agentRun agent with tools
/api/agent/streamStreaming agent (SSE)
/api/tools/web/searchDuckDuckGo search
/api/tools/web/scrapeScrape any URL
/api/tools/code/executeRun Python code
/api/tools/vision/analyzeAnalyze images
/api/tools/documents/pdfExtract PDF content
/api/tools/documents/officeProcess DOCX/XLSX
/api/guardrails/piiDetect & redact PII
/api/guardrails/toxicityFilter toxic content
/api/guardrails/injectionDetect injections
/api/v1/chat/completionsOpenAI-compatible chat
Ready to Build?
Get started with Docker in under 2 minutes:
# Clone the repository
git clone https://github.com/your-org/chimerai.git
cd chimerai
# Start all services with Docker Compose
docker-compose up -d
# Access your AI SaaS
- Frontend: http://localhost:3000
- API Docs: http://localhost:8001/docs
- Agent playground: /api/agent/streamFull Documentation
Comprehensive guides in /docs
80+ Tests
Production-ready test coverage
Cursor & Copilot Ready
Optimized for AI-assisted development