Skip to main content

AI MCN 自动推广工具 — 多Agent内容营销自动化,支持掘金/知乎/Dev.to

Project description

AgentCrew MCN 🤖

Your AI marketing team. Works 24/7. Never asks for a raise.

Python Version License: MIT PyPI version Tests

📖 中文文档 | English


What is AgentCrew?

AgentCrew MCN is an open-source multi-agent content marketing automation tool. A team of AI "employees" handles the entire pipeline — from content creation to cross-platform distribution.

  • Writer Agent — Copywriter: generates technical articles, social posts, and threads
  • Publisher Agent — Operations: publishes to Juejin, Zhihu, Dev.to, and more
  • Analyst Agent — Data Analyst: tracks performance and optimizes strategy

Features

  • 🧠 Multi-Agent Architecture — Each "employee" operates independently; pluggable design
  • 🔧 Skills + Tools System — Atomic operations composed into high-level capabilities
  • 📚 RAG Knowledge Base — Retrieval-augmented generation from historical content
  • 🎯 Cross-Platform Publishing — Juejin, Zhihu, Dev.to with extensible adapters
  • Smart Scheduling — Time-based publishing with random jitter to avoid detection
  • 🔮 MCP-Ready — Architecture reserved for MCP protocol (v2 roadmap)
  • 📊 Dashboard — Web panel for post analytics and agent status
  • 🔁 Dogfooding — The project promotes itself

Quick Start

Option 1: pip install (recommended)

# 1. Install
pip install agentcrew-mcn

# 2. Initialize config
agentcrew-mcn init

# 3. Edit .env with your API keys
#    DEEPSEEK_API_KEY=sk-...

# 4. Start using
agentcrew-mcn write generate --topic "Python async programming" --style technical
agentcrew-mcn publish post --file article.md --platform juejin --dry-run

💡 agent-crew is also available as an alias for agentcrew-mcn.

Option 2: From source

# 1. Clone
git clone https://github.com/super-rick/agentcrew-mcn.git
cd agentcrew-mcn

# 2. Install dependencies
pip install -r requirements.txt

# 3. Initialize
python -m cli.main init

# 4. Edit .env with your API keys

Configuration

agentcrew-mcn init creates a config template. Key settings:

# config.yaml
llm:
  api_key: ${DEEPSEEK_API_KEY}  # Reads from .env
  model: deepseek-chat

platforms:
  juejin:
    cookie: ${JUEJIN_COOKIE}    # Export cookie from browser
  devto:
    api_key: ${DEVTO_API_KEY}   # https://dev.to/settings/extensions

Usage

# Generate a technical article
agentcrew-mcn write generate --topic "Python async programming" --style technical

# Preview mode (no LLM call, inspect parameters)
agentcrew-mcn write generate --topic "Python async" --dry-run

# Publish to Juejin
agentcrew-mcn publish post --file article.md --platform juejin

# Scheduled publishing (every 6 hours)
agentcrew-mcn schedule start --topic-file topics.txt --platform juejin --interval 6

# RAG knowledge base
agentcrew-mcn rag ingest --file article.md --source "my_blog"
agentcrew-mcn rag search --query "AI Agent architecture"

Architecture

┌─────────────────────────────────────────────────────┐
│                   Orchestrator                       │
│           Task dispatch / Scheduler / Config          │
└──┬──────────┬──────────────┬────────────────────────┘
   │          │              │
┌──▼──────┐ ┌▼────────┐ ┌──▼────────┐
│ Writer  │ │Publisher│ │  Analyst  │
│ Agent   │ │Agent    │ │  Agent    │
│         │ │         │ │           │
│ Skills: │ │ Skills: │ │ Skills:   │
│ trending│ │ schedule│ │ report    │
│ tech    │ │ multi   │ │ recommend │
│ thread  │ │ batch   │ │           │
│         │ │         │ │           │
│ Tools:  │ │ Tools:  │ │ Tools:    │
│ search  │ │ devto   │ │ analytics │
│ rag     │ │ juejin  │ │ compare   │
│ compose │ │ zhihu   │ │ report    │
└─────────┘ └─────────┘ └───────────┘

Tech Stack

Component Technology
Language Python 3.10+
CLI Click + Rich
LLM DeepSeek API (OpenAI-compatible)
Vector DB ChromaDB
Automation Playwright
Dashboard Streamlit + Plotly

Roadmap

See ROADMAP.md for details.

  • v0.1 ✅ Writer + Publisher + CLI + Juejin/Zhihu + Dashboard + Analyst
  • v0.2 📝 Dev.to adapter + Zhihu MD fix + Bilingual README
  • v0.3 🔜 Skill Store + more platforms + A/B testing
  • v1.0 🔮 MCP protocol + community plugins

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentcrew_mcn-0.2.1.tar.gz (59.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentcrew_mcn-0.2.1-py3-none-any.whl (77.8 kB view details)

Uploaded Python 3

File details

Details for the file agentcrew_mcn-0.2.1.tar.gz.

File metadata

  • Download URL: agentcrew_mcn-0.2.1.tar.gz
  • Upload date:
  • Size: 59.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agentcrew_mcn-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5f0b30d7cf1b7da4a5a58e901b8ceaa0873c764966cb4c28f8c9c1e9c7dc9965
MD5 2c1f3cf3dc69f6a267392680de249334
BLAKE2b-256 65c98d168361f4022cc9f80a2f53a41cefb38386e21e38776a47540242016eaf

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentcrew_mcn-0.2.1.tar.gz:

Publisher: publish.yml on super-rick/agentcrew-mcn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentcrew_mcn-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: agentcrew_mcn-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 77.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agentcrew_mcn-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f9bd4d2cd3a04f5388c0a61272645141fc830a539f7ae26cb28a60c0fabb5f25
MD5 6f4061fa35efa95ad6244148b9ed0343
BLAKE2b-256 9aae61cfcf875f7556f0c90d164c61a6e4bb082e3fe39e1317e0c35e036962c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentcrew_mcn-0.2.1-py3-none-any.whl:

Publisher: publish.yml on super-rick/agentcrew-mcn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page