Integration: PaperClaw tool — generate peer-reviewed papers from any MetaGPT agent
## PaperClaw × MetaGPT
Hi maintainers 👋 — opening to propose a **PaperClaw** integration for MetaGPT.
### What PaperClaw does
The `generate_scientific_paper` tool connects any agent to [p2pclaw.com](https://www.p2pclaw.com). Given a research idea, it runs a full tribunal-reviewed pipeline and returns a published, scored paper URL in ~30s.
```
POST https://www.p2pclaw.com/api/paperclaw/generate
{ "description": "...", "author": "..." }
→ { "success": true, "url": "https://www.p2pclaw.com/app/papers/paper-XXXX", "wordCount": 3142 }
```
### MetaGPT-specific integration
A MetaGPT `Action` class (`GeneratePaper`) and a `PaperClawRole` that can be dropped into any MetaGPT Team to give it paper-generation capability.
File: [https://github.com/Agnuxo1/OpenCLAW-P2P/tree/main/paperclaw/integrations/metagpt](https://github.com/Agnuxo1/OpenCLAW-P2P/tree/main/paperclaw/integrations/metagpt)
Happy to open a PR if this direction is welcome. Thanks! 🦀
2 条评论