Skip to content

Conversation

@maxkorp
Copy link
Contributor

@maxkorp maxkorp commented Nov 26, 2025

This could probably be a bit better (and exposes some dx features we could clean up a bit) but this makes the readme stop being flat out wrong

@sdedieu
Copy link

sdedieu commented Dec 1, 2025

Hi 👋

Following this new Readme, I end up with:

  • Run just the demo viewer, and run the agent(s) separately.

Both agent and frontend are running but whenever I start interacting with the chat, I go an error in my browser console:

intercept-console-error.js:50 Error in async callback: Error: Failed to retrieve assistant: fetch failed
    at eval (chunk-OT5NHMEC.mjs:296:19)
    at Generator.next (<anonymous>)
    at fulfilled (chunk-SKC7AJIV.mjs:45:24)
  • Use the dojo-everything scripts

./scripts/prep-dojo-everything.js crashes with:

...
[Dojo] pnpm install --no-frozen-lockfile && pnpm build --filter=demo-viewer... exited with code 0
[
  {
    command: Command {
      killProcess: [Function (anonymous)],
      spawn: [Function: spawn],
      spawnOpts: [Object],
      index: 2,
      name: 'Agno',
      command: 'uv sync',
      prefixColor: '',
      env: {},
      cwd: '<ag-ui-folder-path>//ag-ui/integrations/agno/python/examples',
      ipc: undefined,
      close: [Subject],
      error: [Subject],
      stdout: [Subject],
      stderr: [Subject],
      timer: [Subject],
      stateChange: [Subject],
      messages: [Object],
      process: undefined,
      subscriptions: [],
      stdin: [Socket],
      pid: 10545,
      killed: false,
      exited: false,
      state: 'exited'
    },
    index: 2,
    exitCode: 127,
    killed: false,
    timings: {
      startDate: 2025-12-01T06:57:43.291Z,
      endDate: 2025-12-01T06:57:43.302Z,
      durationSeconds: 0.011470042
    }
  },
  {
    command: Command {
      killProcess: [Function (anonymous)],
      spawn: [Function: spawn],
      spawnOpts: [Object],
      index: 10,
      name: 'A2A Middleware',
      command: 'uv sync',
      prefixColor: '',
      env: {},
      cwd: '<ag-ui-folder-path>/ag-ui/middlewares/a2a-middleware/examples',
      ipc: undefined,
      close: [Subject],
      error: [Subject],
      stdout: [Subject],
      stderr: [Subject],
      timer: [Subject],
      stateChange: [Subject],
      messages: [Object],
      process: undefined,
      subscriptions: [],
      stdin: [Socket],
      pid: 10553,
      killed: false,
      exited: false,
      state: 'exited'
    },
    index: 10,
    exitCode: 127,
    killed: false,
    timings: {
      startDate: 2025-12-01T06:57:43.294Z,
      endDate: 2025-12-01T06:57:43.303Z,
      durationSeconds: 0.00919525
    }
  },
  ...
]

Do you know what can be missing ?

@sdedieu
Copy link

sdedieu commented Dec 1, 2025

EDIT:

For the "Run just the demo viewer, and run the agent(s) separately."

I was running npm run dev inside of the ag-ui/integrations/langgraph/typescript instead of ag-ui/integrations/langgraph/typescript/examples/src/agents/agentic_chat.

It then asked me to rename .env.example file into .env and fill up the OPENAI_API_KEY and LANGSMITH_API_KEY. I got it working just fine now.

(Use the dojo-everything scripts issue persist though).

@NathanTarbert
Copy link
Contributor

cc @maxkorp above ^^^

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.

4 participants