
Security News
PHP Foundation Says Chainguard Broke Security Embargo Ahead of Emergency Patches
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.
agentic-carousel
Advanced tools
Create JSON carousel decks and printable HTML with Instagram, LinkedIn, and TikTok text presets through a Node.js SDK, CLI, and MCP.
agentic-carousel is an open-source carousel deck generator for Node.js applications and AI agents, with JSON output, printable HTML, and social-platform text presets.
npm install agentic-carousel
Requires Node.js 18 or later. Includes TypeScript declarations and two direct runtime dependencies.
Save this example as carousel.mjs, then run node carousel.mjs.
import { writeFileSync } from "node:fs";
import { createCarousel, validateCarousel, renderCarouselHtml } from "agentic-carousel";
const deck = createCarousel("Better handoffs", "Give context|Name an owner");
writeFileSync("carousel-deck.json", JSON.stringify(deck, null, 2));
writeFileSync("carousel.html", renderCarouselHtml(deck));
console.log(deck.slides.length, validateCarousel(deck).valid);
Expect 4 true. Open carousel.html in a browser to see four 1080 × 1350 slides.
No credentials, model calls, or network requests are required.
exportPlan; it writes no files.| Text preset | Status | Title limit | Body limit |
|---|---|---|---|
| Local validation only | 80 characters | 220 characters | |
| Local validation only | 120 characters | 300 characters | |
| TikTok | Local validation only | 70 characters | 180 characters |
The code defines three presets. These are package rules, without live platform verification or publishing integrations.
npx agentic-carousel carousel create --topic "Better handoffs" --slides "Give context|Name an owner"
npx agentic-carousel carousel validate --file carousel-deck.json --platform linkedin
npx agentic-carousel carousel render --file carousel-deck.json > carousel.html
npx agentic-carousel costs
npx agentic-carousel mcp
The CLI has five operational commands, plus --help and --version. The carousel prefix is optional.
Create accepts --platform instagram|linkedin|tiktok and prints { deck, plan }; it does not save either object.
The Model Context Protocol (MCP) server exposes five tools: create_carousel, validate_carousel, render_carousel_html, export_carousel_plan, and get_cost_report.
The agentic-carousel-mcp binary starts the same server.
The Worker you deploy has GET /health, POST /create, and POST /validate; create uses the default Instagram preset.
Decks contain 2–10 slides, including the generated hook and final slide; outlines can contain at most eight content slides.
All presets use the same HTML size. Text presets do not guarantee platform acceptance or visual fit.
The package creates no PNG files or PDF files and does not upload or publish slides.
The CLI accepts --live, but generation stays local. There is no remote generation mode.
Carousel operations do not record cost units. The shared SDK also exports generic text summary and routing helpers.
Version 0.1.0 APIs can change. Public case studies are not yet published.
Run npm run build, npm run typecheck, and npm test before contributing.
MIT.
FAQs
Create JSON carousel decks and printable HTML with Instagram, LinkedIn, and TikTok text presets through a Node.js SDK, CLI, and MCP.
The npm package agentic-carousel receives a total of 0 weekly downloads. As such, agentic-carousel popularity was classified as not popular.
We found that agentic-carousel demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.

Threat Research
/Security News
A supply chain attack compromised LiteLLM 1.107.0 on PyPI and Docker, spreading malware that steals cloud credentials, developer secrets, and AI provider keys.