Why Stratix?
Everything you need to build intelligent enterprise applications
AI-First Architecture
AI agents as first-class domain entities. Build intelligent enterprise applications with native AI integration from the ground up.
Enterprise Patterns
Domain-Driven Design, CQRS, and hexagonal architecture built-in. Production-ready patterns for scalable applications.
Type-Safe Intelligence
Full TypeScript strict mode. Catch errors at compile time with the Result pattern and typed AI interactions.
Provider Independence
Switch between OpenAI, Anthropic, or custom LLM providers without changing agent logic.
Developer Experience
CLI generates AI agents, bounded contexts, and complete CQRS patterns. Go from idea to production in minutes.
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 Moreimport { 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.
