Skip to main content
Stratix

Stratix

AI-First TypeScript Framework for Enterprise Applications

$npm install -g @stratix/cli

Why Stratix?

Everything you need to build intelligent enterprise applications

01

AI-First Architecture

AI agents as first-class domain entities. Build intelligent enterprise applications with native AI integration from the ground up.

02

Enterprise Patterns

Domain-Driven Design, CQRS, and hexagonal architecture built-in. Production-ready patterns for scalable applications.

03

Type-Safe Intelligence

Full TypeScript strict mode. Catch errors at compile time with the Result pattern and typed AI interactions.

04

Provider Independence

Switch between OpenAI, Anthropic, or custom LLM providers without changing agent logic.

05

Developer Experience

CLI generates AI agents, bounded contexts, and complete CQRS patterns. Go from idea to production in minutes.

06

Production Ready

Memory management, guardrails, RAG pipelines, and observability built-in. Deploy with confidence.

AI Agents as Domain Entities

Build intelligent systems using the same patterns as your business logic. AI agents are aggregate roots with lifecycle, memory, and type-safe execution.

Learn More
CustomerSupportAgent.ts
import { AIAgent, AgentResult, AgentCapabilities } from '@stratix/core';

export class CustomerSupportAgent extends AIAgent<Query, Response> {
  readonly name = 'Customer Support Agent';
  readonly capabilities = [AgentCapabilities.CUSTOMER_SUPPORT];
  readonly model = { provider: 'openai', model: 'gpt-4' };

  protected async execute(query: Query): Promise<AgentResult<Response>> {
    const response = await this.llmProvider.chat({
      messages: [{ role: 'user', content: query.question }]
    });
    
    return AgentResult.success(
      { answer: response.content },
      { model: this.model.model, provider: this.model.provider }
    );
  }
}

Ready to build intelligent applications?

Get started with Stratix in minutes. Install the CLI and create your first AI-powered project.