Skip to main content

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

Project description

AgentCrew 🤖

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

Python Version License: MIT


什么是 AgentCrew?

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

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

核心特性

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

快速开始

安装

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

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

# 3. 配置环境变量
cp .env.example .env
# 编辑 .env,填入你的 API Key

配置

编辑 config.yaml,填入各平台的认证信息。

# 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

# 发布到掘金
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.3)

开发路线图

  • v0.1 ✅ Writer Agent + Publisher Agent + CLI + 掘金/知乎
  • v0.2 📝 RAG 深度集成 + X/Twitter + 内容策略引擎
  • v0.3 📊 Streamlit Dashboard + Analyst Agent
  • 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.0.tar.gz (50.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.0-py3-none-any.whl (66.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentcrew_mcn-0.1.0.tar.gz
  • Upload date:
  • Size: 50.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.0.tar.gz
Algorithm Hash digest
SHA256 b1ce467627d4921498fd54d476babff2c7998bd03db946244262a51075ecec04
MD5 531173bab591b17db4df7960afeb4ff0
BLAKE2b-256 769bb64c506fc031861170d3e7e9e6ed9d08eaefeed1206b68be3aef0aeeb0d1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agentcrew_mcn-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 66.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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a387237628f2e44d3885a4042fbee37fa56e52d80d204645d6b3654e0749c015
MD5 0e38a4bfcd06dfd0c7bdee8e6a7f6045
BLAKE2b-256 bb3933faf18b27516ee28b43d95dde73fcfca392fe455a53a8098f383879e0c7

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