Skip to content

Agentic: Studio Code AI semi-open beta - #4456

Open
nightnei wants to merge 3 commits into
trunkfrom
agenticSemiOpenBeta
Open

Agentic: Studio Code AI semi-open beta#4456
nightnei wants to merge 3 commits into
trunkfrom
agenticSemiOpenBeta

Conversation

@nightnei

@nightnei nightnei commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Related issues

How AI was used in this PR

AI assisted

Proposed Changes

This PR is a preparation for switching Studio Code AI to semi-open beta with access-request flow.

Access blocked by default (existing user)

Classic UI Agentic UI
Screenshot 2026-08-05 at 21 55 31 Screenshot 2026-08-05 at 21 56 30
Screenshot 2026-08-05 at 22 37 16 Screenshot 2026-08-05 at 22 37 34

Access blocked by default (new user)

Classic UI Agentic UI
Screenshot 2026-08-05 at 22 36 08 Screenshot 2026-08-05 at 22 35 14
Screenshot 2026-08-05 at 22 36 26 Screenshot 2026-08-05 at 22 35 32

Access blocked manually

Classic UI Agentic UI
Screenshot 2026-08-05 at 22 39 56 Screenshot 2026-08-05 at 22 40 49
Screenshot 2026-08-05 at 22 40 15 Screenshot 2026-08-05 at 22 40 34

Testing Instructions

See testing instructions in 163871-ghe-Automattic/missioncontrol

@nightnei nightnei self-assigned this Aug 5, 2026
@nightnei
nightnei marked this pull request as ready for review August 5, 2026 13:08
@nightnei
nightnei requested review from a team, bcotrim and sejas August 5, 2026 13:13
@nightnei
nightnei force-pushed the agenticSemiOpenBeta branch from 095556b to 582886e Compare August 5, 2026 16:40
@nightnei
nightnei force-pushed the agenticSemiOpenBeta branch from 582886e to 9ef388d Compare August 5, 2026 16:42
@wpmobilebot

wpmobilebot commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

📊 Performance Test Results

Comparing ad466c7 vs trunk

app-size

Metric trunk ad466c7 Diff Change
App Size (Mac) 1402.88 MB 1402.90 MB +0.02 MB ⚪ 0.0%

site-editor

Metric trunk ad466c7 Diff Change
load 1038 ms 1060 ms +22 ms ⚪ 0.0%

site-startup

Metric trunk ad466c7 Diff Change
siteCreation 7516 ms 7512 ms 4 ms ⚪ 0.0%
siteStartup 2865 ms 2869 ms +4 ms ⚪ 0.0%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

@sejas sejas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good. I hardcoded some variables to verify it, because I got some issues when testing it with the backend.
copy
Let's just make sure the message of closed beta appears first and above any other message like payment required. #4422

export function formatAiBlockedNotice(): string {
return __(
'Studio Code AI is unavailable for this WordPress.com account. If you believe this is a mistake, contact WordPress.com support.'
'Studio Code AI is blocked for this WordPress.com account. If you believe this is a mistake, contact WordPress.com support.'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can consider adding a URL to contact us. Maybe https://wordpress.com/support/contact/

export function formatAiAccessRequiredNotice(
quota?: Pick< StudioAssistantQuota, 'costUsage' > | null
): string {
if ( quota && quota.costUsage > 0 ) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will only identify users who used Studio Code during this month.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I know. We reset it in the DB and I haven't found info about usage in teh past, so decided to go this way. it's already 5-th of August and we will release it later, so if somebody hasn't used Studio code for the last ~10 days, probably it's not a problem to show the default notice.
I was considering to check for stored chats locally, it's an option, but this way adds a lot of code and I am nt sure that it's very critical.
WDYT, Antonio?

Comment on lines +129 to +130
return __(
'Thanks for participating in the Studio Code AI beta. Access is now limited. Apply to continue at <applyLink>developer.wordpress.com/studio/studio-code-beta</applyLink>.'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add a translators comment in both versions of the string.

Suggested change
return __(
'Thanks for participating in the Studio Code AI beta. Access is now limited. Apply to continue at <applyLink>developer.wordpress.com/studio/studio-code-beta</applyLink>.'
return __(
/* translators: <applyLink> and </applyLink> wrap the beta application URL and must be kept as-is. */
'Thanks for participating in the Studio Code AI beta. Access is now limited. Apply to continue at <applyLink>developer.wordpress.com/studio/studio-code-beta</applyLink>.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants