Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

Error: agent coder not found #119

Open

Description

@0xbrayo

I get this error on first run Error: agent coder not found

Activity

  1. kujtimiihoxha commented on Apr 29, 2025

    @kujtimiihoxha
    Contributor

    #115 might fix this, I will get it merged soon

  2. GV14982 commented on May 19, 2025

    @GV14982

    I am also getting this error. I'm on v0.0.46, here is my config:

    {
      "$schema": "https://raw.githubusercontent.com/opencode-ai/opencode/refs/heads/main/opencode-schema.json",
      "providers": {
        "anthropic": {
          "disabled": false
        }
      },
      "agents": {
        "coder": {
          "model": "claude-3.5-haiku"
        },
        "task": {
          "model": "claude-3.5-haiku"
        },
        "title": {
          "model": "claude-3.5-haiku"
        }
      },
      "mcpServers": {
        "context7": {
          "disabled": false,
          "command": "npx",
          "args": [
            "-y",
            "@upstash/context7-mcp@latest"
          ]
        },
        "vectorcode": {
          "disabled": false,
          "command": "vectorcode-mcp-server"
        }
      },
      "lsp": {
        "go": {
          "disabled": false,
          "command": "gopls"
        },
        "typescript": {
          "disabled": false,
          "command": "typescript-language-server",
          "args": ["--stdio"]
        },
        "gleam": {
          "disabled": false,
          "command": "gleam lsp"
        }
      }
    }
  3. Infinnerty commented on May 29, 2025

    @Infinnerty

    I also get this problem. Fresh install, never used opencode before.

    Image

    edit: never mind, I didn't have any API keys set!

  4. feldrok commented on Jun 27, 2025

    @feldrok

    I have this, i want to run the command opencode auth login to use my Claude Max subscription, but i'm not able to

  5. revskill10 commented on Jun 29, 2025

    @revskill10

    Same issue.

  6. alexsvorada commented on Jul 1, 2025

    @alexsvorada

    Same issue

  7. Drilmo commented on Jul 2, 2025

    @Drilmo

    Same issue

  8. talbergs commented on Jul 2, 2025

    @talbergs

    Error: agent primary not found here, wsl

  9. ampcpmgp commented on Jul 3, 2025

    @ampcpmgp

    same, WSL

  10. connor-k-smith commented on Jul 3, 2025

    @connor-k-smith

    Same

    EDIT: I fixed this by just re-setting my API keys (as env variables)

  11. lulzhipsters commented on Jul 17, 2025

    @lulzhipsters

    Dupe of #298

  12. PanchoBubble commented on Jul 24, 2025

    @PanchoBubble

    Uninstall open code if you did with brew
    run curl -fsSL https://opencode.ai/install | bash (from the install docs)
    then run opencode auth login

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