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
@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
@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
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
Plugin Matrix​
| Plugin | Status | Version | Dependencies |
|---|---|---|---|
| http-fastify | ✅ Stable | 0.1.3 | - |
| http-express | ✅ Stable | 0.1.3 | - |
| postgres | ✅ Stable | 0.1.3 | - |
| mongodb | ✅ Stable | 0.1.3 | - |
| redis | ✅ Stable | 0.1.3 | - |
| ai-openai | ✅ Stable | 0.1.3 | - |
| ai-anthropic | ✅ Stable | 0.1.3 | - |
| rabbitmq | ✅ Stable | 0.1.3 | - |
| di-awilix | ✅ Stable | 0.1.3 | - |
| logger | ✅ Stable | 0.1.3 | - |
| validation | ✅ Stable | 0.1.3 | - |
| cache | ✅ Stable | 0.1.3 | - |
| testing | ✅ Stable | 0.1.3 | - |
Next Steps​
- Creating Plugins - Build your own
- Plugin Configuration - Configuration guide
- add Command - Install plugins