# Test knowledge agent
___

There are two ways to **test** a knowledge agent:

1. **Evaluate** - Upload a `.csv` file with sample questions and check whether the agent responds as expected. Use ground truth evaluation to compare responses against expected answers. Run evaluations before publishing and after making changes to the agent or its knowledge sources.
2. [Analyze user traffic](https://www.infobip.com/docs/insights-and-analytics/analytics/ai-agents#knowledge-agent-analytics) - Analyze user messages and knowledge agent responses. Review messages sent by end users within a selected period to gain insights into end user interests and identify areas where the agent needs improvement.

For detailed instructions on running evaluations and analyzing traffic, see [Quality center for knowledge agents](https://www.infobip.com/docs/agentos-ai-agents/quality-center/knowledge-agents).

___