CLI & SDK Capabilities

End-to-End Execution via Agentic Workflows

Automate your entire content pipeline. One CLI command or SDK call can generate ideas, draft posts, create social media assets, instantly publish to your site, and trigger static revalidation.

workflow.json
{
"version": "1",
"workspace": "my-workspace",
"inputs": {
"keywords": ["saas onboarding", "activation"],
"contentStyle": "Educational",
"count": 2
},
"schedule": {
"strategy": "fixed_time",
"timezone": "America/New_York",
"fixedTimeOfDay": "09:00",
"skipWeekends": true
},
"publish": { "mode": "scheduled" },
"flow": ["idea", "draft", "schedule", "publish"]
}
// Execute pipeline
autoblogwriter runs:start --file workflow.json
[info] Validating spec... ok
[info] Running full pipeline... done
>>> { "ok": true, "command": "runs:start", "data": { "runId": "run_9872", "status": "completed", "postsCreated": 2 }, "meta": { "workspace": "my-workspace" }, "error": null }

Built for Autonomous Operations

A robust set of capabilities defining the execution environment.

Validate before execution

Use workflow validation before starting runs so malformed specs fail fast before any publishing actions.

Run the full pipeline

Execute end-to-end flows across idea generation, draft creation, scheduling, and publishing.

Resume, retry, and inspect

Resume runs when needed, check current state, and inspect event logs for predictable operational debugging.

Agent-friendly output contract

All commands return a JSON envelope with clear exit codes, making integrations with CI and coding agents reliable.

Declarative Workflow Specs

A run spec captures execution intent from inputs through outputs, allowing agents and engineers to operate from the same predictable contract.

version + workspace
inputs (keywords, style, count)
schedule (strategy, timezone, startAt)
publish mode (scheduled or immediate)
{
"version": "1.0",
"workspace": "ws_abc123",
"inputs": {
"keywords": ["agentic", "seo"],
"style": "technical"
},
"pipeline": ["idea", "draft", "publish"]
}

Core Run Commands

Validate specs before execution, start runs with file or inline payloads, and inspect status/logs for operational visibility directly from your terminal.

$ autoblogwriter runs:validate --file workflow.json
Validate spec syntax and workspace access
$ autoblogwriter runs:start --file workflow.json
Execute the workflow end-to-end
$ autoblogwriter runs:status <runId>
Check progress of a specific run
$ autoblogwriter runs:logs <runId>
Stream real-time execution logs

Decoupled & Framework Agnostic

You aren't locked into our end-to-end platform. Run the CLI independently to generate raw assets, then route that JSON data wherever your stack requires.

Content Repurposing

Generate a post and ingest the JSON envelope. Use the rich output array (blog markdown, SEO meta, hero image URL) to simultaneously populate your database and trigger automated drops across Twitter and LinkedIn.

// Your custom pipeline script
const result = await exec('autoblogwriter posts:create ...');

await Promise.all([
db.insert(result.data.markdownUrl),
twitter.post(result.data.socialCopy),
slack.notify("New content ready!")
]);

External Publication

Use our AI orchestration to generate deeply researched content, but bypass our hosting entirely. Route the returned Markdown directly into your own Next.js, Ghost, or WordPress applications.

Push to Ghost CMS API
Push to Next.js MDX Pipeline
Push to WordPress REST API

Supported Flow Patterns

Weekly scheduled publishing

Define fixed publish windows with timezone and weekend controls, then let the run orchestrate the entire path from ideas to scheduled posts.

Publish-now execution

Use immediate mode for high-priority topics while still preserving metadata and structured publishing constraints.

Safe recovery

Resume interrupted runs or rerun with bounded retries so transient failures do not require manual rework.

Build repeatable SEO execution, not ad hoc tasks

Start with validated run specs, keep output deterministic, and let your team focus on strategy instead of manual workflow coordination.