You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to generate and publish a Python SDK? I know that it can be done with stainless, but don't know if you're willing to take on the publishing burden.
I'm working on a project that requires a python client to interact with the OpenCode server, having a pre-generated SDK would make it much easier!
we're trying to move off stainless and just pick good open source sdk generators per language. if there is a good python one we can add it
I also would love a Python SDK for OpenCode, and a good open-source sdk generator specific for Python is openapi-python-client. If I were to implement this myself would you consider merging it? I know you guys don't take PRs for core features, so I'm not sure if this is considered that, but either way I am going to do it myself in my fork so please let me know if I should make my own issue and make a PR once I'm done. Thanks
Activity
github-actions commentedon Aug 26, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
thdxr commentedon Aug 27, 2025
we're trying to move off stainless and just pick good open source sdk generators per language. if there is a good python one we can add it
Kking112 commentedon Sep 19, 2025
I also would love a Python SDK for OpenCode, and a good open-source sdk generator specific for Python is openapi-python-client. If I were to implement this myself would you consider merging it? I know you guys don't take PRs for core features, so I'm not sure if this is considered that, but either way I am going to do it myself in my fork so please let me know if I should make my own issue and make a PR once I'm done. Thanks
rekram1-node commentedon Sep 19, 2025
@Kking112 I think opening a PR would be good, they would probably have some preferences but I think this would be welcome
Kking112 commentedon Sep 19, 2025
Okay, I will do that once I'm done. Hopefully by end of this weekend. Thanks
krishna1s commentedon Sep 23, 2025
Is it official SDK - https://github.com/sst/opencode-sdk-python
rekram1-node commentedon Sep 23, 2025
that was originally being generated with stainless but it isn't being kept up to date anymore.
krishna1s commentedon Sep 24, 2025
@rekram1-node
So it is not recommended to use it ?
rekram1-node commentedon Sep 24, 2025
I wouldn’t recommend using it currently
Kking112 commentedon Sep 25, 2025
I made a PR with a new Python SDK. Any feedback would be great. #2779
rekram1-node commentedon Dec 28, 2025
[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!
feat(sdk): scaffold Python SDK with auto-regen CI