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
CLI Testing
Query your agent from the terminal. Fast iteration, scriptable, perfect for development.
Recommended for devsWeb Playground
Visual chat interface at app.daemo.ai. Great for demos and testing with stakeholders.
Debugging
Troubleshoot issues, understand logs, and fix common problems.
Prerequisites
Before testing, make sure you have:
- A running service — Your Daemo service should be connected
- An API key — From app.daemo.ai
- Functions registered — At least one
@DaemoFunctionexposed
Note
New to Daemo? Start with the Node.js Quickstart to get your first agent running.
Quick Reference
| Method | Best For | Setup Time |
|---|---|---|
| CLI Testing | Development, automation, CI/CD | 2 minutes |
| Web Playground | Demos, non-technical testing | None |
| Debugging | Troubleshooting 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