Skip to content

Add Meta Computer Use agent - #123

Merged
NikhilShahi merged 5 commits into
mainfrom
cursor/add-meta-computer-use-115d
Sep 7, 2026
Merged

Add Meta Computer Use agent#123
NikhilShahi merged 5 commits into
mainfrom
cursor/add-meta-computer-use-115d

Conversation

@NikhilShahi

@NikhilShahi NikhilShahi commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds Meta Computer Use to the Python SDK (sync + async), matching Grok Computer Use and the current Hyperbrowser API (muse-spark-1.1 / 1.2 / 1.3, including max reasoning on 1.3).

Changes

  • client.agents.meta_computer_use with start, get, get_status, stop, and start_and_wait
  • TypedDict and legacy Pydantic request paths
  • Custom keys via use_custom_api_keys + api_keys.meta
  • No SDK-side defaults; only task is required
  • Step reasoning keeps Meta's {effort, summary}
  • Task envelope matches other agents (jobId, status, metadata, data, error, liveUrl)

Validation

  • poetry run ruff check .
  • poetry run pytest tests --ignore=tests/sandbox/e2e
  • Live API: sync + async start / get_status / get / stop and start_and_wait against https://api.hyperbrowser.ai
Open in Web Open in Cursor 

Expose sync and async Muse Spark 1.1 computer-use managers with TypedDict and legacy request models.

Co-authored-by: nikhil <nikhil@metlo.com>
@NikhilShahi
NikhilShahi marked this pull request as ready for review September 6, 2026 23:20

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

NikhilShahi has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.

Keep TypedDict and legacy Pydantic request paths aligned with the current API.

Co-authored-by: nikhil <nikhil@metlo.com>

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

NikhilShahi has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.

Meta history uses effort/summary, not CUA's generate_summary field.

Co-authored-by: nikhil <nikhil@metlo.com>

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

NikhilShahi has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.

Keep createdAt, finishedAt, liveDomain, and jobParams instead of
dropping them from the production task payload.

Co-authored-by: nikhil <nikhil@metlo.com>

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

NikhilShahi has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.

Keep the task response aligned with Grok/CUA: no createdAt, finishedAt,
liveDomain, or jobParams.

Co-authored-by: nikhil <nikhil@metlo.com>

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

NikhilShahi has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@NikhilShahi
NikhilShahi merged commit 2085578 into main Sep 7, 2026
13 checks passed
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.

2 participants