Official SDK Strategy for Python, TypeScript and Go #39

Open
opened 2026-05-19 01:00:17 +02:00 by FTMahringer · 0 comments
FTMahringer commented 2026-05-19 01:00:17 +02:00 (Migrated from github.com)

Problem / Motivation

The ongoing roadmap mentions official SDKs for Python, TypeScript and Go. As Synapse grows into a plugin and automation platform, external developers and future clients will need stable SDKs instead of directly calling raw REST/WebSocket APIs.

SDKs would also help keep plugins, CLI tooling, frontend integrations and external automations consistent.


Proposed Solution

Create an official SDK strategy covering:

  • Python SDK
  • TypeScript SDK
  • Go SDK
  • Versioning rules
  • API compatibility policy
  • Auth handling
  • Streaming/event handling
  • Plugin development helpers
  • Generated API clients where useful
  • Handwritten ergonomic wrappers for common workflows

Possible SDK scopes:

synapse-sdk-python
@synapse/sdk
synapse-go-sdk

Core SDK features:

  • Authentication helpers
  • Agent API client
  • Conversation API client
  • Task API client
  • Plugin registry/store API client
  • Event/WebSocket client
  • Error model normalization
  • Pagination helpers
  • Typed request/response models

Future Ideas

  • Generate baseline clients from OpenAPI
  • Add higher-level helpers manually
  • Provide examples for automation scripts
  • Use the SDKs internally for CLI/tests where possible
  • Add SDK compatibility tests in CI

Priority

Medium / High

This becomes more important once external users, plugins, and separate clients interact with Synapse.

## Problem / Motivation The ongoing roadmap mentions official SDKs for Python, TypeScript and Go. As Synapse grows into a plugin and automation platform, external developers and future clients will need stable SDKs instead of directly calling raw REST/WebSocket APIs. SDKs would also help keep plugins, CLI tooling, frontend integrations and external automations consistent. --- ## Proposed Solution Create an official SDK strategy covering: - Python SDK - TypeScript SDK - Go SDK - Versioning rules - API compatibility policy - Auth handling - Streaming/event handling - Plugin development helpers - Generated API clients where useful - Handwritten ergonomic wrappers for common workflows Possible SDK scopes: ```text synapse-sdk-python @synapse/sdk synapse-go-sdk ``` Core SDK features: - Authentication helpers - Agent API client - Conversation API client - Task API client - Plugin registry/store API client - Event/WebSocket client - Error model normalization - Pagination helpers - Typed request/response models --- ## Future Ideas - Generate baseline clients from OpenAPI - Add higher-level helpers manually - Provide examples for automation scripts - Use the SDKs internally for CLI/tests where possible - Add SDK compatibility tests in CI --- ## Priority Medium / High This becomes more important once external users, plugins, and separate clients interact with Synapse.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
FTMahringer/Synapse#39
No description provided.