OpenProse
OpenProse AI sessions को orchestrate करने के लिए एक portable, markdown-first workflow format है। Mayros में यह एक plugin के रूप में ship होता है जो OpenProse skill pack और /prose slash command install करता है। Programs .prose files में रहते हैं और स्पष्ट control flow के साथ कई sub-agents spawn कर सकते हैं।
आधिकारिक साइट: https://www.prose.md
यह क्या कर सकता है
- स्पष्ट समानता के साथ multi-agent research + synthesis।
- Repeatable approval-safe workflows (code review, incident triage, content pipelines)।
- Reusable
.proseprograms जिन्हें आप समर्थित agent runtimes पर चला सकते हैं।
Install + सक्षम करें
Bundled plugins डिफ़ॉल्ट रूप से अक्षम हैं। OpenProse सक्षम करें:
bashmayros plugins enable open-prose
Plugin सक्षम करने के बाद Gateway को restart करें।
Dev/local checkout: mayros plugins install ./extensions/open-prose
संबंधित docs: Plugins, Plugin manifest, Skills।
Slash command
OpenProse /prose को user-invocable skill command के रूप में register करता है। यह OpenProse VM instructions को route करता है और hood के तहत Mayros tools का उपयोग करता है।
सामान्य commands:
/prose help
/prose run <file.prose>
/prose run <handle/slug>
/prose run <https://example.com/file.prose>
/prose compile <file.prose>
/prose examples
/prose update
उदाहरण: एक सरल .prose file
prose# दो एजेंट्स के साथ research + synthesis समानांतर में चल रहे हैं। input topic: "What should we research?" agent researcher: model: sonnet prompt: "You research thoroughly and cite sources." agent writer: model: opus prompt: "You write a concise summary." parallel: findings = session: researcher prompt: "Research {topic}." draft = session: writer prompt: "Summarize {topic}." session "Merge the findings + draft into a final answer." context: { findings, draft }
File स्थान
OpenProse आपके workspace में .prose/ के तहत state रखता है:
.prose/
├── .env
├── runs/
│ └── {YYYYMMDD}-{HHMMSS}-{random}/
│ ├── program.prose
│ ├── state.md
│ ├── bindings/
│ └── agents/
└── agents/
User-level persistent agents यहां रहते हैं:
~/.prose/agents/
State modes
OpenProse कई state backends का समर्थन करता है:
- filesystem (डिफ़ॉल्ट):
.prose/runs/... - in-context: transient, छोटे programs के लिए
- sqlite (प्रायोगिक):
sqlite3बाइनरी की आवश्यकता है - postgres (प्रायोगिक):
psqlऔर एक connection string की आवश्यकता है
नोट्स:
- sqlite/postgres opt-in और प्रायोगिक हैं।
- postgres credentials subagent logs में flow होते हैं; एक समर्पित, कम-विशेषाधिकार वाले DB का उपयोग करें।
Remote programs
/prose run <handle/slug> https://p.prose.md/<handle>/<slug> को resolve करता है।
Direct URLs as-is fetched होते हैं। यह web_fetch tool (या POST के लिए exec) का उपयोग करता है।
Mayros runtime mapping
OpenProse programs Mayros primitives को map करते हैं:
| OpenProse concept | Mayros tool |
|---|---|
| Spawn session / Task tool | sessions_spawn |
| File read/write | read / write |
| Web fetch | web_fetch |
यदि आपकी tool allowlist इन tools को block करती है, तो OpenProse programs विफल होंगे। Skills config देखें।
Security + approvals
.prose files को code की तरह treat करें। चलाने से पहले review करें। Side effects को नियंत्रित करने के लिए Mayros tool allowlists और approval gates का उपयोग करें।
Deterministic, approval-gated workflows के लिए, Lobster से तुलना करें।