
trycua/cua on GitHub
- Stars
- 26,176
- Forks
- 1,813
- Language
- HTML
- License
- MIT
- Last push
- 24 Sep 2026
Post on X
- Views
- 1,279,422
- Likes
- 5,501
- Reposts
- 491
Read from GitHub and X on . Counts change daily.
How it uses Jev
from typesafe_sdk import Choice
response = client.system_one(
state={"observation": dict(observation)},
questions={
"candidate": Choice(
instructions=goal,
criteria=dict(criteria),
)
},
)
answer = response.choices["candidate"]
if answer.choice not in criteria:
raise ValueError(f"Jev selected unknown candidate: {answer.choice}")
confidence = float(answer.confidence)View in libs/cua-driver/examples/jev-use/python/jev_adapter.py


