Skip to Content
DocumentationCapabilities Debugging and Observability

Debugging and observability

In AI agent development, it is important to have a window to peek into state evolution. There are primarily two ways of doing this in development.

  • Redux Devtools
  • Sonar Lite

Redux Devtools

Make sure you install redux devtools extention. (Check out redux-devtools )

If you open it while running a cascaide application, you will be able to examine the client side state. As the server and client states are synced, you will be able to observer the state evolve in real time.

You can only observe what you surface to the client. If one of your nodes surface only uiUpdates (look at the defining nodes section), that’s all you wil be able to see.



Sonar Lite

We provide an observability webapp called Sonar Lite out of the box. Set your development DB URL and you will be able to examine the authoritative state in the durable database.

Clone the Sonar Lite github repository

git clone git@github.com:cascaide-ts/sonar-lite.git

Set your durable db environment variable

DATABASE_URL='your-db-url'

Install and run

npm install npm run dev

Open http://localhost:3000  to inspect.

Last updated on