@siere.ai/middleware
v0.4.0
Published
AEO Next.js Middleware — AI agent content optimization
Maintainers
Readme
@siere.ai/middleware
Next.js middleware for Siere AI agent-aware content delivery.
npm install @siere.ai/middlewareSee Siere documentation for integration guidance.
Delivery strategy
New installations should start in observation mode and deliberately opt in to response transformation later:
createAEOMiddleware({
apiKey: process.env.SIERE_API_KEY!,
deliveryStrategy: "observe",
});Supported strategies are "observe", "negotiate-markdown",
"recognized-agent-markdown", and the reserved
"verified-agent-markdown". Existing installations that omit the option retain
recognized User-Agent transformation for compatibility. The deprecated
agentDetection.policy option is still mapped to the corresponding strategy.
