TERMINAL + MONTHLY ARCHIVE
Grok Build フィールド手引書
18本の CLI manual と6本の API guide に、API contract、agentic tool、realtime media、Grok Build operation を扱う32号の回顧 archive を接続します。
PRIMARY TRACK / GROK BUILD
完全 CLI コース
01–18 を順に進み、terminal、repository rule、安全境界、並列処理、extension、bounded output、configuration、session、worktree、maintenance を構築します。
基礎
Grok Build をインストールして検証する
公式の grok 実行ファイルを導入し、shell が解決する binary を確認し、repository を開く前に再現可能な更新確認を整えます。
MANUAL / 02 · コア CLI認証情報を広げずにサインインする
実際の環境に合わせて対話、device-code、API key 認証を選び、確認と失効を確実に行います。
MANUAL / 03 · コア CLI規律ある最初の repository session
Repository 境界で Grok を起動し、検出内容を確認し、曖昧な依頼を証拠、受け入れ条件、検証済み変更へ変えます。
Repository コンテキスト
制御された実行
Session 運用
並列エンジニアリング
拡張システム
Skills、plugins、hooks で Grok を拡張する
再利用知識を package 化し、レビュー済み source から extension bundle を導入し、agent lifecycle events に deterministic policy を置きます。
MANUAL / 10 · コア CLI明示的な trust で MCP servers を接続する
local stdio または remote HTTP tools を追加し、secrets を committed configuration の外に保ち、使用前に effective server set を診断します。
自動化
制限付き自動化
設定制御
Agent 構成
Repository 隔離
CLI 保守
COMPANION ARCHIVE / API
Companion archive / xAI API
A01–A06 は API application builder 向けに保存し、18本の Grok Build CLI curriculum には含めません。
最初の API シグナルを確立する
キーを漏らさず、寿命の短いモデル名を固定せずに、空のプロジェクトから制御可能な最初のリクエストまで進みます。
MANUAL / A02 · 上級 API長く使えるテキスト生成ループを設計する
response を魔法の文字列ではなく、状態、streaming、保存方針、回復を持つライフサイクルとして扱います。
MANUAL / A03 · 上級 API境界のあるツールシステムをつくる
xAI 側で実行されるツールと、自分のコードへ制御を戻すツールを分け、安全ゲートの位置を決めます。
MANUAL / A04 · 上級 APIFunction-calling ループを安全に閉じる
正確な schema を定義し、policy を通して dispatch し、結果を返し、回答または予算上限まで継続します。
MANUAL / A05 · 上級 APIモデル出力を型付き境界にする
対応 JSON Schema を意図的に使い、runtime でも検証し、構文だけでなく意味の正しさを設計します。
MANUAL / A06 · 上級 API時間を固定せずにモデルを選ぶ
ライブ catalog を在庫、自分の評価を証拠、設定を交換点として使います。
月刊 SIGNAL ARCHIVE / 32号
32号の回顧型 engineering signal。
API contract と agentic tool から realtime media、Grok Build operation までを公式資料でたどる。
- SIGNALS
- 32
- RANGE
- 24—26
- LANG
- 03
SIGNAL BANK / SOURCE-CHECKED
12 ISSUES
- 2024 / 01 API
一つの xAI API 境界を作る
authentication、request ID、timeout、normalized error、model configuration を server-owned adapter に集約する。
- 2024 / 02 TEXT
text generation を typed product contract として扱う
instruction、user input、expected output、terminal state、retention を定義し、raw completion を app 全体に漏らさない。
- 2024 / 03 PROMPTS
instruction と user data を分離する
durable behavior を version 管理し、untrusted input を区切り、acceptance format を指定して prompt change を review 可能にする。
- 2024 / 04 STREAM
streaming を state machine で描画する
start、typed delta、tool activity、completion、cancellation、failure を別 state にし、文字追記だけにしない。
- 2024 / 05 REASONING
workload ごとに reasoning budget を決める
simple extraction、interactive work、deep analysis を異なる latency、quality、cost profile に route する。
- 2024 / 06 TOOLS
custom function に狭い schema を与える
model は call を要求し、認証済み application code が argument を検証・実行して typed result を返す。
- 2024 / 07 TOOLS
独立した tool call だけを並列化する
tool scheduler は dependency、ownership、idempotency、timeout、複数 result の model loop 再合流を管理する。
- 2024 / 08 DATA
schema を machine contract にする
structured output は parsing ambiguity を減らすが、value の受入可否は domain validation が決める。
- 2024 / 09 VISION
image を bounded evidence として使う
original asset を保持し allowed observation を定義し、visual extraction と重大 decision を分離する。
- 2024 / 10 MODELS
capability profile で route する
modality、tool support、latency、quality、context、budget を記述し configuration で current model に解決する。
- 2024 / 11 RELIABILITY
rate limit を admission control にする
user と workload ごとに queue、budget、shed、retry を行い provider edge で全 request を衝突させない。
- 2024 / 12 CHANGE
release と deprecation の ledger を保つ
各 volatile dependency について source date、active assumption、pinned identifier、migration owner、test、rollback を記録する。
SIGNAL BANK / SOURCE-CHECKED
12 ISSUES
- 2025 / 01 PERFORMANCE
prompt caching 用の stable prefix を設計する
durable instruction と reusable context を安定させ、volatile user data を request 後段に置く。
- 2025 / 02 ASYNC
deferred work を job として表す
request identifier、explicit status、expiry、cancellation、idempotent retrieval、visible terminal result を保持する。
- 2025 / 03 BATCH
全 batch item を reconcile する
immutable input manifest、stable custom ID、per-item status、bounded replay、明示 partial-result policy を使う。
- 2025 / 04 FILES
uploaded file に lifecycle を与える
owner、purpose、content type、processing state、retention、expiry、derived index、deletion を追跡する。
- 2025 / 05 RAG
retrieval 前に collection を govern する
document ownership、metadata、access filter、processing status、freshness、citation、deletion は retrieval product の一部。
- 2025 / 06 SEARCH
web search を最新 citation evidence として使う
source URL を保持し retrieval time と event time を分け、support する claim の近くに citation を置く。
- 2025 / 07 SEARCH
social search を volatile signal として扱う
post、user、thread、timestamp、engagement、model synthesis を分離して source context を隠さない。
- 2025 / 08 COMPUTE
code execution を disposable compute として扱う
bounded input を渡し named artifact を求め、execution environment 外で calculation を検証する。
- 2025 / 09 EVIDENCE
all citation と inline citation を分けて保持する
audit 用の complete source ledger を保持し reader が必要な箇所に claim-level link を表示する。
- 2025 / 10 IMAGINE
generated image を asset pipeline に通す
prompt intent、generation、moderation state、storage、metadata、transformation、human acceptance を分離する。
- 2025 / 11 IMAGINE
video generation を asynchronous media job として扱う
durable job metadata で queued、generating、moderated、uploaded、accepted、failed、expired、cancelled state を管理する。
- 2025 / 12 AGENTIC
一つの controller で server/client tool を混在させる
controller は自動実行 server tool と認証済み application work のため停止する client function を区別する。
SIGNAL BANK / SOURCE-CHECKED
08 ISSUES
- 2026 / 01 RESPONSES
Responses を stateful agentic work に使う
typed output item と native server tool により message、reasoning、search、code、function call を一つの request contract で観測する。
- 2026 / 02 VOICE
voice を live session として設計する
transport、ephemeral access、turn detection、interruption、tool、reconnect、playback state が体験を定義する。
- 2026 / 03 GROK BUILD
既知の repository で Grok Build を開始する
編集前に installation、authentication、working directory、repository state、task、verification を確認する。
- 2026 / 04 GROK BUILD
configuration を信頼する前に inspect する
environment、user、project、managed、requirements scope が setting を提供し得るため current directory の effective state を可視化する。
- 2026 / 05 GROK BUILD
permission と sandbox enforcement を分離する
permission は call 実行可否を決め、sandbox は承認後の filesystem/network impact を制限する。
- 2026 / 06 GROK BUILD
狭い trust contract で MCP server を接続する
server identity、transport、authentication、tool namespace、enabled tool、approval、diagnostic behavior を記録する。
- 2026 / 07 GROK BUILD
method を Skills にまとめ subagent で作業を分離する
Skill は reusable instruction/resource、plugin は extension、hook は lifecycle、subagent は independent task を所有する。
- 2026 / 08 GROK BUILD
session と isolated worktree で headless work を運用する
headless run には fixed task、bounded permission mode、machine-readable output、session identity、isolated write、cleanup ownership が必要。