VM

vaibhavk97/motim

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

20 stars 품질 60 트렌드 14MIT

Model over Traffic - Intercept and Manage

개요

**odel **ver **raffic — **ntercept & **anage 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. 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. Every command supports --json for machine-readable output. motim ships a skill file that teaches agents how to use it. 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.

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
GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add vaibhavk97/motim
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →