SDK Feature Matrix
This page shows the feature parity between DuraGraphβs Python and Go SDKs.
Legend:
- β Complete - Feature is fully implemented and tested
- π§ Partial - Feature is partially implemented
- π Planned - Feature is planned but not started
- β Not Planned - Feature is not planned for this SDK
Core Features
Section titled βCore FeaturesβEssential graph definition and execution features.
| Feature | Python | Go | Notes |
|---|---|---|---|
| Graph Definition | β | β | Python: @Graph decorator, Go: Graph[S] generics |
| Node Types | β | π§ | Python: @llm_node, @tool_node, etc. Go: Node interface |
| Edge Definition | β | β | Python: >> operator, Go: AddEdge() |
| Conditional Routing | β | β | Python: @router_node, Go: Router interface |
| Entrypoint | β | β | Python: @entrypoint, Go: SetEntrypoint() |
Execution
Section titled βExecutionβRunning and executing graphs.
| Feature | Python | Go | Notes |
|---|---|---|---|
| Local Execution | β | β | Run graphs without control plane |
| Worker Runtime | β | π§ | Connect to control plane as worker |
| Streaming | π§ | π | Stream tokens and events |
| Human-in-the-Loop | β | π | Pause for human approval |
LLM Providers
Section titled βLLM ProvidersβLarge Language Model integrations.
| Provider | Python | Go | Notes |
|---|---|---|---|
| LLM Interface | π§ | β | Go has Provider interface |
| OpenAI | π | π | GPT-4, GPT-4o, etc. |
| Anthropic | π | π | Claude models |
| Ollama | π | π | Local models |
| Google Gemini | π | π | Gemini models |
| Cohere | π | π | Command models |
| AWS Bedrock | π | π | Bedrock models |
Vector Stores
Section titled βVector StoresβVector database integrations for RAG applications.
| Vector Store | Python | Go | Notes |
|---|---|---|---|
| Interface | β | π | VectorStore base class |
| Chroma | β | π | Local/self-hosted |
| Pinecone | β | π | Managed cloud |
| Qdrant | β | π | Open-source |
| Weaviate | β | π | Open-source |
| pgvector | β | π | PostgreSQL extension |
| Milvus | π | π | Open-source |
| Elasticsearch | π | π | Vector search |
Embeddings
Section titled βEmbeddingsβText embedding providers for vector stores.
| Provider | Python | Go | Notes |
|---|---|---|---|
| Interface | β | π | EmbeddingProvider base class |
| OpenAI | β | π | text-embedding-3-* |
| Cohere | β | π | embed-* models |
| Ollama | β | π | Local embeddings |
Developer Experience
Section titled βDeveloper ExperienceβCLI and development tools.
| Feature | Python | Go | Notes |
|---|---|---|---|
| CLI Tool | π§ | β | duragraph command |
| Prompt Management | β | π | @prompt decorator |
| Subgraphs | π | π | Compose from smaller graphs |
| Visualization | π | π | Visualize graph structure |
Observability
Section titled βObservabilityβTracing, metrics, and debugging.
| Feature | Python | Go | Notes |
|---|---|---|---|
| Distributed Tracing | π§ | π | OpenTelemetry |
| Metrics | π | π | Prometheus |
| Testing Utilities | π§ | π | Test helpers |
Summary
Section titled βSummaryβ| SDK | Complete | Partial | Planned | Not Planned |
|---|---|---|---|---|
| Python | 16 | 5 | 13 | 0 |
| Go | 6 | 2 | 24 | 1 |
Resources
Section titled βResourcesβLast updated: January 2025