asimov-xai-module

Crates.ioasimov-xai-module
lib.rsasimov-xai-module
version0.0.2
created_at2025-11-06 06:21:55.592574+00
updated_at2025-11-06 06:21:55.592574+00
descriptionASIMOV xAI module.
homepagehttps://github.com/asimov-modules
repositoryhttps://github.com/asimov-modules/asimov-xai-module
max_upload_size
id1919131
size59,839
rust (github:asimov-modules:rust)

documentation

README

ASIMOV xAI Module

License Package on Crates.io Documentation

ASIMOV xAI module.

✨ Features

  • To be determined!

🛠️ Prerequisites

  • Rust 1.85+ (2024 edition) if building from source code

⬇️ Installation

Installation with ASIMOV CLI

asimov module install xai -v

Installation from Source Code

cargo install asimov-xai-module

👉 Examples

asimov-xai-prompter

⚙ Configuration

Provide an API key either by module configuration

asimov module config xai

Or through environment variables

export XAI_API_KEY="..."

Optional configuration

Name Environment Variable Default
endpoint XAI_API_ENDPOINT https://api.x.ai
model XAI_MODEL grok-3-mini

📚 Reference

Prompt

echo "Why is the sky blue?" | asimov-xai-prompter

👨‍💻 Development

git clone https://github.com/asimov-modules/asimov-xai-module.git

Share on X Share on Reddit Share on Hacker News Share on Facebook Share on LinkedIn

Commit count: 0

cargo fmt