Developer tools

Generate instance

Say what you want in one sentence, and a real model fills a whole dashboard of charts, tables and notes. Every part lands in its own table and comes back in order.

Recipe code: generate-instance

No Mariwave yet? Download it, and keep the recipe code to open this recipe once it is installed.

three stacked blocks of different shapes, a bar, a ring and a square

What it is

Something your agent learns to do for you.

What it needs

A Mac with Apple silicon and macOS 27 or later, with Mariwave installed. It runs in its own signed machine on your Mac.

Source

Eyzaguirre-co-LLC/mari-examples/generate-instance at 2a7999b922601fc4b7fd635bee11ce286e964b2b

Picture

sha256 6c5c79571c91d8b9264d6c23a779369b63a2b7651504b68d13f76d9992f6ae0b

What the agent reads

When you open this recipe, the agent in its machine reads these instructions first.

generate-instance in this machine

The source is at /session/work/generate-instance, the example’s own files, put there when this agent was opened on it. Read README.md, then src/generate_instance/models.py.

Widget is a tagged union, Field(discriminator="kind"), and every member is a UnifiedModel with its own table. src/generate_instance/demo.py drains generate_instance and reloads the dashboard from the database, so what it prints came back through the tables.

make test                                          # the schema and round trip, no model
make demo REQUEST="A hiring dashboard for a 40-person startup"