Skip to main content

RAGFlow Async SDK

Overview

An async-first Python SDK for interacting with the RAGFlow API.

Provides clean, typed, and production-ready access to RAGFlow features such as:

  • Dataset & document management
  • Document chunking & ingestion
  • File & folder management
  • Knowledge Graph (GraphRAG)
  • Background tasks (parsing, knowledge construction)
  • Chat & Agent sessions with streaming (SSE) support

⚡ Quick Start

💿 Installation

Requires Python 3.10+.

pip install ragflow-async-sdk

🚀 Getting Started

All operations in the RAGFlow SDK are asynchronous. To use the SDK, first initialize the client and then run async calls inside Python's asyncio event loop.

🛠 Initialization

from ragflow_async_sdk import AsyncRAGFlowClient

client = AsyncRAGFlowClient(
    server_url="http://your-ragflow-address",
    api_key="YOUR_API_KEY",
)

⏩ Run with asyncio

import asyncio

async def main():
    # Example: Health check
    system_health = await client.systems.healthz()
    print(system_health.status)

# Run the async main function
asyncio.run(main())

Notes:

All SDK calls are async; use await and async for as needed.


📚 Documentation

📝 User Guide

⚡ FastAPI Integration

🧩 Main Modules

📖 Full API Reference

💡 Error Reference

🧬 Entities Reference

🧪 Testing


License

Apache License 2.0

Metadata

Release files for ragflow-async-sdk 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ragflow-async-sdk 0.1.1
File Size Uploaded Provenance Actions
ragflow_async_sdk-0.1.1.tar.gz 57.7 kB Without provenance Details for ragflow_async_sdk-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ragflow-async-sdk 0.1.1
File Interpreter ABI Platform Actions
ragflow_async_sdk-0.1.1-py3-none-any.whl Python 3 none any Details for ragflow_async_sdk-0.1.1-py3-none-any.whl

Total release size: 109.4 kB

Release files / ragflow_async_sdk-0.1.1.tar.gz

Download URL ragflow_async_sdk-0.1.1.tar.gz
Size 57.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e4f1146ffcbee16be0567c13d7588fabf3f54237cb867b005bec62108d157aac
BLAKE2b-256 checksum
How to use checksums
15601ff303b533585076cd032a1a6fc5a2ffda27939850b1fc40004e69eb6995
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / ragflow_async_sdk-0.1.1-py3-none-any.whl

Download URL ragflow_async_sdk-0.1.1-py3-none-any.whl
Size 51.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42af25ef776786e2a0d2fc57325a18fdd2c5f14678471dbf138b860fd5eaf8cb
BLAKE2b-256 checksum
How to use checksums
300a75ad3aa2290831c50b8a92c38a87d3fef5ec6593a83a379f1f8254d0a752
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Security for ragflow-async-sdk 0.1.1

Provenance

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.

No provenance found

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

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page