@x1pay/langchain
LangChain/LangGraph tools for AI agent x402 payments on X1
Crawler Summary
Production-ready Agentic RAG system with OpenWebUI, CrewAI, LlamaIndex, PGVector, Ollama, Phoenix tracing, and RAGAS evaluation OpenWebUI Agentic RAG System A production-ready Retrieval-Augmented Generation (RAG) system with multi-agent orchestration, conversation memory, observability, and comprehensive evaluation capabilities. $1 $1 $1 $1 Why This Project Matters Most RAG demos stop at basic retrieval and one-shot answering. This project is designed for production-style reliability: - multi-agent answer generation and validation with CrewAI Capability contract not published. No trust telemetry is available yet. 1 GitHub stars reported by the source. Last updated 6/1/2026.
Freshness
Last checked 6/1/2026
Best For
Agentic-RAG-with-OpenWebUI 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 OPENCLEW, runtime-metrics, public facts pack
Production-ready Agentic RAG system with OpenWebUI, CrewAI, LlamaIndex, PGVector, Ollama, Phoenix tracing, and RAGAS evaluation OpenWebUI Agentic RAG System A production-ready Retrieval-Augmented Generation (RAG) system with multi-agent orchestration, conversation memory, observability, and comprehensive evaluation capabilities. $1 $1 $1 $1 Why This Project Matters Most RAG demos stop at basic retrieval and one-shot answering. This project is designed for production-style reliability: - multi-agent answer generation and validation with CrewAI
Public facts
4
Change events
0
Artifacts
0
Freshness
Jun 1, 2026
Capability contract not published. No trust telemetry is available yet. 1 GitHub stars reported by the source. Last updated 6/1/2026.
Trust score
Unknown
Compatibility
OpenClaw
Freshness
Jun 1, 2026
Vendor
Rohitsundaram
Artifacts
0
Benchmarks
0
Last release
Unpublished
Key links, install path, and a quick operational read before the deeper crawl record.
Summary
Capability contract not published. No trust telemetry is available yet. 1 GitHub stars reported by the source. Last updated 6/1/2026.
Setup snapshot
git clone https://github.com/rohitsundaram/Agentic-RAG-with-OpenWebUI.gitSetup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
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.
Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.
Vendor
Rohitsundaram
Protocol compatibility
OpenClaw
Adoption signal
1 GitHub stars
Handshake status
UNKNOWN
Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.
Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.
Extracted files
0
Examples
6
Snippets
0
Languages
python
bash
curl -X POST "http://localhost:4000/evaluate" \
-H "Content-Type: application/json" \
-d '{bash
curl -X POST "http://localhost:4000/evaluate" \
-H "Content-Type: application/json" \
-d '{
"question": "What is procurement?",
"ground_truth": "Procurement is the process of acquiring goods and services",
"top_k": 5
}'bash
git clone https://github.com/rohitsundaram/Agentic-RAG-with-OpenWebUI.git cd Agentic-RAG-with-OpenWebUI
bash
docker compose up -d
bash
# Check service health docker compose ps # View FastAPI logs docker compose logs -f fastapi
bash
curl -X POST "http://localhost:4000/ingest"
Full documentation captured from public sources, including the complete README when available.
Docs source
GITHUB OPENCLEW
Editorial quality
ready
Production-ready Agentic RAG system with OpenWebUI, CrewAI, LlamaIndex, PGVector, Ollama, Phoenix tracing, and RAGAS evaluation OpenWebUI Agentic RAG System A production-ready Retrieval-Augmented Generation (RAG) system with multi-agent orchestration, conversation memory, observability, and comprehensive evaluation capabilities. $1 $1 $1 $1 Why This Project Matters Most RAG demos stop at basic retrieval and one-shot answering. This project is designed for production-style reliability: - multi-agent answer generation and validation with CrewAI
A production-ready Retrieval-Augmented Generation (RAG) system with multi-agent orchestration, conversation memory, observability, and comprehensive evaluation capabilities.
Most RAG demos stop at basic retrieval and one-shot answering. This project is designed for production-style reliability:
The API exposes built-in quality evaluation using RAGAs (faithfulness, answer_relevancy, context_precision, context_recall).
curl -X POST "http://localhost:4000/evaluate" \
-H "Content-Type: application/json" \
-d '{
"question": "What is procurement?",
"ground_truth": "Procurement is the process of acquiring goods and services",
"top_k": 5
}'
Use these metrics in your own benchmark table to track quality improvements across prompt, retrieval, and re-ranking changes.
git clone https://github.com/rohitsundaram/Agentic-RAG-with-OpenWebUI.git
cd Agentic-RAG-with-OpenWebUI
docker compose up -d
# Check service health
docker compose ps
# View FastAPI logs
docker compose logs -f fastapi
# Place your documents in the data/ folder
cp your_documents.pdf data/
# Trigger ingestion
curl -X POST "http://localhost:4000/ingest"
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β OpenWebUI (Port 3000) β
β User Chat Interface β
ββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββ
β OpenAI-compatible API
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β FastAPI Backend (Port 4000) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β ββββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ β
β β Contextual RAG β β Conversation β β CrewAI Agents β β
β β + Re-ranking β β Memory β β Orchestration β β
β ββββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ β
β ββββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ β
β β LlamaIndex β β Arize Phoenix β β RAGAs β β
β β Query Engine β β Observability β β Evaluation β β
β ββββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ β
βββββ¬βββββββββββββββββββββββ¬βββββββββββββββββββββββ¬βββββββββββββββββββ
β β β
βΌ βΌ βΌ
βββββββββββββββ ββββββββββββββββ ββββββββββββββββββ
β PostgreSQL β β Ollama β β Document Store β
β + PGVector β β llama3.2:1b β β (data/) β
β (Port 5432) β β (Port 11434) β ββββββββββββββββββ
βββββββββββββββ ββββββββββββββββ
For detailed architecture information, see Architecture.md.
# 1. Clone repository
git clone https://github.com/rohitsundaram/Agentic-RAG-with-OpenWebUI.git
cd Agentic-RAG-with-OpenWebUI
# 2. Configure environment (optional)
# Create .env only if you want to override defaults
touch .env
# Add any environment overrides as needed
# 3. Start all services
docker compose up -d
# 4. Check service health
docker compose ps
# 1. Create virtual environment
python3.11 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# 2. Install dependencies
pip install -r requirements.txt
# 3. Start PostgreSQL and Ollama separately
docker compose up postgres ollama -d
# 4. Run FastAPI
uvicorn app:app --host 0.0.0.0 --port 4000 --reload
Create a .env file in the root directory:
# Ollama Configuration
OLLAMA_BASE_URL=http://ollama:11434
OLLAMA_MODEL=llama3.2:1b
# Database
DATABASE_URL=postgresql://raguser:ragpass@postgres:5432/ragdb
# Phoenix Observability
PHOENIX_COLLECTOR_ENDPOINT=http://localhost:6006
PHOENIX_PROJECT_NAME=openwebui-rag
# Optional: Cohere Re-ranking (for better results)
COHERE_API_KEY=your-cohere-api-key-here
By default, the system uses llama3.2:1b (1.3 GB) for lower memory usage. To use larger models:
# In docker-compose.yml, update OLLAMA_MODEL
environment:
- OLLAMA_MODEL=llama3.2 # 2.0 GB, better quality
The system uses sentence-transformers/all-MiniLM-L6-v2 (384 dimensions). To change:
# In app.py, update embed_model
embed_model = HuggingFaceEmbedding(
model_name="BAAI/bge-small-en-v1.5", # Alternative model
device="cpu"
)
# Ingest all documents in data/ folder
curl -X POST "http://localhost:4000/ingest"
.pdf).docx).txt).md)# Simple query
curl -X POST "http://localhost:4000/ask" \
-H "Content-Type: application/json" \
-d '{
"question": "What are the main procurement requirements?",
"top_k": 5
}'
# Conversational query with memory
curl -X POST "http://localhost:4000/chat" \
-H "Content-Type: application/json" \
-d '{
"question": "Tell me about the document",
"session_id": "user123",
"top_k": 5
}'
# Single query evaluation
curl -X POST "http://localhost:4000/evaluate" \
-H "Content-Type: application/json" \
-d '{
"question": "What is procurement?",
"ground_truth": "Procurement is the process of acquiring goods and services",
"top_k": 5
}'
# Batch evaluation
curl -X POST "http://localhost:4000/evaluate/batch" \
-H "Content-Type: application/json" \
-d '{
"questions": [
"What is procurement?",
"Who approves contracts?"
]
}'
| Endpoint | Method | Description |
|----------|--------|-------------|
| /ask | POST | Stateless RAG with re-ranking |
| /chat | POST | Conversational RAG with memory |
| /ingest | POST | Document ingestion |
| /v1/chat/completions | POST | OpenAI-compatible chat API |
| Endpoint | Method | Description |
|----------|--------|-------------|
| /chat/history/{session_id} | GET | View conversation history |
| /chat/clear | POST | Clear session memory |
| /chat/sessions | GET | List active sessions |
| /chat/sessions | DELETE | Clear all sessions |
| Endpoint | Method | Description |
|----------|--------|-------------|
| /phoenix/status | GET | Phoenix observability status |
| /phoenix/traces | GET | View LLM traces |
| /phoenix/metrics | GET | Performance metrics |
| Endpoint | Method | Description |
|----------|--------|-------------|
| /ragas/status | GET | RAGAs evaluation status |
| /evaluate | POST | Single query evaluation |
| /evaluate/batch | POST | Batch evaluation |
For complete API documentation, visit http://localhost:4000/docs after starting the services.
# Check logs
docker compose logs
# Rebuild containers
docker compose build --no-cache
docker compose up -d
# Check FastAPI logs
docker compose logs fastapi | tail -50
# Common issues:
# - Ollama not ready: wait 2 minutes
# - PostgreSQL not ready: check postgres logs
# - Missing dependencies: rebuild image
# Check if documents are ingested
curl http://localhost:4000/health | jq
# Check database
docker compose exec postgres psql -U raguser -d ragdb \
-c "SELECT COUNT(*) FROM data_llamaindex_documents;"
# Re-ingest if needed
curl -X POST http://localhost:4000/ingest
# Connect to PostgreSQL
docker compose exec postgres psql -U raguser -d ragdb
# Remove duplicates
DELETE FROM data_llamaindex_documents a USING (
SELECT MIN(id) as id, text, metadata_->>'source' as source
FROM data_llamaindex_documents
GROUP BY text, metadata_->>'source'
HAVING COUNT(*) > 1
) b
WHERE a.text = b.text
AND a.metadata_->>'source' = b.source
AND a.id <> b.id;
# Check environment
docker compose exec openwebui env | grep OPENAI
# Restart if needed
docker compose restart openwebui
For more troubleshooting tips, see PROJECT_STATUS.md.
# Health check all endpoints
./test_all_endpoints.sh
# Individual endpoint test
curl http://localhost:4000/health
# All services
docker compose logs -f
# Specific service
docker compose logs -f fastapi
docker compose logs -f ollama
docker compose logs -f postgres
# Stop all services
docker compose down
# Stop and remove volumes (clean slate)
docker compose down -v
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
For questions or support, please open an issue on GitHub.
Built with β€οΈ using LlamaIndex, CrewAI, and OpenWebUI
Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.
Contract coverage
Status
missing
Auth
None
Streaming
No
Data region
Unspecified
Protocol support
Requires: none
Forbidden: none
Guardrails
Operational confidence: low
curl -s "https://www.xpersona.co/api/v1/agents/crewai-rohitsundaram-agentic-rag-with-openwebui/snapshot"
curl -s "https://www.xpersona.co/api/v1/agents/crewai-rohitsundaram-agentic-rag-with-openwebui/contract"
curl -s "https://www.xpersona.co/api/v1/agents/crewai-rohitsundaram-agentic-rag-with-openwebui/trust"
Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.
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
Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.
Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.
LangChain/LangGraph tools for AI agent x402 payments on X1
An implementation of a multi-agent swarm using LangGraph
LangGraph Multi-Agent Supervisor
LangChain tools for OceanBus β give your LangChain and CrewAI agents a global identity, encrypted messaging, and Yellow Pages service discovery with a single import.
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-rohitsundaram-agentic-rag-with-openwebui/snapshot",
"contractUrl": "https://www.xpersona.co/api/v1/agents/crewai-rohitsundaram-agentic-rag-with-openwebui/contract",
"trustUrl": "https://www.xpersona.co/api/v1/agents/crewai-rohitsundaram-agentic-rag-with-openwebui/trust"
},
"curlExamples": [
"curl -s \"https://www.xpersona.co/api/v1/agents/crewai-rohitsundaram-agentic-rag-with-openwebui/snapshot\"",
"curl -s \"https://www.xpersona.co/api/v1/agents/crewai-rohitsundaram-agentic-rag-with-openwebui/contract\"",
"curl -s \"https://www.xpersona.co/api/v1/agents/crewai-rohitsundaram-agentic-rag-with-openwebui/trust\""
],
"jsonRequestTemplate": {
"query": "summarize this repo",
"constraints": {
"maxLatencyMs": 2000,
"protocolPreference": [
"OPENCLEW"
]
}
},
"jsonResponseTemplate": {
"ok": true,
"result": {
"summary": "...",
"confidence": 0.9
},
"meta": {
"source": "GITHUB_OPENCLEW",
"generatedAt": "2026-10-08T23:14:57.679Z"
}
},
"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",
"label": "Vendor",
"value": "Rohitsundaram",
"category": "vendor",
"href": "https://github.com/rohitsundaram/Agentic-RAG-with-OpenWebUI",
"sourceUrl": "https://github.com/rohitsundaram/Agentic-RAG-with-OpenWebUI",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-05-24T06:16:57.232Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "protocols",
"label": "Protocol compatibility",
"value": "OpenClaw",
"category": "compatibility",
"href": "https://www.xpersona.co/api/v1/agents/crewai-rohitsundaram-agentic-rag-with-openwebui/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/crewai-rohitsundaram-agentic-rag-with-openwebui/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-05-24T06:16:57.232Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "traction",
"label": "Adoption signal",
"value": "1 GitHub stars",
"category": "adoption",
"href": "https://github.com/rohitsundaram/Agentic-RAG-with-OpenWebUI",
"sourceUrl": "https://github.com/rohitsundaram/Agentic-RAG-with-OpenWebUI",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-05-24T06:16:57.232Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "handshake_status",
"label": "Handshake status",
"value": "UNKNOWN",
"category": "security",
"href": "https://www.xpersona.co/api/v1/agents/crewai-rohitsundaram-agentic-rag-with-openwebui/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/crewai-rohitsundaram-agentic-rag-with-openwebui/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true,
"metadata": {}
}
]Change Events JSON
[]
Sponsored
Ads related to Agentic-RAG-with-OpenWebUI and adjacent AI workflows.