MatrixSwarm Master Class: Agent Anatomy

Every MatrixSwarm agent is born from a folder โ€” not a container. It starts with a class that extends BootAgent.


class YourAgent extends BootAgent 

Agents don't expose ports. They watch folders. And when a .msg file drops, they react instantly โ€” like reflexes wired to the filesystem.

๐Ÿ“‚ Directory Anatomy


/pod/telegram-relay-1/
โ”œโ”€โ”€ run
โ”œโ”€โ”€ log.txt
โ”œโ”€โ”€ payload/
โ””โ”€โ”€ status.json

/comm/telegram-relay-1/
โ”œโ”€โ”€ incoming/
โ”œโ”€โ”€ outbox/
โ””โ”€โ”€ hello.moto/

This design gives MatrixSwarm its zero-runtime edge. No processes hold state โ€” only folders do.