ツールと自動化

Bash and Code

任意の shell command を実行できます。任意の script を実行できます。本物の terminal を持つ開発者のように使えます。

MoClaw は bash commands を実行し、Python、Node、Go、Rust など、AI Cloud Computer にインストールされているものなら何でも実行できます。単発 script、batch jobs、file conversions、deployments、または command が止まっている理由を AI に調べてもらう用途にも便利です。

仕組み

engineering なしで 3 steps で Bash and Code を接続します。

  1. 1

    普通の英語で頼みます

    「Convert all PNGs in this folder to WebP」「rename these files by their EXIF date」「check why this server is slow」のように頼みます。MoClaw が実行する command を判断します。

  2. 2

    出力 stream を見守ります

    stdout と stderr が real time で chat に流れます。長時間の commands は進捗を表示し、stop button で中断できます。

  3. 3

    自分のミスを修正できます

    command が失敗した場合、たとえば flag の誤り、missing dependency、permission denied が起きた場合でも、model が error を読んで再試行します。通常は 1 回か 2 回の retry で解決します。

こう言ってみる

Bash and Code に貼り付けられる実際の prompts です。

  • ~/screenshots 内のすべての PNG を quality 80% の WebP に変換し、元ファイルを ~/archive に移動してください。
  • prod-1 に ssh し、nginx access log を 30 秒間 tail して、source IP の top 5 を教えてください。
  • この 500MB file で pandas read_csv と pyarrow を比較する benchmark を書いて実行してください。

Step by step demo

prompt を送った後に実際に起きること。

Prompt 01 4 steps

“私の Postgres query はなぜ遅いですか?Connection string は ~/.pg-creds にあります。”

MoClaw がすること

  1. 1 ~/.pg-creds を読みます(credentials を含むため、先に確認を求めます)。
  2. 2 psql で接続し、指定された query に EXPLAIN ANALYZE を実行します。
  3. 3 4M rows に対する sequential scan を見つけます。(user_id, created_at) の index があれば改善できる箇所です。
  4. 4 CREATE INDEX statement と rollback statement を生成し、すぐ貼り付けられる状態にします。
結果

返信: 「原因が分かりました。(user_id, created_at) に index がないため、planner が sequential scan を実行しています。composite index を追加すると cost は 84,000 から 12 に下がります。必要な CREATE INDEX statement と rollback を用意しました。」あなたが適用すると、次の query は 14ms で実行されます。

FAQ

pricing、privacy、limits についての短い回答。

commands は実際にはどこで実行されますか?
あなたの account に紐づいた Linux sandbox である AI Cloud Computer 上で実行されます。local laptop 上でも shared infra 上でもなく、あなた専用の isolated VM です。
危険な commands も実行できますか?
MoClaw は破壊的な操作(rm -rf、force-push、dropping tables)や credentials に触れる操作では確認を求めます。Settings、Permissions から特定 tools に対する継続的な承認を付与できます。
自分の scripts を実行できますか?
はい。script を ~/scripts に upload し、MoClaw に実行するよう頼んでください。script arguments を理解し、script の source を読んで期待される入力を把握します。
他の servers への自分の SSH keys でも使えますか?
はい。cloud computer の ~/.ssh に private key を追加し、prompt で参照してください。keys は sandbox から外に出ません。

MoClaw を無料で試す。

毎月 1,000 credits、または 自分の key を持ち込むことで無制限に利用できます。

いつでも解約