Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/llm-agents-php/agent-site-status-checker
The Site Status Checker Agent is a powerful and flexible tool designed to monitor and report on the status of websites.
https://github.com/llm-agents-php/agent-site-status-checker
llm llm-agent llm-tools php php8
Last synced: 3 days ago
JSON representation
The Site Status Checker Agent is a powerful and flexible tool designed to monitor and report on the status of websites.
- Host: GitHub
- URL: https://github.com/llm-agents-php/agent-site-status-checker
- Owner: llm-agents-php
- License: mit
- Created: 2024-08-26T16:07:08.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-09-07T08:41:29.000Z (20 days ago)
- Last Synced: 2024-09-08T09:19:34.297Z (19 days ago)
- Topics: llm, llm-agent, llm-tools, php, php8
- Language: PHP
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Site Status Checker Agent 🕵️♂️
[![PHP](https://img.shields.io/packagist/php-v/llm-agents-php/agent-site-status-checker.svg?style=flat-square)](https://packagist.org/packages/llm-agents-php/agent-site-status-checker)
[![Latest Version on Packagist](https://img.shields.io/packagist/v/llm-agents-php/agent-site-status-checker.svg?style=flat-square)](https://packagist.org/packages/llm-agents-php/agent-site-status-checker)
[![Total Downloads](https://img.shields.io/packagist/dt/llm-agents-php/agent-site-status-checker.svg?style=flat-square)](https://packagist.org/packages/llm-agents-php/agent-site-status-checker)Hey there! 👋 This package gives you a cool Site Status Checker Agent for your LLM Agents project.
![site-status-checker](https://github.com/user-attachments/assets/e363dd44-7dff-413e-a5cd-c2eebcf62b7e)
## 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:
```mermaid
classDiagram
class SiteStatusCheckerAgent {
+create() : self
}
class AgentAggregate {
<>
}
class CheckSiteAvailabilityTool {
+execute(object) : string
}
class GetDNSInfoTool {
+execute(object) : string
}
class PerformPingTestTool {
+execute(object) : string
}
class Tool {
<>
}
SiteStatusCheckerAgent --|> AgentAggregate
CheckSiteAvailabilityTool --|> Tool
GetDNSInfoTool --|> Tool
PerformPingTestTool --|> Tool
SiteStatusCheckerAgent ..> CheckSiteAvailabilityTool
SiteStatusCheckerAgent ..> GetDNSInfoTool
SiteStatusCheckerAgent ..> PerformPingTestTool
```## Let's get started! 🚀
### Installation
First things first, let's get this package installed:
```bash
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:
```php
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 RequestJust 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](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.