SDK & Libraries

Official SDKs

Use ragleaf in your preferred programming language.

Python SDK

Full-featured Python library with async support.

pip install ragleaf

Features:

  • Async/await support
  • Type hints included
  • Python 3.8+ compatible
  • Comprehensive documentation

View on GitHub →

JavaScript/TypeScript SDK

Modern JavaScript SDK for Node.js and browsers.

npm install ragleaf

Features:

  • Full TypeScript support
  • Works in Node.js and browsers
  • Promise-based API
  • Tree-shakeable

View on GitHub →

Go SDK

High-performance Go library for production systems.

go get github.com/ragleaf/ragleaf-go

Features:

  • Zero dependencies
  • Context support
  • Concurrent-safe
  • Optimized for performance

View on GitHub →

REST API

Language-agnostic REST API for any platform.

curl -X POST https://api.ragleaf.dev/v1/verify \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"

Features:

  • RESTful design
  • JSON request/response
  • Rate limiting included
  • Comprehensive error codes

View API Docs →

Community SDKs

Community-maintained SDKs for additional languages:

Framework Integrations

Official integrations with popular RAG frameworks:

  • LangChain: Native integration available
  • LlamaIndex: Plugin available
  • Haystack: Component available
  • Semantic Kernel: Connector available

Need Help?

Check out our Getting Started guide or reach out to support@ragleaf.dev.