Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mojo::AI::Client

A clean, modern Perl client for the xAI Grok API built with Moo + Mojolicious.

Features

  • Streaming support
  • Intelligent caching
  • Mojolicious helper integration
  • Clean Moo-based API
  • Full chat web UI example

Quick Start

use Mojo::AI::Client;

my $client = Mojo::AI::Client->new(api_key => $ENV{XAI_API_KEY});

print $client->ask("Hello Grok!");

Web Demo

Run the included chat UI:

morbo script/xai-chat

Then visit http://localhost:3000

License

MIT

About

Clean minimal WebUI AI chat app with Mojolicious and Moo

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages