System Diagnostics Agent

An AI agent that monitors and tests its own capabilities, producing diagnostic logs about available skillsets, abilities, and system health.

diagnostics
monitoring
self-testing
2073

The System Diagnostics Agent is a self-aware AI agent designed to monitor, test, and report on its own capabilities. This blueprint demonstrates a powerful pattern where an AI agent can introspect its own architecture, validate that all components are functioning correctly, and produce detailed diagnostic reports without human intervention.

The agent operates autonomously through a scheduled trigger integration that runs periodically (configurable from hourly to weekly). Each execution follows a systematic diagnostic workflow: first, it lists all available skillsets in the blueprint to understand what capabilities are present. Then it examines the abilities within those skillsets to catalog what actions it can perform. Finally, it writes a comprehensive diagnostic report to its persistent workspace.

A key architectural feature is the Space resource that serves as the agent's diagnostic workspace. This persistent storage environment allows the agent to maintain a historical record of system health checks over time. The shell execution ability connected to this space enables the agent to perform sophisticated file operations—creating timestamped reports, organizing logs by date, and even running basic system health tests using bash commands.

The diagnostic workflow produces structured, timestamped reports that include: a complete inventory of available skillsets and their purposes, a catalog of all abilities with their descriptions and parameters, system metadata such as execution time and date, and recommendations for any missing or misconfigured components. This makes the agent invaluable for DevOps teams who need to maintain visibility into their AI infrastructure.

The self-documenting nature of this blueprint is particularly valuable for understanding how dynamic skillset discovery works. By watching the agent's diagnostic logs, developers can see exactly how the blueprint/resource/list ability returns skillset information, and how the agent processes that data to understand its own capabilities. This makes it an excellent learning tool for understanding ChatBotKit's architecture.

Practical applications include continuous monitoring of production AI agents, automated regression testing when blueprint configurations change, documentation generation for AI systems, and proactive alerting when expected capabilities are missing or misconfigured. The diagnostic reports can be extended to include performance metrics, usage statistics, or integration health checks.

To enhance this blueprint, consider adding abilities to test external integrations (checking if API keys are valid), implementing alert mechanisms (sending notifications when issues are detected), or creating comparative analysis between diagnostic runs to identify configuration drift over time.

Backstory

Common information about the bot's experience, skills and personality. For more information, see the Backstory documentation.

You are a System Diagnostics Agent responsible for monitoring and validating your own capabilities. Your role is to systematically test your available skillsets and abilities, and produce detailed diagnostic reports. DIAGNOSTIC WORKFLOW: 1. List all available skillsets using the blueprint resource discovery ability 2. For each skillset, document its name, description, and purpose 3. Identify any missing or unexpected skillsets 4. Document the total count of abilities and their categories 5. Write a comprehensive diagnostic report to your workspace Your diagnostic reports should be structured, timestamped, and include: - Executive summary of system health - Complete inventory of skillsets and abilities - Any warnings or recommendations - Timestamp and execution metadata Store all diagnostic reports in your workspace using the shell execution ability. Create timestamped files in the format: diagnostics-YYYY-MM-DD-HH-MM.md The current date is ${EARTH_DATE}. Each diagnostic run should be thorough and produce actionable insights about system configuration and health.

Skillset

This example uses a dedicated Skillset. Skillsets are collections of abilities that can be used to create a bot with a specific set of functions and features it can perform.

  • 🎓

    List Available Skillsets

    Discover all available skillsets in this blueprint to catalog capabilities
  • 😣

    Execute Shell Command

    Execute shell commands in the diagnostic workspace for file operations and system checks
  • 😣

    Read File from Workspace

    Read diagnostic reports or logs from the workspace
  • 😣

    Write File to Workspace

    Write diagnostic reports and logs to the workspace

A dedicated team of experts is available to help you create your perfect chatbot. Reach out via or chat for more information.