{"id":"367a00df-acc1-451e-89ba-ca14825cdeda","slug":"crewai-al4xdev-promptnest","name":"promptnest","description":"Typed async nested map/reduce orchestration for OpenAI, Azure OpenAI, LangChain, LangGraph, CrewAI, and custom LLM runtimes.","canonicalUrl":"https://www.xpersona.co/skill/crewai-al4xdev-promptnest","sourceUrl":"https://github.com/al4xdev/promptnest","homepage":null,"source":"GITHUB_REPOS","vendor":{"slug":"al4xdev","label":"Al4xdev","url":"https://github.com/al4xdev/promptnest"},"protocols":["OPENCLEW"],"capabilities":["crewai","multi-agent"],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":null,"freshnessAt":"2026-10-09T04:11:15.932Z","freshnessLabel":"Oct 9, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Oct 9, 2026"},{"label":"Vendor","value":"Al4xdev"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"Unpublished"}],"factsPreview":[{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Al4xdev","href":"https://github.com/al4xdev/promptnest","sourceUrl":"https://github.com/al4xdev/promptnest","sourceType":"profile","confidence":"medium","observedAt":"2026-10-09T04:11:15.939Z","isPublic":true},{"factKey":"protocols","category":"compatibility","label":"Protocol compatibility","value":"OpenClaw","href":"https://www.xpersona.co/api/v1/agents/crewai-al4xdev-promptnest/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/crewai-al4xdev-promptnest/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-10-09T04:11:15.939Z","isPublic":true},{"factKey":"docs_crawl","category":"integration","label":"Crawlable docs","value":"6 indexed pages on the official domain","href":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceUrl":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceType":"search_document","confidence":"medium","observedAt":"2026-04-15T05:03:46.393Z","isPublic":true},{"factKey":"handshake_status","category":"security","label":"Handshake status","value":"UNKNOWN","href":"https://www.xpersona.co/api/v1/agents/crewai-al4xdev-promptnest/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/crewai-al4xdev-promptnest/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["Trust evidence available"],"agentCard":{"name":"promptnest","description":"Typed async nested map/reduce orchestration for OpenAI, Azure OpenAI, LangChain, LangGraph, CrewAI, and custom LLM runtimes.","source":"GITHUB_REPOS","sourceId":"crewai:1302923884","repository":"https://github.com/al4xdev/promptnest","documentation":"https://www.xpersona.co/skill/crewai-al4xdev-promptnest/agent/crewai-al4xdev-promptnest","protocols":["OPENCLEW"],"capabilities":["crewai","multi-agent"],"languages":["python"],"install":{"command":"git clone https://github.com/al4xdev/promptnest.git","ecosystem":"git"},"examples":[{"kind":"example","language":"fish","snippet":"pip install promptnest\npip install \"promptnest[openai]\"\npip install \"promptnest[langchain]\"\npip install \"promptnest[langgraph]\"\npip install \"promptnest[crewai]\"\npip install \"promptnest[all]\""},{"kind":"example","language":"python","snippet":"import asyncio\n\nfrom openai import AsyncOpenAI\nfrom pydantic import BaseModel\n\nfrom promptnest import PromptNest\nfrom promptnest.adapters import OpenAIAdapter\n\n\nclass ChunkSummary(BaseModel):\n    summary: str\n    keywords: list[str]\n\n\nclass FinalReport(BaseModel):\n    full_summary: str\n    all_keywords: list[str]\n\n\nasync def main() -> None:\n    adapter = OpenAIAdapter(AsyncOpenAI(), default_model=\"gpt-4.1-mini\")\n\n    runner = (\n        PromptNest.have(\n            adapter,\n            {\n                \"introduction\": [\"First document section...\"],\n                \"details\": [\"First half...\", \"Second half...\"],\n            },\n        )\n        .set_llm_config(max_completion_tokens=2048)\n        .set_retry_config(max_attempts=3, delay_s=1, timeout_s=60)\n        .set_concurrency(8)\n        .set_pre_prompt(\n            \"Summarize section {key_text}:\\n{chunk_text}\",\n            ChunkSummary,\n            use_key=True,\n        )\n        .set_pos_prompt(\n            \"Merge this JSON object into one report:\\n{partial_answers}\",\n            FinalReport,\n        )\n    )\n\n    await runner.get_chunks_result()\n    report = await runner.run_pos_prompt()\n    print(report.full_summary)\n\n\nasyncio.run(main())"}]}}