Skip to main content

AI MCN 自动推广工具 — 你的AI营销团队,24小时在线工作,不领工资。

Project description

AgentCrew MCN 🤖

你的 AI 营销团队,24 小时在线工作,不领工资。

Python Version License: MIT PyPI version


什么是 AgentCrew?

AgentCrew MCN 是一个开源的多 Agent 内容营销自动化工具。它由一组 AI"员工"组成,自动完成从内容生成到跨平台分发的全流程。

  • Writer Agent — 文案员工:生成技术文章、帖子、Thread
  • Publisher Agent — 运营员工:发布到掘金、知乎、X/Twitter
  • Analyst Agent — 数据分析员工:追踪效果、优化策略

核心特性

  • 🧠 多 Agent 架构 — 每个"员工"独立部署,可插拔
  • 🔧 Skills + Tools 系统 — 原子化操作 + 高级能力编排
  • 📚 RAG 知识库 — 基于历史内容和竞品情报的增强生成
  • 🎯 跨平台发布 — 支持掘金、知乎、X/Twitter 等平台
  • 智能调度 — 带随机抖动的定时发布,避免平台检测
  • 🔮 MCP 预留 — 架构预留 MCP 协议接口(v2 路线图)
  • 📊 Dashboard — Web 面板查看发布数据和 Agent 状态
  • 🔁 自推广 Meta 闭环 — 项目自己推广自己

快速开始

方式一:pip 安装(推荐)

# 1. 安装
pip install agentcrew-mcn

# 2. 初始化配置
agentcrew-mcninit

# 3. 编辑 .env,填入你的 API Key
#    DEEPSEEK_API_KEY=sk-...

# 4. 开始使用
agentcrew-mcnwrite generate --topic "Python异步编程" --style technical
agentcrew-mcnpublish post --file article.md --platform juejin --dry-run

💡 也可使用 agent-crew 命令,与 agentcrew-mcn 完全等价。

方式二:源码安装

# 1. 克隆项目
git clone https://github.com/super-rick/agentcrew-mcn.git
cd agentcrew-mcn

# 2. 安装依赖
pip install -r requirements.txt

# 3. 初始化配置
python -m cli.main init

# 4. 编辑 .env,填入 API Key

配置

agentcrew-mcninit 会自动创建配置文件模板。主要配置项:

# config.yaml 核心配置
llm:
  api_key: ${DEEPSEEK_API_KEY}  # 从 .env 读取
  model: deepseek-chat

platforms:
  juejin:
    cookie: ${JUEJIN_COOKIE}    # 浏览器登录后导出 Cookie

使用

# 生成一篇技术文章
agentcrew-mcnwrite generate --topic "Python异步编程" --style technical

# 预览模式(不调用 LLM,查看参数)
agentcrew-mcnwrite generate --topic "Python异步编程" --dry-run

# 发布到掘金
agentcrew-mcnpublish post --file article.md --platform juejin

# 启动定时发布(每6小时)
agentcrew-mcnschedule start --topic-file topics.txt --platform juejin --interval 6

# 管理 RAG 知识库
agentcrew-mcnrag ingest --file article.md --source "my_blog"
agentcrew-mcnrag search --query "AI Agent 架构"

架构概览

┌─────────────────────────────────────────────────────┐
│                   Orchestrator                       │
│              任务分派 / 调度引擎 / 配置管理              │
└──┬──────────┬──────────────┬────────────────────────┘
   │          │              │
┌──▼──────┐ ┌▼────────┐ ┌──▼────────┐
│ Writer  │ │Publisher│ │  Analyst  │
│ Agent   │ │Agent    │ │  Agent    │
│         │ │         │ │           │
│ Skills: │ │ Skills: │ │ Skills:   │
│ 追热点   │ │ 定时分发 │ │ 效果分析   │
│ 技术文章 │ │ 多平台  │ │ 趋势报告   │
│ Thread   │ │ 批量    │ │           │
│         │ │         │ │           │
│ Tools:  │ │ Tools:  │ │ Tools:    │
│ search  │ │ twitter │ │ analytics │
│ rag     │ │ juejin  │ │ compare   │
│ compose │ │ zhihu   │ │ report    │
└─────────┘ └─────────┘ └───────────┘

技术栈

组件 技术
语言 Python 3.10+
CLI Click + Rich
LLM DeepSeek API (OpenAI 兼容)
向量库 ChromaDB
自动化 Playwright
Dashboard Streamlit + Plotly

开发路线图

  • v0.1 ✅ Writer Agent + Publisher Agent + CLI + 掘金/知乎 + Dashboard + Analyst Agent
  • v0.2 📝 X/Twitter 适配器 + 内容策略引擎
  • v1.0 🎯 MCP 协议 + Skill Store + 社区插件

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.1.2.tar.gz (53.6 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.1.2-py3-none-any.whl (70.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentcrew_mcn-0.1.2.tar.gz
  • Upload date:
  • Size: 53.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for agentcrew_mcn-0.1.2.tar.gz
Algorithm Hash digest
SHA256 48b705a8b91cfc9d0535a1d19a3707fb29482267844e3d6c3428b6257b8dd7c4
MD5 6eb17cc94a38fd434796f6ffdc7fdd6c
BLAKE2b-256 6524efa63157e5d9d56e87ed67ea10e2927fd75d34c372150a79a08f320f7afb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agentcrew_mcn-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 70.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for agentcrew_mcn-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f0aff6110ab83385bdbfbf512ed9f7d6a7da614cdd6534ac465310b975e9cfbf
MD5 b12713ad785fdf9afbab7d0241e6f509
BLAKE2b-256 ed20bf60fdda98b5f4c43475b9776eb65f9b8e1ded87713a7ec4f86d4b0f65e2

See more details on using hashes here.

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