Skip to main content

Official Plugins

Stratix provides official plugins for common infrastructure needs.

HTTP Servers​

@stratix/http-fastify​

High-performance HTTP server using Fastify.

stratix add @stratix/http-fastify

Features:

  • Type-safe routes
  • CQRS integration
  • Error handling
  • Schema validation
  • CORS support

@stratix/http-express​

HTTP server using Express.

stratix add @stratix/http-express

Databases​

@stratix/postgres​

PostgreSQL database plugin.

stratix add @stratix/postgres

Features:

  • Connection pooling
  • Transaction support
  • Query builder
  • Migration support

Documentation

@stratix/mongodb​

MongoDB database plugin.

stratix add @stratix/mongodb

@stratix/redis​

Redis caching and pub/sub.

stratix add @stratix/redis

AI Providers​

@stratix/ai-openai​

OpenAI integration (GPT-4, GPT-3.5).

stratix add @stratix/ai-openai

Features:

  • Chat completion
  • Streaming
  • Function calling
  • Embeddings
  • Cost tracking

Documentation

@stratix/ai-anthropic​

Anthropic Claude integration.

stratix add @stratix/ai-anthropic

Message Queues​

@stratix/rabbitmq​

RabbitMQ message broker.

stratix add @stratix/rabbitmq

Dependency Injection​

@stratix/di-awilix​

Awilix DI container (recommended).

stratix add @stratix/di-awilix

Documentation

Utilities​

@stratix/logger​

Structured logging.

stratix add @stratix/logger

@stratix/validation​

Schema validation.

stratix add @stratix/validation

@stratix/cache​

Caching abstraction.

stratix add @stratix/cache

Testing​

@stratix/testing​

Testing utilities and mocks.

stratix add @stratix/testing --dev

Features:

  • MockLLMProvider
  • AgentTester
  • Test helpers

Documentation

Plugin Matrix​

PluginStatusVersionDependencies
http-fastify✅ Stable0.1.3-
http-express✅ Stable0.1.3-
postgres✅ Stable0.1.3-
mongodb✅ Stable0.1.3-
redis✅ Stable0.1.3-
ai-openai✅ Stable0.1.3-
ai-anthropic✅ Stable0.1.3-
rabbitmq✅ Stable0.1.3-
di-awilix✅ Stable0.1.3-
logger✅ Stable0.1.3-
validation✅ Stable0.1.3-
cache✅ Stable0.1.3-
testing✅ Stable0.1.3-

Next Steps​