Agentic Campaign

io.github.pooriaarab由 GitHub 账号 pooriaarab 发布v0.1.0更新于 Oct 24, 2026

Plan a social campaign calendar across brands and platforms.

发布方自己的服务:agentic.no

已验证STDIO仅桌面效率与工作流商业与电商

概览

AI 生成的概览

一个本地 MCP 服务器,为开发者生成社交活动日历草稿、审批时段并导出已审批的草稿文本。

可以做什么
根据简报(品牌、目标、平台标签、时段数量、开始日期)创建活动计划,使用固定支柱和格式标签,并按会话保存在内存映射中。列出并查看该会话映射中保存的活动。审批草稿时段,需同时提供 live 与 approved 标志,且仅改变本地状态。导出已审批或已排期时段组成的队列,每项含品牌、文本和目标,并附带 AI 辅助声明。报告通用文本分发的成本单位,不含活动规划与审批。
适用场景
适合在助手会话中生成并审阅社交日历草稿,再把已审批文本交给自行实现的发布程序。也适合希望获得可检查的规划数据、而非托管排期产品的开发者。
运行要求
通过 npx 以 stdio 在本地运行,需要 Node.js 18 或更高版本。无需凭据、环境变量或 .env 加载器。活动仅存于服务器进程内存,需保持同一持久会话才能保留。
安装前请注意
审批标志只改变本地状态,不向外发送任何内容;没有社交发布连接器,也不做平台认证。导出的文本需人工编辑审阅,且不含日期、时段 ID 和媒体。同品牌同日期计划可能覆盖会话映射中的条目,重启后数据不保留。0.1.0 为早期版本,API 可能变化。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Agentic Campaign,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

agentic-campaign

[npm version] [Downloads/month] [License: MIT]

Package · Quickstart · Runtime surfaces

agentic-campaign is an open-source social campaign planner for developers who need draft calendars, explicit slot approval, and text queue exports. It runs as a TypeScript SDK, command-line interface (CLI), or Model Context Protocol (MCP) server. Campaign planning and approval run locally; this package never publishes social posts.

Install

sh
npm install agentic-campaign

Node.js 18 or later is required. TypeScript declarations are included, with two direct runtime dependencies.

Export your first campaign draft

Save this as campaign-demo.mjs. No credentials, environment variables, or .env loader are required.

js
import { createCampaign, approveSlot, exportQueue } from "agentic-campaign";
const campaign = createCampaign({  brand: "Acme",  goal: "launch a feature",  platforms: ["linkedin", "x"],  weeks: 1,  postsPerWeek: 2,  startDate: "2026-11-01",});console.log(campaign.schedule.length);console.log(exportQueue(campaign).length);const approved = approveSlot(campaign, "slot-1", { live: true, approved: true });const queue = exportQueue(approved);console.log(queue.length, queue[0].brand, queue[0].targets[0]);
sh
node campaign-demo.mjs

Success prints 2, 0, and 1 Acme linkedin. The approval flags change local state; they do not send a post. Export text includes an AI-assistance disclosure and needs editorial review.

How it works

text
Brief -> deterministic pillars and daily draft slotsDraft slot + explicit approval -> approved slotApproved or scheduled slots -> { brand, text, targets } queueQueue -> a downstream publisher you implement separately

Why it exists

Developers need campaign planning data they can inspect and pass between tools. Buffer and Hootsuite provide social calendars with publishing workflows. agentic-campaign supplies local plan generation and approval-filtered text exports for code and agent sessions.

Compare

Scope checked on 2026-10-14 against the official pages linked below.

Scopeagentic-campaignBufferHootsuite
Main workflowGenerate local plans and export draftsPlan, schedule, and publish social postsPlan, schedule, and publish social posts
Calendar representationIn-memory campaign objectsProduct content calendarProduct content calendar
Publishing in this packageNoneNo Buffer adapterNo Hootsuite adapter

Coverage

SurfaceStatusBehavior
Campaign brief✓Brand, goal, platform labels, slot count, and start date
Content pillars✓Three fixed pillars: Educate, Proof, Engage
Format labels✓Four rotating labels: short post, carousel, video, story
Slot approval✓Draft-to-approved transition with two explicit flags
Queue export✓Approved and scheduled slots become text queue items
LinkedIn and X (Twitter)Labels onlyExample target strings; no network adapters
Other platform namesLabels onlyArbitrary nonempty strings; no support registry
Local text routerscaffoldReceipt generation only
Generic HTTP text router✓Posts {text} to your endpoint; separate from campaign export
Cloudflare Workers handlerscaffold for campaignsHealth and text summary only; no campaign routes

There are zero social publishing connectors, two shared text-routing adapters, three fixed pillars, and four format labels. The source and local tests verify planning behavior. Zero external integrations were credential-checked for this rewrite.

Common use cases

  1. Node.js release teams generate draft slots for LinkedIn and X (Twitter) labels.
  2. TypeScript agencies plan separate campaign objects for client brands.
  3. MCP client developers review and approve slots within one agent session.
  4. Custom publisher developers consume {brand, text, targets} queue items through their own pipeline.

Features

  • Campaign plans: createCampaign builds draft slots; see the quickstart.
  • Explicit approvals: approveSlot requires live: true and approved: true.
  • Queue exports: exportQueue keeps approved or scheduled slots and includes draft disclosure text.
  • Agent sessions: MCP tools retain campaigns in the server's in-memory map.
  • Shared utilities: Text summaries, generic dispatch, guards, logging, and in-memory cost reports are SDK exports.

Runtime surfaces

The Node.js SDK exports createCampaign, approveSlot, exportQueue, and shared text utilities.

CLI commandBehavior
campaign create --brand Acme --goal launch --platforms linkedin,x --weeks 1 --posts-per-week 2Print a new campaign; accepts --start-date
campaign listList campaigns from the current process map
campaign show --id <id>Read a campaign from that map
campaign approve-slot --id <id> --slot slot-1 --live --approveApprove a draft in that map
campaign export --id <id>Export approved or scheduled slots from that map
costsPrint current process cost units
mcpStart the stdio server

Run commands with npx agentic-campaign. --help and --version print help and version output. Separate CLI invocations start fresh maps. Use the SDK or a persistent MCP session for the full lifecycle.

All six MCP tools: create_campaign, list_campaigns, show_campaign, approve_campaign_slot, export_campaign_queue, and get_cost_report. Start them with npx agentic-campaign mcp or npx agentic-campaign-mcp.

The Worker source exposes GET /health and POST /summarize only. Optional PACK_NAME changes its health response label. You deploy and secure the Worker yourself.

Delivery and behavior limits

  • weeks * postsPerWeek sets total slots across all labels, rather than slots per platform.
  • Slots advance one calendar day each. weeks does not bound the schedule to that many weeks.
  • Brief quietHours is accepted but ignored. Slots contain dates, without posting times.
  • The daily cap is SDK-only input; the generator still advances a day after each slot.
  • Pillars, hooks, and formats use fixed code templates. No language model generates campaign text.
  • Format labels do not create carousel images, videos, stories, or attachments.
  • Campaign IDs use normalized brand and start date. Same-brand, same-date plans can overwrite a session map entry.
  • CLI and MCP storage is in memory. There is no file store, database, or restart recovery.
  • Only draft-to-approved transitions have an exported helper. Scheduling and completion need application code.
  • Queue items omit dates, slot IDs, and media. Downstream code must preserve scheduling metadata separately.
  • There is no automatic delivery, retry, deduplication, platform authentication, or engagement analytics.
  • Cost reports track generic text dispatch units. Campaign planning and approvals record no costs.

Integration guides

The export tool describes its shape as agentic-publish-compatible in source. This package does not call agentic-publish or verify delivery compatibility. No separate public documentation site is configured.

Status

Version 0.1.0 is an early release; APIs can change before 1.0. Report problems through GitHub issues. Public case studies are not published in this repository.

FAQ

What is agentic-campaign?

agentic-campaign generates local campaign plans and exports reviewed draft text. It provides SDK, CLI, and MCP interfaces for developers.

Which integrations are verified?

agentic-campaign has no social publishing connectors or platform credential verification. Its shared generic HTTP text router is separate from the campaign workflow.

Does agentic-campaign provide a managed publishing service?

agentic-campaign produces data inside your process. You supply storage, deployment, editorial review, and any publisher.

How is agentic-campaign different from Buffer?

agentic-campaign generates campaign objects and approval-filtered queues in code. Buffer provides a social planning and publishing product; see its publishing overview.

How is agentic-campaign different from Hootsuite?

agentic-campaign exposes a local planning SDK and agent tools. Hootsuite provides a content calendar and publishing workflows; see its publishing overview.

Does agentic-campaign publish to LinkedIn or X (Twitter)?

agentic-campaign stores those names as target labels. It makes no social network requests and validates no platform-specific constraints.

Why does agentic-campaign list show no campaigns after create?

agentic-campaign starts a fresh in-memory map for each standalone CLI invocation. Use a shared SDK object or one persistent MCP server session to retain campaigns.

Does agentic-campaign generate copy with a language model?

agentic-campaign uses fixed pillar descriptions and hook templates. Its export includes an AI-assistance disclosure, but no model API is called.

What does live approval do?

agentic-campaign requires both live and approval flags to change a draft slot to approved. That local state change makes the slot eligible for export and sends nothing externally.

Contributing

Run npm ci, npm run build, npm run typecheck, and npm test from the repository.

License

MIT. See the license text.

来源:README.md,提交 9ebacfb

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Oct 15, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Agentic 集成