Skip to content

[Bug]: Antigravity agent incorrectly reports "needs to sign in" even though agy is authenticated and responding #4121

@newton5555

Description

@newton5555

Before you submit

  • I searched existing issues and confirmed this is not a duplicate.
  • I replaced the example text with the real behavior, reproduction steps, expected result, and version from the app's About menu or od --version.

What happened?

When selecting the Antigravity agent in Open Design, every request fails with:

Antigravity needs to sign in. The agy CLI's keyring entry has expired or been cleared...

However, agy is already authenticated and works correctly from the command line.

Steps to reproduce

agy authentication works
agy

Successfully launches and shows the logged-in account.

Print mode works
agy -p "hello"

Returns a valid response.

stdin mode works
echo hello | agy -p -

Returns a valid response.

Open Design actually invokes agy

I intercepted the invocation using a wrapper script and confirmed Open Design executes:

agy -p --log-file -

Open Design also sends a large prompt through stdin.

Reproduction using Open Design's exact prompt

I captured the stdin content sent by Open Design and replayed it manually:

type od-agy-stdin.txt | agy -p -

agy returned a valid Open Design response:

...

This suggests:

agy is authenticated
agy accepts the prompt
agy produces a valid response

Expected behavior

Open Design should display the response returned by agy.

Open Design version

0.9.0

Platform

Windows

Logs (optional)

Screenshots (optional)

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions