llm-agents/agent-site-status-checker

Simple agent to check the status of a website

Maintainers

👁 butschster

Package info

github.com/llm-agents-php/agent-site-status-checker

pkg:composer/llm-agents/agent-site-status-checker

Statistics

Installs: 108

Dependents: 0

Suggesters: 0

Stars: 2

1.1.0 2024-09-07 08:41 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT c1a738c3b832f0fb67f0ccefe1b35d46bc801f1e

This package is auto-updated.

Last update: 2026-06-07 12:09:48 UTC


README

👁 PHP
👁 Latest Version on Packagist
👁 Total Downloads

Hey there! 👋 This package gives you a cool Site Status Checker Agent for your LLM Agents project.

👁 site-status-checker

What's this all about? 🤔

  • Check if a site is up and running 🏃‍♂️
  • Dig up DNS info 🔍
  • Run ping tests 🏓
  • Give you the lowdown on why a site might be offline 😴

Class Diagram 📊

Here's a quick look at how everything fits together:

classDiagram
 class SiteStatusCheckerAgent {
 +create() : self
 }
 class AgentAggregate {
 <<interface>>
 }
 class CheckSiteAvailabilityTool {
 +execute(object) : string
 }
 class GetDNSInfoTool {
 +execute(object) : string
 }
 class PerformPingTestTool {
 +execute(object) : string
 }
 class Tool {
 <<abstract>>
 }
 SiteStatusCheckerAgent --|> AgentAggregate
 CheckSiteAvailabilityTool --|> Tool
 GetDNSInfoTool --|> Tool
 PerformPingTestTool --|> Tool
 SiteStatusCheckerAgent ..> CheckSiteAvailabilityTool
 SiteStatusCheckerAgent ..> GetDNSInfoTool
 SiteStatusCheckerAgent ..> PerformPingTestTool
Loading

Let's get started! 🚀

Installation

First things first, let's get this package installed:

composer require llm-agents/agent-site-status-checker

Setup in Spiral Framework

To get the Site Status Checker Agent up and running in your Spiral Framework project, you need to register its bootloader.

Here's how:

  1. Open up your app/src/Application/Kernel.php file.
  2. Add the bootloader like this:
    public function defineBootloaders(): array
    {
     return [
     // ... other bootloaders ...
     \LLM\Agents\Agent\SiteStatusChecker\Integrations\Spiral\SiteStatusCheckerBootloader::class,
     ];
    }

And that's it! Your Spiral app is now ready to use the agent.

Want to help out? 🤝

We love contributions! If you've got ideas to make this agent even cooler, here's how you can chip in:

  1. Fork the repo
  2. Make your changes
  3. Create a new Pull Request

Just make sure your code is clean, well-commented, and follows PSR-12 coding standards.

License 📄

This project is licensed under the MIT License - see the LICENSE file for details.

That's all, folks! If you've got any questions or run into any trouble, don't hesitate to open an issue.