
vaibhavk97/motim
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
トラフィック上のモデル - インターセプトと管理
概要
**Odel **ver **raffic — **ntercept & **anage ** AIエージェントのネットワークトラフィックを調べ、検査、再生するレイヤー。 motim は HTTP(S) トラフィックを SQLite データベースにキャプチャするローカルプロキシを実行します。 エージェントは、CLI を通じて Web サービスがどのように動作するかを理解し、API ドキュメント、クレデンシャル配線なし、推測なしをクエリします。 サイトを閲覧する リクエストと応答を全て記録します。 エージェントは、そのトラフィックを検索し、API を理解し、リクエストを再再生することができます。このリクエストは、正確な auth、ヘッダ、および使用するブラウザを体化します。 すべてのコマンドは、機械読み取り可能な出力用の --json をサポートしています。 motim は、エージェントの使い方を教えるスキルファイルを出荷します。 スキルは、エージェントに決定ツリーを与えます: 検索するとき, 再再生するとき, プローブへ, auth 障害を処理する方法. エージェントは CLI を --json で使用せず、Python SDK は必要ありません.
概要(AI 翻訳)
Model Over Traffic — Intercept & Manage **
AIエージェントのネットワークトラフィックを調べ、検査、再生するレイヤー。
motim は HTTP(S) トラフィックを SQLite データベースにキャプチャするローカルプロキシを実行します。 エージェントは、CLI を通じて Web サービスがどのように動作するかを理解し、API ドキュメント、クレデンシャル配線なし、推測なしをクエリします。
サイトを閲覧する リクエストと応答を全て記録します。 エージェントは、そのトラフィックを検索し、API を理解し、リクエストを再再生することができます。このリクエストは、正確な auth、ヘッダ、および使用するブラウザを体化します。
例
APIの動作方法が分かります。
キャプチャしたリクエストをエージェントリプレイ:
緊急事態調査:
緊急プローブエンドポイント:
JavaScriptからエンドポイントを抽出するエージェント:
各コマンドは、読みやすい出力で--json]をサポートしています。
インストール
オプションのエキストラ:
はじめる
エージェントの統合
motim は、エージェントの使い方を教えるスキルファイルを出荷します。
スキルは、エージェントに決定ツリーを与えます: 検索するとき, 再再生するとき, プローブへ, auth 障害を処理する方法. エージェントは、CLI を --json で使用しています。
CLI リファレンス
Pythonライブラリ
開発
ライセンス
ログイン
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
motim
Model Over Traffic — Intercept & Manage
A search, inspect, and replay layer over network traffic for AI agents.
motim runs a local proxy that captures HTTP(S) traffic into a SQLite database. Agents query it via CLI to understand how web services work and operate on them — no API docs, no credential wiring, no guesswork.
Browser Agent
│ │
▼ ▼
┌──────────┐ ┌────────────┐ ┌──────────────┐
│ motim │───▶│ SQLite │◀───│ search │
│ proxy │ │ (traffic) │ │ inspect │
│ :8080 │ │ │ │ replay │
└──────────┘ └────────────┘ └──────────────┘
You browse a site. motim records every request and response. Now your agent can search that traffic, understand the API, and replay requests — with the exact auth, headers, and body the browser used.
Examples
Agent discovers how an API works:
motim endpoints --service example --json
motim search --host api.example.com --method POST --json
motim show 42 --json # full request + response
Agent replays a captured request:
motim replay 42 --json
motim replay 42 --patch-json '{"page_size": 50}' --json
motim replay 42 --set-header "x-custom=value" --json
Agent investigates a failure:
motim search --host api.example.com --status 403 --json
motim diff 42 43 --json
motim around 42 --window 60 --json # nearby exchanges
Agent probes an endpoint:
motim probe 42 \
--patch-json '{"admin": true}' \
--drop-header "authorization" \
--json
Agent extracts endpoints from JavaScript:
motim linkfinder --host app.example.com --regex '^/api/' --json
Every command supports --json for machine-readable output.
Install
pip install motim
Optional extras:
pip install 'motim[curl]' # browser TLS fingerprinting
pip install 'motim[linkfinder]' # JS endpoint extraction
Getting started
motim init # create dirs, trust CA cert, install agent skill
motim start # start proxy on localhost:8080
# point your browser at localhost:8080 (use FoxyProxy or set system-wide)
# browse normally — traffic flows into ~/.motim/motim.sqlite3
Agent integration
motim ships a skill file that teaches agents how to use it.
motim init # auto-installs skill for Claude Code
motim agents-md # writes AGENTS.md for Codex, opencode, etc.
The skill gives agents a decision tree: when to search, when to replay, when to probe, how to handle auth failures. Agents use the CLI with --json — no Python SDK needed.
CLI reference
# Proxy
motim start # start capture proxy
motim stop # stop proxy
motim status # check proxy status
motim doctor # health check
# Search & inspect
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add vaibhavk97/motim