Skip to main content

Testing & Debugging

Once your agent is running, you need to test it. This section covers all the ways to interact with, test, and debug your Daemo agent.

Choose Your Testing Approach​


Prerequisites​

Before testing, make sure you have:

  1. A running service — Your Daemo service should be connected
  2. An API key — From app.daemo.ai
  3. Functions registered — At least one @DaemoFunction exposed
Note

New to Daemo? Start with the Node.js Quickstart to get your first agent running.


Quick Reference​

MethodBest ForSetup Time
CLI TestingDevelopment, automation, CI/CD2 minutes
Web PlaygroundDemos, non-technical testingNone
DebuggingTroubleshooting issues—

Testing Workflow​

A typical development workflow looks like:

1. Write function → 2. Restart service → 3. Test via CLI → 4. Iterate
1
Write

Add or modify @DaemoFunction

→
2
Restart

Service syncs to Daemo

→
3
Test

Query via CLI or Playground

→
4
Iterate

Refine based on results


Next Steps​