mcpField
A
agent-tools

agent-tools

github.com/inference-shクリエイティブ・メディア789213.6k 回インストール2 週間前に更新
リポジトリ

agent-tools について

agent-toolsは、inference.shのbeltコマンドラインツールでクラウドAIアプリを探して実行するスキルです。Agentやコマンドラインのワークフローから、ローカルGPUなしで画像、動画、LLM、検索などのアプリを利用できます。

主な機能

  1. 01アプリカタログの閲覧と検索
  2. 02beltによるクラウドAIアプリの実行
  3. 03ローカル入力ファイルの自動アップロード
  4. 04タスク状況の確認と非同期実行

活用シーン

  1. 01プロンプトから画像や動画を生成
  2. 02ホスト型LLMアプリへの入力送信
  3. 03ローカルの画像・音声・動画ファイルの処理

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/inference-sh/skills --skill agent-tools

インストール後、Claude Code で/agent-toolsを入力して読み込まれたか確認します。

同梱ファイル

SKILL.md と一緒にインストールされる参考資料やスクリプト。

references/
app-discovery.md
authentication.md
cli-reference.md
running-apps.md

詳細

belt CLI スキルをインストール: npx skills add belt-sh/cli

inference.sh

シンプルな CLI で、AI アプリをクラウド上で実行できます。GPU は不要です。

inference.sh

CLI のインストール

curl -fsSL https://cli.inference.sh | sh
belt login

エージェント/非対話型シェルの場合:printf %s "$KEY" | belt login --key-stdin を実行するか、INFERENCE_API_KEY を設定してください(すべてのコマンド実行時に読み込まれるため、ログインは不要です。古いバージョンの belt では INFSH_API_KEY が読み込まれますが、現在は非推奨です)。 TTY がない場合、belt login は URL を表示し、ブラウザーにクレームコードが表示されます。同じマシンで 5 分以内に belt login --code <code> を実行してください。

インストーラーは何をしますか? インストールスクリプトは OS とアーキテクチャを検出し、dist.inference.sh から適切なバイナリをダウンロードして SHA-256 チェックサムを検証し、PATH に配置します。これだけです。昇格した権限も、バックグラウンドプロセスも、テレメトリーもありません。cosign がインストールされている場合、インストーラーは Sigstore 署名も自動的に検証します。

手動インストール(sh にパイプしたくない場合):

# バイナリとチェックサムをダウンロード
curl -LO https://dist.inference.sh/cli/checksums.txt
curl -LO $(curl -fsSL https://dist.inference.sh/cli/manifest.json | grep -o '"url":"[^"]*"' | grep $(uname -s | tr A-Z a-z)-$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') | head -1 | cut -d'"' -f4)
# チェックサムを検証
sha256sum -c checksums.txt --ignore-missing
# 展開してインストール
tar -xzf inferencesh-cli-*.tar.gz
mv inferencesh-cli-* ~/.local/bin/inferencesh

クイック例

# Generate an image
belt app run falai/flux-dev-lora --input '{"prompt": "a cat astronaut"}'

# Generate a video
belt app run google/veo-3-1-fast --input '{"prompt": "drone over mountains"}'

# Call Claude
belt app run openrouter/claude-sonnet-45 --input '{"prompt": "Explain quantum computing"}'

# Web search
belt app run tavily/search-assistant --input '{"query": "latest AI news"}'

# Post to Twitter
belt app run x/post-create --input '{"text": "Hello from AI!"}'

# Generate 3D model
belt app run infsh/rodin-3d-generator --input '{"prompt": "a wooden chair"}'

ローカルファイルのアップロード

URL の代わりにパスを指定すると、CLI がローカルファイルを自動的にアップロードします。

# Upscale a local image
belt app run falai/topaz-image-upscaler --input '{"image": "/path/to/photo.jpg", "upscale_factor": 2}'

# Image-to-video from local file
belt app run falai/wan-2-5-i2v --input '{"image": "./my-image.png", "prompt": "make it move"}'

# Avatar with local audio and image
belt app run bytedance/omnihuman-1-5 --input '{"audio": "/path/to/speech.mp3", "image": "/path/to/face.jpg"}'

# Post tweet with local media
belt app run x/post-create --input '{"text": "Check this out!", "media": ["./screenshot.png"]}'

コマンド

タスクコマンド
アプリストアを閲覧belt app list
アプリを検索belt app search "flux"
カテゴリで絞り込むbelt app list --category image
アプリの詳細を取得belt app get google/veo-3-1-fast
サンプル入力を生成belt app sample google/veo-3-1-fast --save input.json
アプリを実行belt app run google/veo-3-1-fast --input input.json
待機せずに実行belt app run <app> --input input.json --no-wait
タスクの状態を確認belt task get <task-id>

利用可能なもの

カテゴリ例
画像FLUX、Gemini 3 Pro、Grok Imagine、Seedream 4.5、Reve、Topaz Upscaler
動画Veo 3.1、Seedance 1.5、Wan 2.5、OmniHuman、Fabric、MMAudio
LLMClaude Opus/Sonnet/Haiku、Gemini 3 Pro、Kimi K2、GLM-4、OpenRouter のすべてのモデル
検索Tavily Search、Tavily Extract、Exa Search、Exa Answer、Exa Extract
3DRodin 3D Generator
Twitter/Xpost-create、dm-send、user-follow、post-like、post-retweet
ユーティリティメディアの結合、動画への字幕付け、画像の連結、音声の抽出

関連スキル

# Image generation (FLUX, Gemini, Grok, Seedream)
npx skills add inference-sh/skills@ai-image-generation

# Video generation (Veo, Seedance, Wan, OmniHuman)
npx skills add inference-sh/skills@ai-video-generation

# LLMs (Claude, Gemini, Kimi, GLM via OpenRouter)
npx skills add inference-sh/skills@llm-models

# Web search (Tavily, Exa)
npx skills add inference-sh/skills@web-search

# AI avatars & lipsync (OmniHuman, Fabric, PixVerse)
npx skills add inference-sh/skills@ai-avatar-video

# Twitter/X automation
npx skills add inference-sh/skills@twitter-automation

# Model-specific
npx skills add inference-sh/skills@flux-image
npx skills add inference-sh/skills@google-veo

# Utilities
npx skills add inference-sh/skills@image-upscaling
npx skills add inference-sh/skills@background-removal

リファレンスファイル

ドキュメント

コメント