Skip to main content

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

Project description

AgentCrew 🤖

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

Python Version License: MIT PyPI version


什么是 AgentCrew?

AgentCrew 是一个开源的多 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. 初始化配置
agent-crew init

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

# 4. 开始使用
agent-crew write generate --topic "Python异步编程" --style technical
agent-crew publish post --file article.md --platform juejin --dry-run

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

方式二:源码安装

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

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

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

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

配置

agent-crew init 会自动创建配置文件模板。主要配置项:

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

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

使用

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

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

# 发布到掘金
agent-crew publish post --file article.md --platform juejin

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

# 管理 RAG 知识库
agent-crew rag ingest --file article.md --source "my_blog"
agent-crew rag 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.1.tar.gz (53.2 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.1-py3-none-any.whl (70.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentcrew_mcn-0.1.1.tar.gz
  • Upload date:
  • Size: 53.2 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.1.tar.gz
Algorithm Hash digest
SHA256 c71dcb26add2d6928ab9a2771a3e4ced5768fa75ee3e531c5c72c98b50ee676a
MD5 4639905288edf1c9537c5b8ec995a48d
BLAKE2b-256 e7a78b4a5a0c868241a4e9176ec05794132c9fff7881c1ab167493eec3ffaf21

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agentcrew_mcn-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 70.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1cedd8582eee3f5d9b2693c8ab7087791b212b5fd39109146ae98ff9f235de63
MD5 76db613cf629c8f711e0f6cfc46e3b23
BLAKE2b-256 be2429f35c5c9f52a5c982e7177ec414d66adc064e14f12f2880ac848a3f1435

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