Repository navigation
feat(cli): add ax studio launcher and install.sh studio download - #627
Conversation
Add 'ax studio' to launch the standalone AX Studio local web application (github.com/agentexecutor/studio) on 127.0.0.1:8080 without bundling frontend assets or Node toolchains into google/ax. - Download and SHA-256-verify ax-studio alongside ax in install.sh into ~/.ax/bin/ax-studio (gracefully skipping until agentexecutor/studio publishes its first release, while failing closed on any checksum mismatch). - Add executil.ResolveStudioBinary ( -> ~/.ax/bin/ax-studio -> PATH). - Validate loopback-only listen addresses (--port / --addr) up front and forward graceful shutdown signals without affecting running clusters or tasks.
|
Also cc @Raji14 |
mayawang
left a comment
There was a problem hiding this comment.
LGTM, nice that it fails closed on a checksum mismatch and binds to localhost. Non-blocking: same as install.sh, the checksum comes from the same release as the binary, so signing is a later follow-up.
|
One concern comments, otherwise lgtm. |
|
@yongruilin @mayawang I am hesitant to support this natively from AX, seems like it introduces API surface area that has a lot of dependencies/ENV requirements to not fail and could introduce a lot of confusion for users. Is this a pattern you have seen in other products? IMHO making studio a linked dep of the ax cli creates a new tight dependency on studio and if studio starts to support a lot of flags, config, options, there will be pressure to project those changes into ax cli |
|
@MushuEE The env above is mostly because I am testing with my own image and ax studio binary. Once released, the user flow is just: and uses the pinned image and studio binary. Let me know if it resolves your concern. |
|
Regarding the concern about |
|
Will submit this one, let's keep iterating on it. :) |
Add 'ax studio' to launch the standalone AX Studio local web application (github.com/agentexecutor/studio) on 127.0.0.1:8080(default port)
Test with released ax-studio binary(in my personal repo) on both linux and macOS
Tested:
Output:
