Observed since 20 Oct, 22:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Agentic RAG over consent-gated Web3 documentation — search and answer developer questions from Ethereum, Solidity, and ecosystem docs.
Semantic search and AI-assisted answers over consent-gated Web3 documentation.
Ask natural-language questions about Ethereum, Solidity, Geth, and the broader Web3 ecosystem — get structured answers with cited sources, powered by a local embedding model and Qdrant vector search. Every source ingested requires explicit maintainer consent.
Installation · Quickstart · API Reference · Architecture · Configuration · Contributing
fastembed + Qdrant (no GPU required)/docsweb3rag-api and web3rag-ingestWeb UI — search interface

Live search result for eth_getBalance

OpenAPI interactive docs (/docs)

┌─────────────────────────────────────────────────────────┐
│ Web3 Sources │
│ (ethereum.org, geth.ethereum.org, …) │
└────────────────────────┬────────────────────────────────┘
│ consent gate (consents.yaml)
▼
┌─────────────────────────────────────────────────────────┐
│ Ingest Pipeline │
│ ingest → preprocess → embed (fastembed) → index │
│ │ │
│ data/processed/ data/vectors/ │
└────────────────────────┬────────────────────────────────┘
│
▼
┌─────────────┐
│ Qdrant │ vector store
│ :6333 │ (Docker)
└──────┬──────┘
│
▼
┌─────────────────────────────────────────────────────────┐
│ FastAPI :8080 │
│ GET /search — dense vector search + policy filter │
│ POST /assist — retrieval + structured answer │
│ GET /health — liveness check │
└────────────────────────┬────────────────────────────────┘
│
▼
┌──────────────────────┐
│ Next.js Web UI │
│ :3000 │
└──────────────────────┘
Requirements: Python 3.11+, Docker
pip install agentic-web3-rag
With optional OpenAI-powered answers:
pip install "agentic-web3-rag[openai]"
For local development:
git clone https://github.com/VinitaSilaparasetty/agentic-web3-rag.git
cd agentic-web3-rag
pip install -e ".[dev]"
cp .env.example .env
# Edit .env and fill in your keys:
# OPENAI_API_KEY=... (optional — only needed for LLM-assisted answers)
# GITHUB_TOKEN=... (optional — raises GitHub API rate limits for discovery)
docker compose up -d qdrant
# Ingest → chunk → embed → index (all four steps)
web3rag-ingest --sources data/sources.yaml
python -m pipelines.preprocess
python -m pipelines.embed
python -m pipelines.index
Or use Make:
make ingest # runs ingest step
make dev # creates venv + installs deps
make up # starts Docker stack
make api # starts API server
make test # runs test suite
make eval # runs retrieval smoke eval
web3rag-api
# → http://localhost:8080
# → http://localhost:8080/docs (OpenAPI)
cd webui
npm install
npm run dev
# → http://localhost:3000
GET /healthLiveness check.
curl http://localhost:8080/health
# {"ok": true}
GET /searchDense vector search over indexed docs.
| Parameter | Type | Default | Description |
|---|---|---|---|
q | string | — | Required. Natural-language query |
k | int | 5 | Number of results to return (max 10) |
project | string | — | Filter by project (e.g. ethereum,geth) |
collection | string | — | Override Qdrant collection name |
offset | int | 0 | Pagination offset |
curl "http://localhost:8080/search?q=how+do+I+call+eth_getBalance&k=3&project=geth"
{
"results": [
{
"url": "https://geth.ethereum.org/docs/interacting-with-geth/rpc",
"title": "Rpc",
"snippet": "JSON-RPC Server — Interacting with Geth requires sending requests...",
"score": 0.82,
"project": "geth",
"source": "geth.ethereum.org"
}
]
}
POST /assistRetrieval-augmented answer with cited sources.
curl -X POST http://localhost:8080/assist \
-H "Content-Type: application/json" \
-d '{"q": "how do I call eth_getBalance in geth", "k": 3}'
Body parameters:
| Field | Type | Default | Description |
|---|---|---|---|
q | string | — | Required. Developer question |
k | int | 5 | Docs to retrieve |
project | string | — | Project filter (ethereum, geth) |
collection | string | — | Override Qdrant collection |
offset | int | 0 | Pagination offset |
{
"query": "how do I call eth_getBalance in geth",
"answer": "### Enable JSON-RPC in geth\n...\n**References**\n- Rpc (geth.ethereum.org) → https://...",
"results": [...]
}
All settings are read from environment variables (or .env). Copy .env.example to get started.
| Variable | Default | Description |
|---|---|---|
QDRANT_URL | http://localhost:6333 | Qdrant server URL |
QDRANT_API_KEY | — | Qdrant API key (for Qdrant Cloud) |
QDRANT_ALIAS_ACTIVE | web3_docs_active | Active collection alias queried by the API |
QDRANT_COLLECTION_STAGING | web3_docs_staging | Staging collection written to by the pipeline |
EMBEDDING_MODEL | sentence-transformers/all-MiniLM-L6-v2 | fastembed model used for indexing and query |
OPENAI_API_KEY | — | Enables LLM-assisted answers in /assist |
ASSIST_USE_OPENAI | false | Set to true to enable OpenAI answers |
ASSIST_OPENAI_MODEL | gpt-4o-mini | OpenAI model for assisted answers |
GITHUB_TOKEN | — | Raises GitHub API rate limit for source discovery |
USER_AGENT | web3-rag-bot/0.1 | HTTP user-agent used during ingestion |
CACHE_POLICY_DEFAULT | link-only | Default display policy for unknown domains |
SNIPPET_CHARS | 320 | Max characters in returned snippets |
API_HOST | 0.0.0.0 | API bind address |
API_PORT | 8080 | API port |
JWT_SECRET | dev-secret-change-me | Secret for JWT smoke tokens (change in prod) |
If you maintain Web3 documentation and want it indexed, click the button below. It takes 2 minutes and you can revoke at any time.
By submitting the form you agree to the Consent to Index terms. Your GitHub account identity and submission timestamp are recorded as the consent record. You can revoke at any time by commenting "REVOKE" on your issue or emailing info@aevoxis.de — all indexed content is removed within 48 hours.
Ask the maintainer to submit the opt-in form above, or raise an issue on their repo pointing them to it. Save the link to their consent issue as proof.
data/consents.yamlconsents:
- status: approved
domain: yourdocs.example.com
project: yourproject
proof: "https://github.com/yourorg/yourrepo/issues/123"
scope:
include_paths:
- /docs/
exclude_paths: []
data/sources.yamlsources:
- kind: website
id: yourproject-docs
project: yourproject
url: https://yourdocs.example.com/docs/
consent_proof: "https://github.com/yourorg/yourrepo/issues/123"
web3rag-ingest --sources data/sources.yaml
python -m pipelines.preprocess
python -m pipelines.embed
python -m pipelines.index
A full Docker Compose stack is included:
docker compose up -d # starts Qdrant (+ Postgres)
docker compose down -v # stops and removes volumes
To build and run the API in Docker:
docker build -f infra/docker/api/Dockerfile -t web3rag-api .
docker run -p 8080:8080 --env-file .env web3rag-api
pip install -e ".[dev]"
pytest
Run the retrieval smoke eval (requires a running Qdrant with indexed data):
python -m pipelines.eval_retrieval
This project operates on a deny-by-default consent model:
approved in data/consents.yaml are ever ingestedproof link (GitHub issue, email, PR) from the maintainerlink-only / snippet / fulltext)| Regulation | How it is addressed |
|---|---|
| GDPR (2016/679) | PRIVACY.md — privacy notice, data subject rights, retention policy, third-country transfer disclosure |
| EU AI Act (2024/1689) Art. 50 | /assist responses carry "ai_generated": true and X-AI-Generated: true header; integrators must surface this to end users |
| DSM Copyright Directive (2019/790) Art. 4 | Consent model is opt-in — exceeds the opt-out minimum; robots.txt + X-Robots-Tag: noai + TDM reservation headers respected |
| eIDAS (910/2014) Art. 25 | GitHub issue consent = Simple Electronic Signature; legally admissible as evidence — see CONSENT.md §9 |
| DSA (2022/2065) | Micro-enterprise exemption applies; no algorithmic content ranking or advertising |
Contributions are welcome. Please open an issue before submitting a large PR.
git clone https://github.com/VinitaSilaparasetty/agentic-web3-rag.git
cd agentic-web3-rag
pip install -e ".[dev]"
pytest
This software is licensed under AGPL-3.0. For commercial use, enterprise deployment, or white-label licensing:
Copyright © 2025 Vinita Silaparasetty, Aevoxis Solutions. Licensed under the GNU Affero General Public License v3.0.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 2 Jul 2026 | 20 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 22:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:6684f953175fd2906390acc7023caf3bb44772e9ec105788ce3584e3a80fd71c