AI 多平台自动发帖系统 | 三层结构体组合架构 | 监督中间层 + 分身调度 + 监控反馈闭环
Project description
AGI AutoPoster - AI 多平台自动发帖系统
AI 驱动的多平台自动发帖系统,采用三层结构体组合架构:监督中间层 + 分身调度 + 监控反馈闭环。
架构
调度层(大模型分身) → 审核监督中间层 → 执行层(Worker)
↓ ↓
发指令/等待接收 排队/执行/重试/超时强杀
快速开始
安装
pip install agi-autoposter
命令行演示
agi-autoposter-demo
源码安装
git clone https://github.com/yongchaoqiu111/agi-autoposter.git
cd agi-autoposter
pip install -e .
使用方式
启动中间层
python -m agi_autoposter.middleware
中间层将在 http://localhost:8000 启动,提供以下 API:
POST /api/tasks- 创建任务GET /api/tasks- 列出所有任务GET /api/tasks/{task_id}- 查询任务状态GET /api/health- 健康检查GET /api/success_cases- 获取成功案例
运行 Worker
python -m agi_autoposter.worker --platform douyin --txtid 1 --imgid 3 --auto
运行调度演示
python -m agi_autoposter.scheduler
运行分身调度演示
python -m agi_autoposter.demo.multi_scheduler_demo
运行内容层演示
python -m agi_autoposter.demo.content_layer_demo
项目结构
agi_autoposter/
├── __init__.py # 包初始化
├── middleware.py # 审核监督中间层
├── worker.py # 执行层 Worker
├── scheduler.py # 调度层
├── cli.py # 命令行入口
└── demo/
├── __init__.py # 演示入口
├── multi_scheduler_demo.py # 多分身调度演示
└── content_layer_demo.py # 内容层演示
开发
pip install -r requirements.txt
发布到 PyPI
Windows
scripts\publish.bat
Linux/Mac
bash scripts/publish.sh
许可证
MIT License - 详见 LICENSE 文件
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chaseqiu_agi_tool-0.1.0.tar.gz.
File metadata
- Download URL: chaseqiu_agi_tool-0.1.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52cc2c2147bfd5f27296254ed0b434c64a6b8a09f91f38528830a5050bc26d9c
|
|
| MD5 |
e111766b93e9af53ec7d270bd430e29c
|
|
| BLAKE2b-256 |
56f812c2130de1cdb16a8e5c19fd229a21323ef4d52f6322548c557ed52f73fa
|
File details
Details for the file chaseqiu_agi_tool-0.1.0-py3-none-any.whl.
File metadata
- Download URL: chaseqiu_agi_tool-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21e132c3c844deae9733a26cc75173fbe8994c25f6f60e38142793fee39ae201
|
|
| MD5 |
4ee34d325e45c4119563a175e868920d
|
|
| BLAKE2b-256 |
b53f209ad062b90b7c4ba5d985f0d90918a80cd201ee58ef61f8d121c81459f7
|