Skip to main content
⚠️PRE-RELEASE - ACTIVE DEVELOPMENT
Stratix Logo

Stratix

AI-First TypeScript Framework for Enterprise Applications

Build scalable, maintainable applications with AI agents as first-class citizens. Start with a modular monolith, scale to microservices when needed.

14+
Official Plugins
100%
Type-Safe
AI
First-Class
main.ts
import { ApplicationBuilder } from '@stratix/runtime';
import { OpenAIProvider } from '@stratix/ai-openai';

// Build AI-powered application
const app = await ApplicationBuilder.create()
  .usePlugin(new OpenAIProvider({ apiKey }))
  .build();

// Create an AI agent
class SupportAgent extends AIAgent {
  readonly name = 'Customer Support';
  
  async execute(input: string) {
    const response = await this.llm.chat({
      model: 'gpt-4o',
      messages: [
        { role: 'system', 
          content: 'You are helpful.' },
        { role: 'user', content: input }
      ]
    });
    
    return AgentResult.success(
      response.content
    );
  }
}

await app.start();