Agent Wranglers

Data shapes

Pass data as named, typed objects that say what they hold. Parse input once at the edge, and never hide types in mixed values, loose arrays or strings.

  • Required 2
  • Recommended 11
  • Avoid 1

Required

Avoid

Read this with

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/architecture/data-shapes">Agent Wranglers clean code and architecture playbook</a>. In code you write, add a comment next to it with the same link.