Skip to main content Switch to mobile version ragfly 1.0.0 RAGfly Python SDK — RAG service for your AI agents
pip install ragfly==1.0.0 Copy PIP instructions
Official Python client for RAGfly. It speaks the English REST /v1 contract.
Using TypeScript/JavaScript? See the TypeScript SDK (npm install @ragfly/sdk) — same surface.
pip install ragfly Quick start
from ragfly import RAGfly client = RAGfly(api_key="rf_...") # RAG end to end (a long answer returns status "IN_PROGRESS": see get_answer below) resp = client.ask("What are the Q1 sales figures?") print(resp.status, resp.answer) # Retrieval only results = client.search("maintenance contracts", limit=5) for doc in results.documents: print(doc.name, doc.max_similarity) ask waits up to about 25 seconds. A longer answer comes back with status="IN_PROGRESS", its conversation_id and an empty answer; poll get_answer(conversation_id) every few seconds until status is COMPLETED (or FAILED). The question is charged once.
Everything the RAGfly application lets your user do is available as an operation, with the same permissions and audit as the web app.
ops = client.list_operations()["operations"] # what this key can run schema = client.get_operation("document_types.update") # input_schema / output_schema client.run_operation("document_types.update", {"code": "TDOC_...", "name": "Invoices"}) # write_confirm operations (deletes, reverts, resets) need confirm=True preview = client.run_operation("document_types.delete", {"code": "TDOC_..."}) assert preview["executed"] is False client.run_operation("document_types.delete", {"code": "TDOC_..."}, confirm=True) Errors raise RAGflyError with status_code, the public code (NOT_FOUND, VALIDATION_ERROR, …) and details.
Create an API key from app.ragfly.ai → API Keys. A key only works on /v1; creating or revoking keys needs a signed-in person.
Docs: https://api.ragfly.ai/docs
Site: https://ragfly.ai
Released: Dec 5, 2026
Release files for ragfly 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 25.3 kB
Release files / ragfly-1.0.0.tar.gz
Release files / ragfly-1.0.0-py3-none-any.whl
Security for ragfly 1.0.0
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Dec 5, 2026 2 release files No provenance
Oct 23, 2026 2 release files No provenance
Oct 13, 2026 2 release files No provenance
Oct 8, 2026 2 release files No provenance
Oct 7, 2026 2 release files No provenance
Sep 16, 2026 2 release files No provenance
Jul 13, 2026 2 release files No provenance
Jun 23, 2026 2 release files No provenance
Jun 17, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from 4d99e05











