Crawler Summary

crewdspy-doc-agent answer-first brief

Doc Q&A agent using CrewAI + DSPy + LlamaIndex crewdspy-doc-agent A Document Q&A agent that solves the **same problem as doc-agent** — answer questions about your documents — but using **CrewAI** and **DSPy** instead of LangChain and LangGraph. This is a deliberate side-by-side exercise: same goal, different tools, different mental model. --- The mapping: doc-agent → crewdspy-doc-agent | Concept | doc-agent | crewdspy-doc-agent | |---|---|---| | Orchestration | L Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.

Freshness

Last checked 10/9/2026

Best For

crewdspy-doc-agent is best for crewai, multi-agent workflows where OpenClaw compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, GITHUB REPOS, runtime-metrics, public facts pack

Agent DossierGITHUB REPOSSafety: 66/100

crewdspy-doc-agent

Doc Q&A agent using CrewAI + DSPy + LlamaIndex crewdspy-doc-agent A Document Q&A agent that solves the **same problem as doc-agent** — answer questions about your documents — but using **CrewAI** and **DSPy** instead of LangChain and LangGraph. This is a deliberate side-by-side exercise: same goal, different tools, different mental model. --- The mapping: doc-agent → crewdspy-doc-agent | Concept | doc-agent | crewdspy-doc-agent | |---|---|---| | Orchestration | L

OpenClawself-declared

Public facts

4

Change events

1

Artifacts

0

Freshness

Oct 9, 2026

Verifiededitorial-contentNo verified compatibility signals

Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.

Trust evidence available

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Oct 9, 2026

Vendor

Mangolabservice Coder

Artifacts

0

Benchmarks

0

Last release

Unpublished

Executive Summary

Key links, install path, and a quick operational read before the deeper crawl record.

Verifiededitorial-content

Summary

Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.

Setup snapshot

  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence Ledger

Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.

Verifiededitorial-content
Vendor (1)

Vendor

Mangolabservice Coder

profilemedium
Observed Oct 9, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

OpenClaw

contractmedium
Observed Oct 9, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Release & Crawl Timeline

Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.

Self-declaredagent-index

Artifacts Archive

Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.

Self-declaredGITHUB REPOS

Extracted files

0

Examples

6

Snippets

0

Languages

python

Executable Examples

text

question
   │
   ▼
LlamaIndex retriever → top similarity score
   │
   ├── score ≥ 0.62 (docs are relevant)
   │       │
   │       ▼
   │   CrewAI Crew  (crew.py)
   │       │
   │       ├── ResearchAgent (has DocumentSearchTool)
   │       │     · Autonomously searches the index
   │       │     · May call the tool multiple times
   │       │     · Returns a structured research summary
   │       │
   │       └── WriterAgent (no tools)
   │             · Receives ResearchAgent's output
   │             · Writes a draft answer
   │             │
   │             ▼
   │   DSPy RAGModule  (signatures.py)
   │         · Takes crew's draft + question
   │         · ChainOfThought: reasons → answers
   │         · Returns final structured answer
   │
   └── score < 0.62 (docs don't cover this)
           │
           ▼
       DSPy DirectModule  (signatures.py)
             · ChainOfThought from general knowledge
             · Returns final structured answer

python

# doc-agent: developer controls every transition
builder.add_edge(START, "retrieve_and_route")
builder.add_conditional_edges("retrieve_and_route", decide_route)
builder.add_edge("generate", END)

python

# crewdspy: developer defines roles, agents control their steps
researcher = Agent(role="Document Research Specialist", tools=[search_tool], ...)
writer     = Agent(role="Technical Answer Writer", ...)
# The researcher will call the search tool as many times as it needs
# The writer will use the researcher's full output

python

# doc-agent: manual prompt engineering
response = llm.invoke([HumanMessage(content=(
    "You are a helpful assistant. Use the document excerpts below to "
    "answer the question. Quote or summarize directly from the text...\n\n"
    f"DOCUMENT EXCERPTS:\n{context}\n\nQUESTION: {question}\n\nANSWER:"
))])

python

# crewdspy: declarative signature — no prompt string to maintain
class AnswerFromDocs(dspy.Signature):
    """Answer a question using research extracted from indexed documents."""
    context:  str = dspy.InputField(desc="research summary from the crew")
    question: str = dspy.InputField(desc="the user's question")
    answer:   str = dspy.OutputField(desc="a complete, grounded answer")

predictor = dspy.ChainOfThought(AnswerFromDocs)
result    = predictor(context=context, question=question)

text

crewdspy-doc-agent/
├── docs/              ← your documents (txt, md, pdf)
├── storage/           ← LlamaIndex index (created by ingest.py)
│
├── config.py          · CrewAI LLM + DSPy LM + LlamaIndex embed config
├── ingest.py          · LlamaIndex: load docs → embed → persist (unchanged pattern)
├── signatures.py      · DSPy: Signatures + RAGModule + DirectModule
├── tools.py           · CrewAI: DocumentSearchTool (wraps LlamaIndex)
├── crew.py            · CrewAI: ResearchAgent + WriterAgent + Crew
├── main.py            · CLI: routing → crew → DSPy → answer
│
├── Dockerfile
├── docker-compose.yml
├── entrypoint.sh
├── requirements.txt
└── .env.example

Docs & README

Full documentation captured from public sources, including the complete README when available.

Self-declaredGITHUB REPOS

Docs source

GITHUB REPOS

Editorial quality

ready

Doc Q&A agent using CrewAI + DSPy + LlamaIndex crewdspy-doc-agent A Document Q&A agent that solves the **same problem as doc-agent** — answer questions about your documents — but using **CrewAI** and **DSPy** instead of LangChain and LangGraph. This is a deliberate side-by-side exercise: same goal, different tools, different mental model. --- The mapping: doc-agent → crewdspy-doc-agent | Concept | doc-agent | crewdspy-doc-agent | |---|---|---| | Orchestration | L

Full README

crewdspy-doc-agent

A Document Q&A agent that solves the same problem as doc-agent — answer questions about your documents — but using CrewAI and DSPy instead of LangChain and LangGraph.

This is a deliberate side-by-side exercise: same goal, different tools, different mental model.


The mapping: doc-agent → crewdspy-doc-agent

| Concept | doc-agent | crewdspy-doc-agent | |---|---|---| | Orchestration | LangGraph StateGraph | CrewAI Crew + Process.sequential | | Prompt engineering | LangChain f-string prompts | DSPy Signature + ChainOfThought | | State management | AgentState TypedDict | CrewAI task context=[] chaining | | Flow control | Explicit graph edges | Agent roles + task delegation | | Retrieval | LlamaIndex (same) | LlamaIndex (same) | | Routing | Score-based (same learned pattern) | Score-based (same) | | Tool calls | LangChain tools | CrewAI BaseTool | | Answer generation | HumanMessage + llm.invoke() | dspy.ChainOfThought(Signature) |


Architecture

question
   │
   ▼
LlamaIndex retriever → top similarity score
   │
   ├── score ≥ 0.62 (docs are relevant)
   │       │
   │       ▼
   │   CrewAI Crew  (crew.py)
   │       │
   │       ├── ResearchAgent (has DocumentSearchTool)
   │       │     · Autonomously searches the index
   │       │     · May call the tool multiple times
   │       │     · Returns a structured research summary
   │       │
   │       └── WriterAgent (no tools)
   │             · Receives ResearchAgent's output
   │             · Writes a draft answer
   │             │
   │             ▼
   │   DSPy RAGModule  (signatures.py)
   │         · Takes crew's draft + question
   │         · ChainOfThought: reasons → answers
   │         · Returns final structured answer
   │
   └── score < 0.62 (docs don't cover this)
           │
           ▼
       DSPy DirectModule  (signatures.py)
             · ChainOfThought from general knowledge
             · Returns final structured answer

What makes CrewAI different from LangGraph

LangGraph is a graph programming model — you define every node and every edge explicitly. The developer controls the entire flow.

# doc-agent: developer controls every transition
builder.add_edge(START, "retrieve_and_route")
builder.add_conditional_edges("retrieve_and_route", decide_route)
builder.add_edge("generate", END)

CrewAI is a role-based delegation model — you define what each agent is responsible for, and the agents decide how to accomplish their tasks.

# crewdspy: developer defines roles, agents control their steps
researcher = Agent(role="Document Research Specialist", tools=[search_tool], ...)
writer     = Agent(role="Technical Answer Writer", ...)
# The researcher will call the search tool as many times as it needs
# The writer will use the researcher's full output

The tradeoff: LangGraph is more predictable and debuggable; CrewAI is more flexible and handles multi-step research better.


What makes DSPy different from LangChain prompts

LangChain (doc-agent): you hand-write the prompt as an f-string.

# doc-agent: manual prompt engineering
response = llm.invoke([HumanMessage(content=(
    "You are a helpful assistant. Use the document excerpts below to "
    "answer the question. Quote or summarize directly from the text...\n\n"
    f"DOCUMENT EXCERPTS:\n{context}\n\nQUESTION: {question}\n\nANSWER:"
))])

DSPy (crewdspy): you declare the signature (inputs + outputs) and DSPy generates and optimizes the prompt.

# crewdspy: declarative signature — no prompt string to maintain
class AnswerFromDocs(dspy.Signature):
    """Answer a question using research extracted from indexed documents."""
    context:  str = dspy.InputField(desc="research summary from the crew")
    question: str = dspy.InputField(desc="the user's question")
    answer:   str = dspy.OutputField(desc="a complete, grounded answer")

predictor = dspy.ChainOfThought(AnswerFromDocs)
result    = predictor(context=context, question=question)

DSPy's ChainOfThought automatically adds a reasoning step before the answer. And with a few labeled examples, DSPy's optimizer (MIPRO, BootstrapFewShot) can rewrite the entire prompt to maximize a metric — no hand-tuning required.


Project structure

crewdspy-doc-agent/
├── docs/              ← your documents (txt, md, pdf)
├── storage/           ← LlamaIndex index (created by ingest.py)
│
├── config.py          · CrewAI LLM + DSPy LM + LlamaIndex embed config
├── ingest.py          · LlamaIndex: load docs → embed → persist (unchanged pattern)
├── signatures.py      · DSPy: Signatures + RAGModule + DirectModule
├── tools.py           · CrewAI: DocumentSearchTool (wraps LlamaIndex)
├── crew.py            · CrewAI: ResearchAgent + WriterAgent + Crew
├── main.py            · CLI: routing → crew → DSPy → answer
│
├── Dockerfile
├── docker-compose.yml
├── entrypoint.sh
├── requirements.txt
└── .env.example

Quick start — Docker

cd crewdspy-doc-agent

# Add a document
cp ../doc-agent/docs/mangolab_knowledge_base.txt docs/

# Start everything
docker compose up --build -d

# Watch startup logs
docker compose logs -f crewdspy-doc-agent

# Connect
docker compose attach crewdspy-doc-agent

Quick start — Local

cd crewdspy-doc-agent
cp .env.example .env

pip install -r requirements.txt

# Add documents, then index
cp ../doc-agent/docs/mangolab_knowledge_base.txt docs/
python ingest.py

python main.py

Key commands

| Action | Command | |---|---| | Rebuild after code changes | docker compose down && docker compose up --build -d | | Re-index after doc changes | docker compose exec crewdspy-doc-agent python ingest.py | | Connect to agent | docker compose attach crewdspy-doc-agent | | View CrewAI reasoning | Set CREW_VERBOSE=true in docker-compose.yml |


Going further with DSPy: optimization

The biggest DSPy feature not yet used here is prompt optimization. Once you have labeled examples, you can auto-tune the signatures:

import dspy
from dspy.teleprompt import BootstrapFewShot

# Define a metric
def answer_metric(example, prediction, trace=None):
    return example.answer.lower() in prediction.answer.lower()

# Build a training set
trainset = [
    dspy.Example(question="Who is Jorge Herrera?", answer="Founder of MangóLab").with_inputs("question"),
    # ... more examples
]

# Optimize
optimizer = BootstrapFewShot(metric=answer_metric)
optimized_module = optimizer.compile(DirectModule(), trainset=trainset)

# Save the optimized prompts
optimized_module.save("optimized_direct.json")

After optimization, DSPy rewrites DirectAnswer's prompt to include few-shot examples that maximize answer_metric. The module is now provably better than the hand-written signature — and you can prove it with a held-out eval set.

Contract & API

Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.

MissingGITHUB REPOS

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

OpenClaw: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://www.xpersona.co/api/v1/agents/crewai-mangolabservice-coder-crewdspy-doc-agent/snapshot"
curl -s "https://www.xpersona.co/api/v1/agents/crewai-mangolabservice-coder-crewdspy-doc-agent/contract"
curl -s "https://www.xpersona.co/api/v1/agents/crewai-mangolabservice-coder-crewdspy-doc-agent/trust"

Reliability & Benchmarks

Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.

Missingruntime-metrics

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Media & Demo

Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.

Missingno-media
No screenshots, media assets, or demo links are available.

Related Agents

Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.

Self-declaredprotocol-neighbors
Github ReposUpdated 7h agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW
Machine Appendix

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://www.xpersona.co/api/v1/agents/crewai-mangolabservice-coder-crewdspy-doc-agent/snapshot",
    "contractUrl": "https://www.xpersona.co/api/v1/agents/crewai-mangolabservice-coder-crewdspy-doc-agent/contract",
    "trustUrl": "https://www.xpersona.co/api/v1/agents/crewai-mangolabservice-coder-crewdspy-doc-agent/trust"
  },
  "curlExamples": [
    "curl -s \"https://www.xpersona.co/api/v1/agents/crewai-mangolabservice-coder-crewdspy-doc-agent/snapshot\"",
    "curl -s \"https://www.xpersona.co/api/v1/agents/crewai-mangolabservice-coder-crewdspy-doc-agent/contract\"",
    "curl -s \"https://www.xpersona.co/api/v1/agents/crewai-mangolabservice-coder-crewdspy-doc-agent/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_REPOS",
      "generatedAt": "2026-10-10T01:52:45.004Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    },
    {
      "key": "crewai",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "multi-agent",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile capability:crewai|supported|profile capability:multi-agent|supported|profile"
}

Facts JSON

[
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Mangolabservice Coder",
    "href": "https://github.com/mangolabservice-coder/crewdspy-doc-agent",
    "sourceUrl": "https://github.com/mangolabservice-coder/crewdspy-doc-agent",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-10-09T21:09:26.001Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "href": "https://www.xpersona.co/api/v1/agents/crewai-mangolabservice-coder-crewdspy-doc-agent/contract",
    "sourceUrl": "https://www.xpersona.co/api/v1/agents/crewai-mangolabservice-coder-crewdspy-doc-agent/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-10-09T21:09:26.001Z",
    "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-mangolabservice-coder-crewdspy-doc-agent/trust",
    "sourceUrl": "https://www.xpersona.co/api/v1/agents/crewai-mangolabservice-coder-crewdspy-doc-agent/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub · GitHub",
    "description": "Fresh crawlable documentation was indexed for 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
  }
]

Sponsored

Ads related to crewdspy-doc-agent and adjacent AI workflows.