Skip to content

agents-cli run command throws uv.exe - Application Error #40

Closed

Description

@Subarna578

What happened?

When I create an agent, and then run agents-cli install, then agents-cli run "Hello".., it throws error
Cannot start uv.exe application.

This is irrespective of whether I activate the venv or not.

After 30 seconds timeout, it throws error

Error: Local server did not start within 30s.
Check logs: .google-agents-cli/run_server.log

Image

Steps to Reproduce

  1. Run agents-cli create --prototype --yes
  2. agents-cli install.
  3. agents-cli run "Hello there"

What did you expect to happen?

It should have logged the live streaming response directly back to the command line.

Client information

Client Information

Run agents-cli info to output debugging information about your client.

Command Output / Logs

Error: Local server did not start within 30s.
Check logs: .google-agents-cli/run_server.log

Anything else we need to know?

No response

Activity

  1. Subarna578 commented on Jun 21, 2026

    @Subarna578
    Author

    WORKAROUND:

    a) From the project root, run uv run adk web . --host 127.0.0.1 --port 8080 --allow_origins "http://127.0.0.1:8080"
    b) Once the server is listening, run agents-cli run "Hello" --url http://127.0.0.1:8080 --mode adk from another terminal.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions