sequence-ai 0.67.0__tar.gz → 0.67.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/PKG-INFO +46 -31
  2. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/README.md +44 -18
  3. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/THIRD_PARTY_NOTICES.md +1 -18
  4. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/pyproject.toml +3 -9
  5. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/__init__.py +0 -2
  6. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/_partial.py +4 -4
  7. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/cli.py +2 -17
  8. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/cli_parser.py +34 -61
  9. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/clock.py +2 -2
  10. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/policy.py +5 -4
  11. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/registry.py +1 -1
  12. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/serve_local.py +168 -49
  13. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/__init__.py +32 -178
  14. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/blocks.py +69 -1
  15. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/capacity.py +3 -3
  16. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/dataset.py +28 -112
  17. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/direct.py +64 -39
  18. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/direct_episode.py +36 -2
  19. sequence_ai-0.67.2/sequence_ai/_core/direct_observe.py +393 -0
  20. sequence_ai-0.67.2/sequence_ai/_core/hosted_frame.py +72 -0
  21. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/latency_stats.py +10 -66
  22. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/marked_observe.py +73 -16
  23. sequence_ai-0.67.2/sequence_ai/_core/observe_stream.py +990 -0
  24. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/own_server.py +17 -7
  25. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/recorder.py +6 -30
  26. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/seat.py +25 -0
  27. sequence_ai-0.67.2/sequence_ai/_core/server_token.py +24 -0
  28. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/stale.py +5 -30
  29. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/transport.py +27 -8
  30. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/worker_link.py +49 -22
  31. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/worker_stream.py +22 -12
  32. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/worker_transport.py +5 -4
  33. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/act/policy.py +115 -112
  34. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/check.py +4 -1
  35. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/__init__.py +2 -0
  36. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/adapter.py +298 -133
  37. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/batcher.py +38 -13
  38. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/convert.py +19 -8
  39. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/cuda_graphs.py +111 -17
  40. sequence_ai-0.67.2/sequence_ai/engine/data_plane.py +359 -0
  41. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/episodes.py +38 -11
  42. sequence_ai-0.67.2/sequence_ai/engine/failed.py +81 -0
  43. sequence_ai-0.67.2/sequence_ai/engine/kept.py +352 -0
  44. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/obs_format.py +8 -2
  45. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/optimize.py +43 -19
  46. sequence_ai-0.67.2/sequence_ai/engine/owned.py +544 -0
  47. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/plan_clock.py +4 -16
  48. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/ranks.py +20 -1
  49. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/record.py +37 -16
  50. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/robot_view.py +7 -3
  51. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/serve.py +108 -96
  52. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/slack.py +1 -1
  53. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/split_trials.py +4 -2
  54. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/stack.py +81 -21
  55. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/stream.py +337 -62
  56. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/errors.py +1 -1
  57. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/network/__init__.py +0 -5
  58. sequence_ai-0.67.2/sequence_ai/network/loop.py +31 -0
  59. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/network/record.py +19 -4
  60. sequence_ai-0.67.0/seq/_stack.py +0 -189
  61. sequence_ai-0.67.0/seq/human.py +0 -40
  62. sequence_ai-0.67.0/sequence_ai/_core/direct_observe.py +0 -218
  63. sequence_ai-0.67.0/sequence_ai/_core/observe_stream.py +0 -570
  64. sequence_ai-0.67.0/sequence_ai/_core/teleop.py +0 -638
  65. sequence_ai-0.67.0/sequence_ai/_core/teleop_clock.py +0 -99
  66. sequence_ai-0.67.0/sequence_ai/_core/teleop_console/console.js +0 -380
  67. sequence_ai-0.67.0/sequence_ai/_core/teleop_console/index.html +0 -93
  68. sequence_ai-0.67.0/sequence_ai/_core/teleop_console/msgpack.js +0 -259
  69. sequence_ai-0.67.0/sequence_ai/_core/teleop_console/teleop-client.js +0 -586
  70. sequence_ai-0.67.0/sequence_ai/_core/teleop_console/teleop-track.js +0 -142
  71. sequence_ai-0.67.0/sequence_ai/_core/teleop_console/teleop-view.js +0 -56
  72. sequence_ai-0.67.0/sequence_ai/_core/teleop_console/teleop-wire.js +0 -272
  73. sequence_ai-0.67.0/sequence_ai/_core/teleop_console/teleop-xr.js +0 -334
  74. sequence_ai-0.67.0/sequence_ai/_core/teleop_console/vendor/LICENSES.txt +0 -875
  75. sequence_ai-0.67.0/sequence_ai/_core/teleop_console/vendor/moq-watch.js +0 -700
  76. sequence_ai-0.67.0/sequence_ai/_core/teleop_direct.py +0 -1081
  77. sequence_ai-0.67.0/sequence_ai/_core/teleop_gst.py +0 -1070
  78. sequence_ai-0.67.0/sequence_ai/_core/teleop_link.py +0 -234
  79. sequence_ai-0.67.0/sequence_ai/_core/teleop_moq.py +0 -759
  80. sequence_ai-0.67.0/sequence_ai/_core/teleop_record.py +0 -182
  81. sequence_ai-0.67.0/sequence_ai/_core/teleop_robot.py +0 -671
  82. sequence_ai-0.67.0/sequence_ai/_core/teleop_serve.py +0 -597
  83. sequence_ai-0.67.0/sequence_ai/_core/teleop_transport.py +0 -149
  84. sequence_ai-0.67.0/sequence_ai/_core/teleop_video.py +0 -886
  85. sequence_ai-0.67.0/sequence_ai/_core/urdf_chain.py +0 -218
  86. sequence_ai-0.67.0/sequence_ai/act/teleop_handle.py +0 -170
  87. sequence_ai-0.67.0/sequence_ai/engine/data_plane.py +0 -190
  88. sequence_ai-0.67.0/sequence_ai/network/loop.py +0 -95
  89. sequence_ai-0.67.0/sequence_ai/retarget.py +0 -357
  90. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/.gitignore +0 -0
  91. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/LICENSE +0 -0
  92. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/NOTICE +0 -0
  93. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/__main__.py +0 -0
  94. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/_account.py +0 -0
  95. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/_http.py +0 -0
  96. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/base.py +0 -0
  97. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/cli_json.py +0 -0
  98. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/columns.py +0 -0
  99. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/discover.py +0 -0
  100. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/errors.py +0 -0
  101. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/image.py +0 -0
  102. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/loading.py +0 -0
  103. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/named.py +0 -0
  104. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/params.py +0 -0
  105. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/project_files.py +0 -0
  106. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/safe_path.py +0 -0
  107. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/safety.py +0 -0
  108. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/secret.py +0 -0
  109. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/source.py +0 -0
  110. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/template_fetch.py +0 -0
  111. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/volume.py +0 -0
  112. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/weights.py +0 -0
  113. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq/weights_get.py +0 -0
  114. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/seq_launch.py +0 -0
  115. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/__init__.py +0 -0
  116. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/act_size.py +0 -0
  117. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/catalogue.py +0 -0
  118. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/compress.py +0 -0
  119. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/connect_trace.py +0 -0
  120. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/encode.py +0 -0
  121. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/error_codes.py +0 -0
  122. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/error_report.py +0 -0
  123. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/gil.py +0 -0
  124. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/heartbeat.py +0 -0
  125. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/late.py +0 -0
  126. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/lines_stream.py +0 -0
  127. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/mock_gate.py +0 -0
  128. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/money.py +0 -0
  129. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/msgpack_io.py +0 -0
  130. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/names.py +0 -0
  131. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/notice_words.py +0 -0
  132. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/outside.py +0 -0
  133. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/pinned_tls.py +0 -0
  134. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/plugins.py +0 -0
  135. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/reporting.py +0 -0
  136. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/rid.py +0 -0
  137. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/signin.py +0 -0
  138. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/warn.py +0 -0
  139. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/_core/wifi_power.py +0 -0
  140. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/act/__init__.py +0 -0
  141. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/act/types.py +0 -0
  142. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/act/waits.py +0 -0
  143. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/chat/__init__.py +0 -0
  144. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/chat/content.py +0 -0
  145. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/chat/conversation.py +0 -0
  146. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/chat/infer.py +0 -0
  147. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/chat/servers.py +0 -0
  148. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/chat/types.py +0 -0
  149. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/cfg_parallel.py +0 -0
  150. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/compiled.py +0 -0
  151. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/fp8.py +0 -0
  152. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/fused.py +0 -0
  153. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/load.py +0 -0
  154. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/pipeline_parallel.py +0 -0
  155. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/recorder.py +0 -0
  156. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/replicas.py +0 -0
  157. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/stream_intake.py +0 -0
  158. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/thumbnails.py +0 -0
  159. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/engine/xla.py +0 -0
  160. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/markers.py +0 -0
  161. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/network/_warn.py +0 -0
  162. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/network/bind.py +0 -0
  163. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/network/frames.py +0 -0
  164. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/network/latency_stats.py +0 -0
  165. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/network/msgpack_io.py +0 -0
  166. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/network/one_write.py +0 -0
  167. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/network/ping.py +0 -0
  168. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/network/tcp_link.py +0 -0
  169. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/network/websocket.py +0 -0
  170. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/network/wifi_power.py +0 -0
  171. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/network/window.py +0 -0
  172. {sequence_ai-0.67.0 → sequence_ai-0.67.2}/sequence_ai/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: sequence-ai
3
- Version: 0.67.0
3
+ Version: 0.67.2
4
4
  Summary: SequenceLink is an open-source framework for serving robot policies from remote GPUs over wide-area networks (WANs).
5
5
  Project-URL: Homepage, https://generalsequences.com
6
6
  Project-URL: Documentation, https://generalsequences.com/docs/
@@ -34,22 +34,17 @@ Requires-Dist: numpy>=1.24
34
34
  Requires-Dist: pillow>=10
35
35
  Requires-Dist: pydantic>=2; python_version >= '3.10'
36
36
  Requires-Dist: sequence-base<0.9,>=0.8.15; python_version >= '3.10'
37
- Requires-Dist: sequence-cloud~=0.67.0; python_version >= '3.10' and platform_python_implementation == 'CPython' and (sys_platform == 'darwin' or (sys_platform == 'linux' and (platform_machine == 'x86_64' or platform_machine == 'aarch64')) or (sys_platform == 'win32' and platform_machine == 'AMD64'))
37
+ Requires-Dist: sequence-cloud~=0.67.2; python_version >= '3.10' and platform_python_implementation == 'CPython' and (sys_platform == 'darwin' or (sys_platform == 'linux' and (platform_machine == 'x86_64' or platform_machine == 'aarch64')) or (sys_platform == 'win32' and platform_machine == 'AMD64'))
38
38
  Requires-Dist: uvicorn<1,>=0.30
39
39
  Requires-Dist: zstandard>=0.22; python_version < '3.15'
40
40
  Provides-Extra: data
41
41
  Requires-Dist: pyarrow>=14; extra == 'data'
42
42
  Provides-Extra: dev
43
- Requires-Dist: aioice<0.14,>=0.13; (python_version >= '3.11') and extra == 'dev'
44
- Requires-Dist: aiortc<1.17,>=1.16; (python_version >= '3.11') and extra == 'dev'
45
43
  Requires-Dist: eclipse-zenoh<2,>=1.10; extra == 'dev'
46
44
  Requires-Dist: jax>=0.4.30; (python_version >= '3.10') and extra == 'dev'
47
- Requires-Dist: moq-ffi==0.4.27; (python_version >= '3.10') and extra == 'dev'
48
- Requires-Dist: moq-rs==0.5.2; (python_version >= '3.10') and extra == 'dev'
49
45
  Requires-Dist: msgpack-numpy<0.5,>=0.4.8; extra == 'dev'
50
46
  Requires-Dist: msgpack<2,>=1.0; extra == 'dev'
51
47
  Requires-Dist: numpy>=1.24; extra == 'dev'
52
- Requires-Dist: opencv-python-headless>=4.8; extra == 'dev'
53
48
  Requires-Dist: pillow>=10; extra == 'dev'
54
49
  Requires-Dist: pyarrow>=14; extra == 'dev'
55
50
  Requires-Dist: pytest>=7; extra == 'dev'
@@ -59,12 +54,6 @@ Requires-Dist: torch<3,>=2.4; extra == 'dev'
59
54
  Requires-Dist: uvicorn<1,>=0.30; extra == 'dev'
60
55
  Requires-Dist: websockets<19,>=14; extra == 'dev'
61
56
  Requires-Dist: zstandard>=0.22; (python_version < '3.15') and extra == 'dev'
62
- Provides-Extra: moq
63
- Requires-Dist: moq-ffi==0.4.27; (python_version >= '3.10') and extra == 'moq'
64
- Requires-Dist: moq-rs==0.5.2; (python_version >= '3.10') and extra == 'moq'
65
- Provides-Extra: teleop
66
- Requires-Dist: aioice<0.14,>=0.13; (python_version >= '3.11') and extra == 'teleop'
67
- Requires-Dist: aiortc<1.17,>=1.16; (python_version >= '3.11') and extra == 'teleop'
68
57
  Description-Content-Type: text/markdown
69
58
 
70
59
  <p align="center">
@@ -77,7 +66,7 @@ Description-Content-Type: text/markdown
77
66
  <h3 align="center">Serve robot policies from GPUs anywhere</h3>
78
67
 
79
68
  <p align="center">
80
- | <a href="https://generalsequences.com/"><b>Platform</b></a> | <a href="https://generalsequences.com/docs/open-source/"><b>Documentation</b></a> | <a href="https://generalsequences.com/blog/"><b>Blog</b></a> | <a href="https://generalsequences.com/papers/scaling-robot-policies-over-wide-area-networks.pdf"><b>Paper</b></a> | <a href="https://x.com/generalsequence"><b>Twitter/X</b></a> |
69
+ | <a href="https://generalsequences.com/"><b>Platform</b></a> | <a href="https://generalsequences.com/docs/open-source/"><b>Documentation</b></a> | <a href="https://generalsequences.com/blog/sequencelink-open-source/"><b>Blog</b></a> | <a href="https://generalsequences.com/papers/scaling-robot-policies-over-wide-area-networks.pdf"><b>Paper</b></a> | <a href="https://x.com/generalsequence/status/2124935044342890522"><b>Twitter/X</b></a> |
81
70
  </p>
82
71
 
83
72
  <p align="center">
@@ -90,7 +79,7 @@ Description-Content-Type: text/markdown
90
79
  <p align="center">
91
80
  <a href="https://github.com/General-Sequences/sequence-ai/actions/workflows/tests.yml"><img alt="tests" src="https://github.com/General-Sequences/sequence-ai/actions/workflows/tests.yml/badge.svg"></a>
92
81
  <img alt="pip install sequence-ai" src="https://img.shields.io/badge/pip%20install-sequence--ai-15775C?style=flat-square">
93
- <img alt="Python 3.9 or later" src="https://img.shields.io/badge/python-3.9%2B-15775C?style=flat-square">
82
+ <img alt="Python 3.10 or later" src="https://img.shields.io/badge/python-3.10%2B-15775C?style=flat-square">
94
83
  <a href="https://github.com/General-Sequences/sequence-ai/blob/main/LICENSE"><img alt="license: Apache-2.0" src="https://img.shields.io/badge/license-Apache--2.0-15775C?style=flat-square"></a>
95
84
  </p>
96
85
 
@@ -115,7 +104,7 @@ Description-Content-Type: text/markdown
115
104
 
116
105
  **`sequence_ai.network`** is the connection between a robot and the GPU its policy runs on. On the robot, `connect()`
117
106
  applies the client-side components to one connection. On the server, `one_write` and `ping` wrap a uvicorn or a WebSocket server. **`sequence_ai.engine`**
118
- is the inference layer on the GPU: `seq serve` serves a policy with the server's side of both layers on, `optimize`
107
+ is the inference layer on the GPU: `sequence serve` serves a policy with the server's side of both layers on, `optimize`
119
108
  shortens one inference with the speed-ups that keep its outputs exactly the same, `batcher` and `slack` share a GPU among robots, and `replicas` runs one process per GPU. **`bench/`** measures a link before anything is added to it.
120
109
 
121
110
  ## Install
@@ -125,11 +114,37 @@ pip install sequence-ai
125
114
  ```
126
115
 
127
116
  The same package goes on the GPU and on the robot: Python 3.10 or later, on Linux or macOS (a robot can `connect()` from
128
- 3.9). The speed-ups use your model's own torch (2.4 or later) or JAX.
117
+ 3.9). The speed-ups use your model's own torch (2.4 or later) or JAX (0.4.30 or later).
118
+
119
+ `sequence-ai`, the open-source framework, is Apache-2.0. The install brings `sequence-cloud` with it, the client of
120
+ General Sequences' platform, under a proprietary license: only the platform needs it.
129
121
 
130
122
  ## Quick start
131
123
 
132
- **On the GPU**, save this as `policy.py` in a folder of its own:
124
+ No account, no key, no GPU: serve the toy policy on this machine and get an action from it.
125
+
126
+ ```bash
127
+ sequence serve toy-policy
128
+ ```
129
+
130
+ ```text
131
+ serving toy-policy on port 8000: a robot connects with sequence_ai.connect("http://<this machine>:8000", token="b2Kq9vX0sLwT7yRzN4hPgA")
132
+ ```
133
+
134
+ It makes a token each time it starts, so nobody else who can reach the port runs the policy. Then, in a second terminal,
135
+ with the token it printed:
136
+
137
+ ```python
138
+ import sequence_ai
139
+
140
+ with sequence_ai.connect("http://127.0.0.1:8000", token="...") as policy_user: # the token it printed
141
+ policy_user.observe({"state": [0.0], "target": [0.5]}) # where the arm is, and where it should go
142
+ print(policy_user.act()) # {'delta': [0.1]}: one step toward the target
143
+ ```
144
+
145
+ `SEQ_SERVE_TOKEN` set in both terminals gives them one of your own, and neither is told it again.
146
+
147
+ **Your own policy**: on the GPU - a CPU serves this one too - save this as `policy.py` in a folder of its own:
133
148
 
134
149
  ```python
135
150
  import numpy as np
@@ -152,11 +167,11 @@ class QuickstartPolicy_user:
152
167
  Then serve it from that folder:
153
168
 
154
169
  ```bash
155
- seq serve
170
+ sequence serve
156
171
  ```
157
172
 
158
173
  ```text
159
- serving quickstart-policy-user on port 8000, each robot held and seated by its time at 15 Hz: a robot connects with sequence_ai.connect("http://<this machine>:8000")
174
+ serving quickstart-policy-user on port 8000, each robot held and seated by its time at 15 Hz: a robot connects with sequence_ai.connect("http://<this machine>:8000", token="b2Kq9vX0sLwT7yRzN4hPgA")
160
175
  ```
161
176
 
162
177
  **On the robot**:
@@ -165,7 +180,7 @@ serving quickstart-policy-user on port 8000, each robot held and seated by its t
165
180
  import numpy as np
166
181
  import sequence_ai
167
182
 
168
- with sequence_ai.connect("http://127.0.0.1:8000") as policy_user: # your GPU's address
183
+ with sequence_ai.connect("http://127.0.0.1:8000", token="...") as policy_user: # your GPU's address, its token
169
184
  policy_user.wait_until_ready() # once, before the robot moves
170
185
  frame_user = np.zeros((224, 224, 3), dtype=np.uint8) # your camera's frame, streamed as video
171
186
  policy_user.observe({"image": sequence_ai.Video(frame_user), "state": np.zeros(7, dtype=np.float32)})
@@ -176,9 +191,9 @@ The robot plays 15 steps a second (`hz`), uses the first 8 steps of each chunk (
176
191
  the next chunk at step 5 (`action_chunk_replan_at`). [Quickstart](https://github.com/General-Sequences/sequence-ai/blob/main/docs/quickstart.md) has the whole loop. Names ending in
177
192
  `_user` are yours to change.
178
193
 
179
- - **An official template**: `seq init pi05-libero my_pi05_user`, then `seq serve` in that folder
194
+ - **An official template**: `sequence init pi05-libero my_pi05_user`, then `sequence serve` in that folder
180
195
  ([how](https://github.com/General-Sequences/sequence-ai/blob/main/docs/how-do-i-run-a-template-on-my-own-gpu.md)).
181
- - **Both halves on one machine**: in a clone of this repository, `seq serve examples/quickstart_policy & python examples/quickstart_robot.py`.
196
+ - **Both halves on one machine**: in a clone of this repository, `export SEQ_SERVE_TOKEN=my-token_user`, then `sequence serve examples/quickstart_policy & python examples/quickstart_robot.py`.
182
197
  - **A server you already run**: [its parts](https://github.com/General-Sequences/sequence-ai/blob/main/docs/parts-for-a-server-you-already-run.md), one file each.
183
198
  - **What is on by default**: [each part, and how to turn it off](https://github.com/General-Sequences/sequence-ai/blob/main/docs/what-is-on-by-default.md).
184
199
  - **GPUs run for you**: deploy the same folder to [General Sequences](https://generalsequences.com/docs/deploy/).
@@ -213,8 +228,8 @@ slack an action chunk leaves. Getting a GPU near the robot is the routing layer,
213
228
 
214
229
  | Component | What it does | To add it | Requires |
215
230
  |---|---|---|---|
216
- | [`seq serve`](https://github.com/General-Sequences/sequence-ai/blob/main/seq/serve_local.py) | Serves a `@seq.policy` class to robots elsewhere: on a thread of its own, pings answered at once, a warm-up on its `@seq.sample`, pictures and compressed arrays restored, a `@seq.concurrent` policy's acts in batches. | one command | what `pip install sequence-ai` installs |
217
- | [`optimize`](https://github.com/General-Sequences/sequence-ai/blob/main/sequence_ai/engine/optimize.py) | Makes a policy faster on its GPU: each speed-up is kept only when its outputs on your observations stay exactly the same and acts are at least 10% faster. `seq serve` runs it on the `@seq.sample` episode. The speed-ups that change the outputs run with the difference you accept. | nothing with `seq serve`, else one call | torch 2.4 or later and a CUDA GPU, or JAX |
231
+ | [`sequence serve`](https://github.com/General-Sequences/sequence-ai/blob/main/seq/serve_local.py) | Serves a `@seq.policy` class to robots elsewhere: on a thread of its own, pings answered at once, a warm-up on its `@seq.sample`, pictures and compressed arrays restored, a `@seq.concurrent` policy's acts in batches. | one command | what `pip install sequence-ai` installs |
232
+ | [`optimize`](https://github.com/General-Sequences/sequence-ai/blob/main/sequence_ai/engine/optimize.py) | Makes a policy faster on its GPU: each speed-up is kept only when its outputs on your observations stay exactly the same and acts are at least 10% faster. `sequence serve` runs it on the `@seq.sample` episode. The speed-ups that change the outputs run with the difference you accept. | nothing with `sequence serve`, else one call | torch 2.4 or later and a CUDA GPU, or JAX |
218
233
  | [`load`](https://github.com/General-Sequences/sequence-ai/blob/main/sequence_ai/engine/load.py) | Reads a model's weights onto the GPU from one contiguous file in parallel reads, through the page cache where memory holds it: in about 60% of the time of a checkpoint read tensor by tensor from a cold disk, every tensor the bytes it was packed with. | one call to pack, one to load | torch for a GPU, or JAX |
219
234
  | [`batcher`](https://github.com/General-Sequences/sequence-ai/blob/main/sequence_ai/engine/batcher.py) | Batches the calls waiting for a model into one call, in the batch sizes the model lists. | one object, one `await` | nothing |
220
235
  | [`replicas`](https://github.com/General-Sequences/sequence-ai/blob/main/sequence_ai/engine/replicas.py) | Runs replicas of a model, each in its own process on the GPU assigned to it, and replaces one that dies. | one object, one `await` | nothing |
@@ -283,7 +298,7 @@ Combined, and for clients you may already use:
283
298
  |---|---|---|---|
284
299
  | [`connect`](https://github.com/General-Sequences/sequence-ai/blob/main/sequence_ai/__init__.py) | client | `sequence_ai.connect(url)`: the same policy a deployed one's name gives, on the robot's stream to your own server: each observation as it is made, a `sequence_ai.Video` item as video, each act after them. | nothing |
285
300
  | [`lines`](https://github.com/General-Sequences/sequence-ai/blob/main/sequence_ai/_core/lines_stream.py) | client | `connect(url, lines=["eth0", "wwan0"])`: the robot's stream over each of its uplinks, each line bound to its own network interface, every observation and act on every line and the first answer used. | Linux 5.7 or macOS |
286
- | [`check`](https://github.com/General-Sequences/sequence-ai/blob/main/sequence_ai/check.py) | client | `seq check <url>`, or a deployment's name on GS's platform (`python -m sequence_ai.check` where `seq` does not run): which defaults are on between a robot and its server, and what the server is. | httpx |
301
+ | [`check`](https://github.com/General-Sequences/sequence-ai/blob/main/sequence_ai/check.py) | client | `sequence check <url>`, or a deployment's name on GS's platform (`python -m sequence_ai.check` where `seq` does not run): which defaults are on between a robot and its server, and what the server is. | httpx |
287
302
  | [`bench/`](https://github.com/General-Sequences/sequence-ai/tree/main/bench/) | both | Measures your own link: what a pause, a ping and a camera stream cost on it. | nothing |
288
303
 
289
304
  [What does each component do?](https://github.com/General-Sequences/sequence-ai/blob/main/docs/components.md) gives the lines to add, the reason and the measurement for each
@@ -342,11 +357,11 @@ sequence_ai/
342
357
  both: msgpack_io · latency_stats
343
358
  chat/ chat() and Conversation: on General Sequences, or at a server of your own (server=)
344
359
  check.py python -m sequence_ai.check: which defaults are on between a robot and its server
345
- seq/ seq init, seq serve and seq weights get, and the decorators a policy is written with
360
+ seq/ sequence init, serve and weights get, and the decorators a policy is written with
346
361
  bench/ measures a link: a TCP client and server, WebSocket, Zenoh
347
- examples/ the quick starts, and one runnable file per component
362
+ examples/ first_action.py first (the toy policy, no key), the quick starts, and one runnable file per component
348
363
  docs/ one page per question, the measurements, the FAQ
349
- tests/ the components' tests: Python 3.9 to 3.12, on a machine with no GPU
364
+ tests/ the components' tests, on a machine with no GPU
350
365
  tools/ writes llms-full.txt
351
366
  ```
352
367
 
@@ -398,7 +413,7 @@ uv pip install -e ".[dev]"
398
413
  .venv/bin/ruff check sequence_ai/engine sequence_ai/network tests examples bench tools
399
414
  ```
400
415
 
401
- The tests are the components', and run on Python 3.9 to 3.12 on a machine with no GPU. Each release is published here
416
+ The tests are the components', and run on every Python the package takes, on a machine with no GPU. Each release is published here
402
417
  from General Sequences' own repository: [CONTRIBUTING.md](https://github.com/General-Sequences/sequence-ai/blob/main/CONTRIBUTING.md) has what that means for a pull request.
403
418
 
404
419
  ## Contributing
@@ -424,5 +439,5 @@ If you use SequenceLink in research, please cite it:
424
439
 
425
440
  ## License
426
441
 
427
- [Apache-2.0](https://github.com/General-Sequences/sequence-ai/blob/main/LICENSE). Copyright 2026 General Sequences Company. Parts of five components and one example are adapted from three other
442
+ The framework, `sequence-ai`, is [Apache-2.0](https://github.com/General-Sequences/sequence-ai/blob/main/LICENSE); `sequence-cloud`, the platform's client it is installed with, is proprietary. Copyright 2026 General Sequences Company. Parts of five components and one example are adapted from three other
428
443
  projects: [THIRD_PARTY_NOTICES.md](https://github.com/General-Sequences/sequence-ai/blob/main/THIRD_PARTY_NOTICES.md).
@@ -8,7 +8,7 @@
8
8
  <h3 align="center">Serve robot policies from GPUs anywhere</h3>
9
9
 
10
10
  <p align="center">
11
- | <a href="https://generalsequences.com/"><b>Platform</b></a> | <a href="https://generalsequences.com/docs/open-source/"><b>Documentation</b></a> | <a href="https://generalsequences.com/blog/"><b>Blog</b></a> | <a href="https://generalsequences.com/papers/scaling-robot-policies-over-wide-area-networks.pdf"><b>Paper</b></a> | <a href="https://x.com/generalsequence"><b>Twitter/X</b></a> |
11
+ | <a href="https://generalsequences.com/"><b>Platform</b></a> | <a href="https://generalsequences.com/docs/open-source/"><b>Documentation</b></a> | <a href="https://generalsequences.com/blog/sequencelink-open-source/"><b>Blog</b></a> | <a href="https://generalsequences.com/papers/scaling-robot-policies-over-wide-area-networks.pdf"><b>Paper</b></a> | <a href="https://x.com/generalsequence/status/2124935044342890522"><b>Twitter/X</b></a> |
12
12
  </p>
13
13
 
14
14
  <p align="center">
@@ -21,7 +21,7 @@
21
21
  <p align="center">
22
22
  <a href="https://github.com/General-Sequences/sequence-ai/actions/workflows/tests.yml"><img alt="tests" src="https://github.com/General-Sequences/sequence-ai/actions/workflows/tests.yml/badge.svg"></a>
23
23
  <img alt="pip install sequence-ai" src="https://img.shields.io/badge/pip%20install-sequence--ai-15775C?style=flat-square">
24
- <img alt="Python 3.9 or later" src="https://img.shields.io/badge/python-3.9%2B-15775C?style=flat-square">
24
+ <img alt="Python 3.10 or later" src="https://img.shields.io/badge/python-3.10%2B-15775C?style=flat-square">
25
25
  <a href="https://github.com/General-Sequences/sequence-ai/blob/main/LICENSE"><img alt="license: Apache-2.0" src="https://img.shields.io/badge/license-Apache--2.0-15775C?style=flat-square"></a>
26
26
  </p>
27
27
 
@@ -46,7 +46,7 @@
46
46
 
47
47
  **`sequence_ai.network`** is the connection between a robot and the GPU its policy runs on. On the robot, `connect()`
48
48
  applies the client-side components to one connection. On the server, `one_write` and `ping` wrap a uvicorn or a WebSocket server. **`sequence_ai.engine`**
49
- is the inference layer on the GPU: `seq serve` serves a policy with the server's side of both layers on, `optimize`
49
+ is the inference layer on the GPU: `sequence serve` serves a policy with the server's side of both layers on, `optimize`
50
50
  shortens one inference with the speed-ups that keep its outputs exactly the same, `batcher` and `slack` share a GPU among robots, and `replicas` runs one process per GPU. **`bench/`** measures a link before anything is added to it.
51
51
 
52
52
  ## Install
@@ -56,11 +56,37 @@ pip install sequence-ai
56
56
  ```
57
57
 
58
58
  The same package goes on the GPU and on the robot: Python 3.10 or later, on Linux or macOS (a robot can `connect()` from
59
- 3.9). The speed-ups use your model's own torch (2.4 or later) or JAX.
59
+ 3.9). The speed-ups use your model's own torch (2.4 or later) or JAX (0.4.30 or later).
60
+
61
+ `sequence-ai`, the open-source framework, is Apache-2.0. The install brings `sequence-cloud` with it, the client of
62
+ General Sequences' platform, under a proprietary license: only the platform needs it.
60
63
 
61
64
  ## Quick start
62
65
 
63
- **On the GPU**, save this as `policy.py` in a folder of its own:
66
+ No account, no key, no GPU: serve the toy policy on this machine and get an action from it.
67
+
68
+ ```bash
69
+ sequence serve toy-policy
70
+ ```
71
+
72
+ ```text
73
+ serving toy-policy on port 8000: a robot connects with sequence_ai.connect("http://<this machine>:8000", token="b2Kq9vX0sLwT7yRzN4hPgA")
74
+ ```
75
+
76
+ It makes a token each time it starts, so nobody else who can reach the port runs the policy. Then, in a second terminal,
77
+ with the token it printed:
78
+
79
+ ```python
80
+ import sequence_ai
81
+
82
+ with sequence_ai.connect("http://127.0.0.1:8000", token="...") as policy_user: # the token it printed
83
+ policy_user.observe({"state": [0.0], "target": [0.5]}) # where the arm is, and where it should go
84
+ print(policy_user.act()) # {'delta': [0.1]}: one step toward the target
85
+ ```
86
+
87
+ `SEQ_SERVE_TOKEN` set in both terminals gives them one of your own, and neither is told it again.
88
+
89
+ **Your own policy**: on the GPU - a CPU serves this one too - save this as `policy.py` in a folder of its own:
64
90
 
65
91
  ```python
66
92
  import numpy as np
@@ -83,11 +109,11 @@ class QuickstartPolicy_user:
83
109
  Then serve it from that folder:
84
110
 
85
111
  ```bash
86
- seq serve
112
+ sequence serve
87
113
  ```
88
114
 
89
115
  ```text
90
- serving quickstart-policy-user on port 8000, each robot held and seated by its time at 15 Hz: a robot connects with sequence_ai.connect("http://<this machine>:8000")
116
+ serving quickstart-policy-user on port 8000, each robot held and seated by its time at 15 Hz: a robot connects with sequence_ai.connect("http://<this machine>:8000", token="b2Kq9vX0sLwT7yRzN4hPgA")
91
117
  ```
92
118
 
93
119
  **On the robot**:
@@ -96,7 +122,7 @@ serving quickstart-policy-user on port 8000, each robot held and seated by its t
96
122
  import numpy as np
97
123
  import sequence_ai
98
124
 
99
- with sequence_ai.connect("http://127.0.0.1:8000") as policy_user: # your GPU's address
125
+ with sequence_ai.connect("http://127.0.0.1:8000", token="...") as policy_user: # your GPU's address, its token
100
126
  policy_user.wait_until_ready() # once, before the robot moves
101
127
  frame_user = np.zeros((224, 224, 3), dtype=np.uint8) # your camera's frame, streamed as video
102
128
  policy_user.observe({"image": sequence_ai.Video(frame_user), "state": np.zeros(7, dtype=np.float32)})
@@ -107,9 +133,9 @@ The robot plays 15 steps a second (`hz`), uses the first 8 steps of each chunk (
107
133
  the next chunk at step 5 (`action_chunk_replan_at`). [Quickstart](https://github.com/General-Sequences/sequence-ai/blob/main/docs/quickstart.md) has the whole loop. Names ending in
108
134
  `_user` are yours to change.
109
135
 
110
- - **An official template**: `seq init pi05-libero my_pi05_user`, then `seq serve` in that folder
136
+ - **An official template**: `sequence init pi05-libero my_pi05_user`, then `sequence serve` in that folder
111
137
  ([how](https://github.com/General-Sequences/sequence-ai/blob/main/docs/how-do-i-run-a-template-on-my-own-gpu.md)).
112
- - **Both halves on one machine**: in a clone of this repository, `seq serve examples/quickstart_policy & python examples/quickstart_robot.py`.
138
+ - **Both halves on one machine**: in a clone of this repository, `export SEQ_SERVE_TOKEN=my-token_user`, then `sequence serve examples/quickstart_policy & python examples/quickstart_robot.py`.
113
139
  - **A server you already run**: [its parts](https://github.com/General-Sequences/sequence-ai/blob/main/docs/parts-for-a-server-you-already-run.md), one file each.
114
140
  - **What is on by default**: [each part, and how to turn it off](https://github.com/General-Sequences/sequence-ai/blob/main/docs/what-is-on-by-default.md).
115
141
  - **GPUs run for you**: deploy the same folder to [General Sequences](https://generalsequences.com/docs/deploy/).
@@ -144,8 +170,8 @@ slack an action chunk leaves. Getting a GPU near the robot is the routing layer,
144
170
 
145
171
  | Component | What it does | To add it | Requires |
146
172
  |---|---|---|---|
147
- | [`seq serve`](https://github.com/General-Sequences/sequence-ai/blob/main/seq/serve_local.py) | Serves a `@seq.policy` class to robots elsewhere: on a thread of its own, pings answered at once, a warm-up on its `@seq.sample`, pictures and compressed arrays restored, a `@seq.concurrent` policy's acts in batches. | one command | what `pip install sequence-ai` installs |
148
- | [`optimize`](https://github.com/General-Sequences/sequence-ai/blob/main/sequence_ai/engine/optimize.py) | Makes a policy faster on its GPU: each speed-up is kept only when its outputs on your observations stay exactly the same and acts are at least 10% faster. `seq serve` runs it on the `@seq.sample` episode. The speed-ups that change the outputs run with the difference you accept. | nothing with `seq serve`, else one call | torch 2.4 or later and a CUDA GPU, or JAX |
173
+ | [`sequence serve`](https://github.com/General-Sequences/sequence-ai/blob/main/seq/serve_local.py) | Serves a `@seq.policy` class to robots elsewhere: on a thread of its own, pings answered at once, a warm-up on its `@seq.sample`, pictures and compressed arrays restored, a `@seq.concurrent` policy's acts in batches. | one command | what `pip install sequence-ai` installs |
174
+ | [`optimize`](https://github.com/General-Sequences/sequence-ai/blob/main/sequence_ai/engine/optimize.py) | Makes a policy faster on its GPU: each speed-up is kept only when its outputs on your observations stay exactly the same and acts are at least 10% faster. `sequence serve` runs it on the `@seq.sample` episode. The speed-ups that change the outputs run with the difference you accept. | nothing with `sequence serve`, else one call | torch 2.4 or later and a CUDA GPU, or JAX |
149
175
  | [`load`](https://github.com/General-Sequences/sequence-ai/blob/main/sequence_ai/engine/load.py) | Reads a model's weights onto the GPU from one contiguous file in parallel reads, through the page cache where memory holds it: in about 60% of the time of a checkpoint read tensor by tensor from a cold disk, every tensor the bytes it was packed with. | one call to pack, one to load | torch for a GPU, or JAX |
150
176
  | [`batcher`](https://github.com/General-Sequences/sequence-ai/blob/main/sequence_ai/engine/batcher.py) | Batches the calls waiting for a model into one call, in the batch sizes the model lists. | one object, one `await` | nothing |
151
177
  | [`replicas`](https://github.com/General-Sequences/sequence-ai/blob/main/sequence_ai/engine/replicas.py) | Runs replicas of a model, each in its own process on the GPU assigned to it, and replaces one that dies. | one object, one `await` | nothing |
@@ -214,7 +240,7 @@ Combined, and for clients you may already use:
214
240
  |---|---|---|---|
215
241
  | [`connect`](https://github.com/General-Sequences/sequence-ai/blob/main/sequence_ai/__init__.py) | client | `sequence_ai.connect(url)`: the same policy a deployed one's name gives, on the robot's stream to your own server: each observation as it is made, a `sequence_ai.Video` item as video, each act after them. | nothing |
216
242
  | [`lines`](https://github.com/General-Sequences/sequence-ai/blob/main/sequence_ai/_core/lines_stream.py) | client | `connect(url, lines=["eth0", "wwan0"])`: the robot's stream over each of its uplinks, each line bound to its own network interface, every observation and act on every line and the first answer used. | Linux 5.7 or macOS |
217
- | [`check`](https://github.com/General-Sequences/sequence-ai/blob/main/sequence_ai/check.py) | client | `seq check <url>`, or a deployment's name on GS's platform (`python -m sequence_ai.check` where `seq` does not run): which defaults are on between a robot and its server, and what the server is. | httpx |
243
+ | [`check`](https://github.com/General-Sequences/sequence-ai/blob/main/sequence_ai/check.py) | client | `sequence check <url>`, or a deployment's name on GS's platform (`python -m sequence_ai.check` where `seq` does not run): which defaults are on between a robot and its server, and what the server is. | httpx |
218
244
  | [`bench/`](https://github.com/General-Sequences/sequence-ai/tree/main/bench/) | both | Measures your own link: what a pause, a ping and a camera stream cost on it. | nothing |
219
245
 
220
246
  [What does each component do?](https://github.com/General-Sequences/sequence-ai/blob/main/docs/components.md) gives the lines to add, the reason and the measurement for each
@@ -273,11 +299,11 @@ sequence_ai/
273
299
  both: msgpack_io · latency_stats
274
300
  chat/ chat() and Conversation: on General Sequences, or at a server of your own (server=)
275
301
  check.py python -m sequence_ai.check: which defaults are on between a robot and its server
276
- seq/ seq init, seq serve and seq weights get, and the decorators a policy is written with
302
+ seq/ sequence init, serve and weights get, and the decorators a policy is written with
277
303
  bench/ measures a link: a TCP client and server, WebSocket, Zenoh
278
- examples/ the quick starts, and one runnable file per component
304
+ examples/ first_action.py first (the toy policy, no key), the quick starts, and one runnable file per component
279
305
  docs/ one page per question, the measurements, the FAQ
280
- tests/ the components' tests: Python 3.9 to 3.12, on a machine with no GPU
306
+ tests/ the components' tests, on a machine with no GPU
281
307
  tools/ writes llms-full.txt
282
308
  ```
283
309
 
@@ -329,7 +355,7 @@ uv pip install -e ".[dev]"
329
355
  .venv/bin/ruff check sequence_ai/engine sequence_ai/network tests examples bench tools
330
356
  ```
331
357
 
332
- The tests are the components', and run on Python 3.9 to 3.12 on a machine with no GPU. Each release is published here
358
+ The tests are the components', and run on every Python the package takes, on a machine with no GPU. Each release is published here
333
359
  from General Sequences' own repository: [CONTRIBUTING.md](https://github.com/General-Sequences/sequence-ai/blob/main/CONTRIBUTING.md) has what that means for a pull request.
334
360
 
335
361
  ## Contributing
@@ -355,5 +381,5 @@ If you use SequenceLink in research, please cite it:
355
381
 
356
382
  ## License
357
383
 
358
- [Apache-2.0](https://github.com/General-Sequences/sequence-ai/blob/main/LICENSE). Copyright 2026 General Sequences Company. Parts of five components and one example are adapted from three other
384
+ The framework, `sequence-ai`, is [Apache-2.0](https://github.com/General-Sequences/sequence-ai/blob/main/LICENSE); `sequence-cloud`, the platform's client it is installed with, is proprietary. Copyright 2026 General Sequences Company. Parts of five components and one example are adapted from three other
359
385
  projects: [THIRD_PARTY_NOTICES.md](https://github.com/General-Sequences/sequence-ai/blob/main/THIRD_PARTY_NOTICES.md).
@@ -1,7 +1,7 @@
1
1
  # Third-party notices
2
2
 
3
3
  SequenceLink (the `sequence-ai` package) is licensed under the Apache License, Version 2.0. Parts of five of its components, and one of its examples,
4
- are adapted from three other open-source projects, and the pages `seq eval replay` and `seq teleop serve` serve carry other projects' files
4
+ are adapted from three other open-source projects, and the page `seq eval replay` serves carries other projects' files
5
5
  unchanged. Each is named here with its license.
6
6
 
7
7
  ## openpi
@@ -106,20 +106,3 @@ SOFTWARE.
106
106
 
107
107
  Each font's copyright notice and the full text of the SIL Open Font License, Version 1.1, travel with the fonts in
108
108
  `seq/_replay_player/licenses/`, as the license asks; it is also at <https://openfontlicense.org>.
109
-
110
- ## Files the teleop console page carries
111
-
112
- `seq teleop serve` serves a page from `sequence_ai/_core/teleop_console/`. To watch a robot through a MoQ relay it
113
- loads `sequence_ai/_core/teleop_console/vendor/moq-watch.js`: MoQ's browser player and the packages it uses, bundled
114
- and minified unchanged by `tools/moq_watch/build.sh` from the versions `tools/moq_watch/package-lock.json` pins, less
115
- `@moq/hang`'s audio polyfill.
116
-
117
- | Packages | From | License |
118
- |---|---|---|
119
- | `@moq/watch` 0.6.6, `@moq/net` 0.4.7, `@moq/hang` 0.5.4 and eight more `@moq/` packages | [moq-dev/moq](https://github.com/moq-dev/moq) and [moq-dev/web-transport](https://github.com/moq-dev/web-transport), Copyright (c) 2023 Luke Curley | MIT or Apache-2.0, used under MIT |
120
- | `zod` 4.6.7, `@zod/mini` 4.6.7, `async-mutex` 0.5.0, `bowser` 2.15.0, `media-captions` 0.0.18 | their authors, as each license says | MIT |
121
- | `pako` 3.0.3 | Vitaly Puzrin and Andrei Tuputcyn | MIT and Zlib |
122
- | `@svta/cml-iso-bmff` 1.0.7, `@svta/cml-utils` 1.8.0 | the Streaming Video Technology Alliance | Apache-2.0 |
123
-
124
- Each package's version, license and its full text with its copyright notice travel with the bundle in
125
- `sequence_ai/_core/teleop_console/vendor/LICENSES.txt`.
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "sequence-ai"
7
- version = "0.67.0"
7
+ version = "0.67.2"
8
8
  description = "SequenceLink is an open-source framework for serving robot policies from remote GPUs over wide-area networks (WANs)."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -34,7 +34,7 @@ dependencies = [
34
34
  "httpx>=0.24,<1",
35
35
  "pydantic>=2; python_version >= '3.10'",
36
36
  "sequence-base>=0.8.15,<0.9; python_version >= '3.10'",
37
- "sequence-cloud~=0.67.0; python_version >= '3.10' and platform_python_implementation == 'CPython' and (sys_platform == 'darwin' or (sys_platform == 'linux' and (platform_machine == 'x86_64' or platform_machine == 'aarch64')) or (sys_platform == 'win32' and platform_machine == 'AMD64'))",
37
+ "sequence-cloud~=0.67.2; python_version >= '3.10' and platform_python_implementation == 'CPython' and (sys_platform == 'darwin' or (sys_platform == 'linux' and (platform_machine == 'x86_64' or platform_machine == 'aarch64')) or (sys_platform == 'win32' and platform_machine == 'AMD64'))",
38
38
  "pillow>=10",
39
39
  "uvicorn>=0.30,<1",
40
40
  "numpy>=1.24",
@@ -43,8 +43,6 @@ dependencies = [
43
43
  ]
44
44
 
45
45
  [project.optional-dependencies]
46
- teleop = ["aiortc>=1.16,<1.17; python_version >= '3.11'", "aioice>=0.13,<0.14; python_version >= '3.11'"]
47
- moq = ["moq-rs==0.5.2; python_version >= '3.10'", "moq-ffi==0.4.27; python_version >= '3.10'"]
48
46
  data = ["pyarrow>=14"]
49
47
  dev = [
50
48
  "pytest>=7",
@@ -60,15 +58,11 @@ dev = [
60
58
  "jax>=0.4.30; python_version >= '3.10'",
61
59
  "eclipse-zenoh>=1.10,<2",
62
60
  "ruff>=0.6,<1",
63
- "aiortc>=1.16,<1.17; python_version >= '3.11'",
64
- "aioice>=0.13,<0.14; python_version >= '3.11'",
65
- "opencv-python-headless>=4.8",
66
61
  "pyarrow>=14",
67
- "moq-rs==0.5.2; python_version >= '3.10'",
68
- "moq-ffi==0.4.27; python_version >= '3.10'",
69
62
  ]
70
63
 
71
64
  [project.scripts]
65
+ sequence = "seq_launch:main"
72
66
  seq = "seq_launch:main"
73
67
 
74
68
  [project.urls]
@@ -53,7 +53,6 @@ from seq.errors import (
53
53
  )
54
54
  from seq.image import Image
55
55
  from seq.policy import concurrent, policy
56
- from seq.human import ask_human
57
56
  from seq.params import OneOf, Range
58
57
  from seq.registry import registration
59
58
  from seq.secret import Secret
@@ -97,7 +96,6 @@ __all__ = [
97
96
  "Camera",
98
97
  "Episode",
99
98
  "policy",
100
- "ask_human",
101
99
  "concurrent",
102
100
  "infer",
103
101
  "observe",
@@ -259,10 +259,10 @@ def plan(fn: Any = None, *, every_s: Any = None, wake_on: Any = None) -> Callabl
259
259
  sent a new observation - handed `robot`: robot.id and robot.state, a read-only view of the robot's episode.state
260
260
  (the newest observation is robot.state["seq.observations"][-1]). What it returns is appended to the robot's
261
261
  episode.state["seq.plans"] as {"step", "value"}, which the act function reads on its next act; None changes
262
- nothing, and seq.ask_human(...) hands the robot to a person instead. A plan that raises is noted in the worker's log
263
- and called again at the next tick; the act never waits for a plan. `wake_on`: top-level keys of an observation or an
264
- act's inputs whose arrival plans at once, the clock going on beside. The worker reads wake_on off the method, where
265
- it is stashed as `__seq_plan_wake_on__`. A class has at most one.
262
+ nothing. A plan that raises is noted in the worker's log and called again at the next tick; the act never waits for
263
+ a plan. `wake_on`: top-level keys of an observation or an act's inputs whose arrival plans at once, the clock going
264
+ on beside. The worker reads wake_on off the method, where it is stashed as `__seq_plan_wake_on__`. A class has at
265
+ most one.
266
266
 
267
267
 
268
268
  WHY a separate binding from `@seq.infer`, never used bare: a plan's model call runs at a slow cadence and MUST NOT sit
@@ -25,7 +25,7 @@ from sequence_ai._core.plugins import first, needs_cloud
25
25
  from sequence_ai.errors import InvalidRequest, NotFound, SequencesError
26
26
 
27
27
 
28
- _OWN = ("init", "serve", "weights", "teleop", "data", "check")
28
+ _OWN = ("init", "serve", "weights", "data", "check")
29
29
 
30
30
 
31
31
  _OPEN_FLAGS = {"unauthenticated": "set SEQUENCES_API_KEY"}
@@ -161,21 +161,6 @@ def _dispatch(args: argparse.Namespace) -> int:
161
161
  fused_kernels=args.fused_kernels, tensorrt=args.tensorrt, precision=args.precision,
162
162
  tolerance=args.tolerance, cfg_parallel=args.cfg_parallel,
163
163
  pipeline_parallel=args.pipeline_parallel)
164
- if args.cmd == "teleop":
165
- import os
166
-
167
- from sequence_ai._core import teleop_serve
168
-
169
- token = args.token if args.token is not None else os.environ.get(teleop_serve.TOKEN_ENV)
170
- secret = args.turn_secret or os.environ.get(teleop_serve.TURN_SECRET_ENV)
171
- if args.turn and not secret:
172
- raise InvalidRequest(f"--turn needs its server's shared secret: --turn-secret, or ${teleop_serve.TURN_SECRET_ENV}")
173
- if args.moq and args.moq_port is not None:
174
- raise InvalidRequest("--moq names a MoQ relay of your own and --moq-port serves one here: one of the two")
175
- return teleop_serve.serve(args.host, args.port, token=token, robot=args.robot, record=args.record,
176
- turn=args.turn or (), turn_secret=secret,
177
- turn_ttl_s=args.turn_ttl or teleop_serve.TURN_TTL_S, moq=args.moq,
178
- moq_port=args.moq_port)
179
164
  if args.cmd == "data":
180
165
  from sequence_ai._core import dataset
181
166
 
@@ -338,7 +323,7 @@ def _init_official(spec: str, target: str | None, base_url: str | None, *, no_so
338
323
  after = (f"; on the robot, see {' and '.join(filter(None, (readme, client)))}" if client
339
324
  else f"; see {readme}" if readme else "")
340
325
  print(f"next: `seq serve {dest}` serves it from this machine - a robot connects with "
341
- f'sequence_ai.connect("http://<this machine>:8000"){after}')
326
+ f'sequence_ai.connect("http://<this machine>:8000", token="...") and the token it prints{after}')
342
327
  if template_fetch.weights_from_gs(dest, entry):
343
328
  print("its weights download with a General Sequences key: seq serve reads it from "
344
329
  + ("`seq login` or " if cloud else "") + "SEQUENCES_API_KEY")