# PCAP-LM: Helping AI assistants read network traffic

DevFeed: [PCAP-LM: Helping AI assistants read network traffic](<https://devfeed.tech/articles/pcap-lm-helping-ai-assistants-read-network-traffic-121502.md>)

Original publisher: [Read original article](<https://blog.apnic.net/2026/11/06/pcap-lm-helping-ai-assistants-read-network-traffic/>)

Author: Xavier Marjou

Published: 2026-11-06T00:04:21Z

Content type: article

Language: en

Sources: [APNIC Blog](<https://devfeed.tech/sources/apnic-blog.md>)

Topics: [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [network-intelligence](<https://devfeed.tech/topics/network-intelligence.md>), [Internet Traffic](<https://devfeed.tech/topics/internet-traffic.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Network Operations](<https://devfeed.tech/topics/network-operations.md>)

Tags: [4g](<https://devfeed.tech/tags/4g.md>), [5g](<https://devfeed.tech/tags/5g.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-workflows](<https://devfeed.tech/tags/agentic-workflows.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-assistants](<https://devfeed.tech/tags/ai-assistants.md>), [ai-model](<https://devfeed.tech/tags/ai-model.md>), [ai-services](<https://devfeed.tech/tags/ai-services.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [analyst](<https://devfeed.tech/tags/analyst.md>), [applications](<https://devfeed.tech/tags/applications.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [guest-post](<https://devfeed.tech/tags/guest-post.md>), [measurement](<https://devfeed.tech/tags/measurement.md>), [network](<https://devfeed.tech/tags/network.md>), [network-operations](<https://devfeed.tech/tags/network-operations.md>), [network-traffic](<https://devfeed.tech/tags/network-traffic.md>), [operations](<https://devfeed.tech/tags/operations.md>), [packet](<https://devfeed.tech/tags/packet.md>), [pcap](<https://devfeed.tech/tags/pcap.md>), [scale](<https://devfeed.tech/tags/scale.md>), [tech-matters](<https://devfeed.tech/tags/tech-matters.md>), [traffic](<https://devfeed.tech/tags/traffic.md>)

## AI overview

PCAP-LM makes packet captures small enough for an AI model to read in full by translating each conversation into compact PacketGlyphs that preserve direction, type, size, and timing while dropping payloads and other detail. It folds repeated patterns and combines frequent symbols. In tests on 30 captures from a 5G/4G measurement campaign, the rewritten files averaged about 800 times smaller than detailed Wireshark command-line text, and a model answered ten forensic questions with 99.3% accuracy. Conventional text truncated to the same length yielded 51%, partly because it exposed only the first few dozen packets. The tests covered large encrypted downloads from one server; retransmissions were missed in about a quarter of affected captures. PCAP-LM omits payload contents, sequence numbers, and exact timings, and encrypted content remains opaque. A side-index can point analysts or AI tools to original frames for follow-up. The excerpt proposes local address and hostname substitution before sharing and suggests testing other protocols, which may require new symbols or vocabulary training.

## Source excerpt

Guest Post: Packet captures are the ground truth of network operations, but analysing them is slow, requires specialist expertise, and does not scale. PCAP-LM rewrites captures into a form that AI assistants can read, helping address that mismatch.