Pydantic Deep Agents is a self-hosted terminal AI assistant and Python framework for building coding, research, and other AI agents. It gives agents tools such as file access, shell commands, planning, memory, sub-agents, sandboxed execution, and MCP connections, and supports different models.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add vstorm-co/pydantic-deepagents --skill data-formatsgit clone --depth 1 https://github.com/vstorm-co/pydantic-deepagentsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/vstorm-co/pydantic-deepagents/data-formats)<a href="https://agentmods.dev/skills/vstorm-co/pydantic-deepagents/data-formats"><img src="https://agentmods.dev/badge/skills/vstorm-co/pydantic-deepagents/data-formats/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/vstorm-co/pydantic-deepagents/data-formats"><img src="https://agentmods.dev/badge/skills/vstorm-co/pydantic-deepagents/data-formats.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00018 | $0.00792 |
| Opus 5.5 | $0.00007 | $0.00317 |
| Sonnet 5.5 | $0.00004 | $0.00158 |
| Haiku 4.5 | $0.00002 | $0.00079 |
Grade A, and why
data-formats scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Data Formats
How to work with diverse and unknown data formats.
Format Detection
Always inspect before parsing:
file <filename> # MIME type detection
xxd <filename> | head -5 # hex dump (first bytes)
head -3 <filename> # text preview
python3 -c "
with open('<filename>', 'rb') as f:
h = f.read(16)
print(h, h.hex())
"
Common Formats
Binary
- Magic bytes: Most binary formats start with a signature (ELF:
\x7fELF, PNG:\x89PNG) - Endianness: Check if little-endian or big-endian (
struct.unpack('<I', ...)vs'>I') - Alignment: Fields are often aligned to 4 or 8 bytes
- Offsets: Binary headers often contain offsets to other sections
Structured text
- CSV/TSV: Check delimiter (comma, tab, pipe), quoting, header row
- JSON:
python3 -c "import json; json.load(open('f'))" - YAML: Check indentation, anchors/aliases
- TOML:
python3 -c "import tomllib; ..." - XML: Check encoding declaration, namespaces
Checkpoints / Model files
- PyTorch:
.pt,.pth→torch.load(f, map_location='cpu') - TensorFlow:
.ckpt→ index + data files, usetf.train.load_checkpoint() - NumPy:
.npy,.npz→numpy.load() - HuggingFace:
config.json+model.safetensors - ONNX:
onnx.load()
Database files
- SQLite:
filesays "SQLite 3.x database" →sqlite3 <file> ".tables" - WAL files: SQLite write-ahead log — recover with
sqlite3PRAGMA - CSV dumps: Often need schema inference
Parsing Strategies
Unknown binary format
- Hex dump first 256 bytes:
xxd file | head -16 - Look for magic bytes, version numbers, string tables
- Check file size — does it suggest a pattern? (e.g., N * record_size)
- Look for documentation of the format online
- Write a minimal parser, test on known values
Large structured files
- Never load entirely — sample first:
head,tail,shuf -n 10 - Check consistency: are all lines the same format?
- Count fields:
head -1 file | awk -F',' '{print NF}' - Watch for: mixed types, missing values, encoding issues
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 83 lines · 18 tokens per session scan A 3f3371c026d2
data-formats is a skill published in the GitHub repository vstorm-co/pydantic-deepagents (1,128 stars, last pushed today), licensed MIT. It adds 18 tokens to every session and 792 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
data-formats compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| data-formatsvstorm-co/pydantic-deepagents | Skill | 1.1k | today | MIT | A | 18 | Claude Code, Codex |
| building-pydantic-ai-agentspydantic/pydantic-ai | Skill | 21k | today | MIT | A | 92 | Claude Code, Codex |
| pydantic-ai-harnesspydantic/pydantic-ai | Skill | 21k | today | MIT | A | 208 | Claude Code, Codex |
| migrating-langchain-to-pydantic-aipydantic/pydantic-ai | Skill | 21k | today | MIT | A | 100 | Codex |
| migrating-vercel-ai-sdk-and-eve-to-pydantic-aipydantic/pydantic-ai | Skill | 21k | today | MIT | A | 107 | Codex |
| migrating-mastra-to-pydantic-aipydantic/pydantic-ai | Skill | 21k | today | MIT | A | 73 | Codex |
| migrating-openai-agents-sdk-to-pydantic-aipydantic/pydantic-ai | Skill | 21k | today | MIT | A | 87 | Codex |