Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.
PHP ai-agentsblueskyfacebookinstagramlaravellinkedinmastodonmcpmcp-serveropen-sourcerest-apiself-hostedsocial-mediasocial-media-managementsocial-media-schedulerthreadstiktokvuejsxyoutube
<?php
declare(strict_types=1);
namespace App\Ai\Agents;
use App\Enums\User\Locale;
use Laravel\Ai\Attributes\Temperature;
use Laravel\Ai\Contracts\Agent;
use Laravel\Ai\Promptable;
#[Temperature(0.2)]
class MediaAltTextGenerator implements Agent
{
use Promptable;
public const int MAX_LENGTH = 250;
public function __construct(
public Locale $locale,
) {}
public function instructions(): string
{
return view('prompts.post_image.alt_text', [
'language' => $this->locale->promptLanguage(),
'max_length' => self::MAX_LENGTH,
])->render();
}
}