Python SDK for Synqui observability and tracing platform
Project description
🤠 Synqui Python SDK
System intelligence for multi-agent AI
Architecture extraction • Agent coordination • Performance insights
⚡ Quick Start
1. Install
pip install synqui-sdk
Note: The package is installed as
synqui-sdk, but imported in Python asimport synqui.
2. Get Your API Key
- Go to the Synqui Dashboard
- Create a new project (or select an existing one)
- Navigate to the project's Settings page
- Click Create Project API Key (keys start with
cf_)
3. Initialize Synqui
import synqui
import os
synqui.init(
project_name="my-project",
project_api_key=os.getenv("SYNQUI_PROJECT_API_KEY"),
environment=os.getenv("SYNQUI_ENVIRONMENT", "development")
)
4. Integrate with LangChain
from synqui.langchain import get_synqui_handler
from langchain_openai import ChatOpenAI
# Create handler
handler = get_synqui_handler(
parent_context={"pipeline": "demo"}
)
# Use with LLM
llm = ChatOpenAI(callbacks=[handler])
llm.invoke("Hello, world!")
# Done! ✨ View your traces at https://www.synqui.app
🎯 Key Features
| Feature | Description |
|---|---|
| 🧠 Automatic Failure Analysis | AI-powered root cause analysis—know what broke and how to fix it instantly |
| 📊 Architecture Performance Tracking | Track architecture evolution with real data. Compare versions and know which configurations work before shipping |
| 🔧 Development & Production Modes | Debug fast in development. Monitor reliably in production. One platform for both |
| 🤖 MCP Integration | Your agents fix themselves. Connect via MCP to query insights, identify issues, and implement fixes automatically |
| 📈 Performance Monitoring | Track success rates, latency, and costs over time. Get alerted when patterns start degrading |
| 🏗️ System Architecture Visualization | Automatically extract and visualize agent relationships and coordination patterns |
📚 Documentation
- 📖 Code Examples - LangChain and LangGraph integration examples
- 🎨 Advanced Usage - Session management, graph architecture, and custom configuration
- 🔧 Configuration Reference - Complete parameter and environment variable reference
- 🚨 Best Practices - Recommended patterns and common pitfalls
- 💡 Examples Directory - Real-world examples and integration patterns
- 🎯 Demo: Article Explainer - Full-featured demo application using LangGraph and Synqui
- 🌐 Web Documentation - Complete API reference and guides
🔧 Installation
From PyPI (Recommended)
pip install synqui-sdk
From Source
git clone https://github.com/nateislas/synqui-sdk.git
cd synqui-sdk
pip install -e .
With All Dependencies
pip install synqui-sdk[all]
📝 Contributing
Join our community! See Contributing Guide
Need help? Join our Discord community or email support@synqui.app
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file synqui_sdk-0.1.0.tar.gz.
File metadata
- Download URL: synqui_sdk-0.1.0.tar.gz
- Upload date:
- Size: 74.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dec48eabd67479e7e1141a627df2b60c6a7b6edc37d9faebe47caba885efb82
|
|
| MD5 |
2dc0011c79fe47820d18de968afb05b2
|
|
| BLAKE2b-256 |
e6ebb3bae8d6e16308f118e692d4c95d37b44d8ac60bd2d03457f3ad74569318
|
File details
Details for the file synqui_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: synqui_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 79.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9655886cbcd2bd5c2f40abe8bc851572d5ecb27f5774f70ca47d94b28f35474f
|
|
| MD5 |
fe9f2b847e765bdb51c17bc3a0109552
|
|
| BLAKE2b-256 |
dcb12dc0e097c128f2e8c6a9fb13580372995296f9e519ec32ceb63c855e5880
|