Astabyte

Design and engineering studio, Indonesia

All research

Context engineering for a design agent

Context engineering

3 December 2026

An agent designs well only when it knows the tools, the workflow and the quality bar. This is how Design by Astabyte gives it all three.

Design by Astabyte is a design editor. People and AI agents work on the same canvas, and agents connect through MCP. The model is the same for each user, so the quality comes from the context that we give it.

1. Give a workflow, not only tools

A list of tools does not tell an agent where to start. Our server instructions give one path: find or create a canvas, read the layer tree, add or change layers, run a check, then look at the result. Each step has one tool.

2. Teach the agent to save tokens

Context is a budget. The instructions tell the agent to build a full frame in one call, to change many layers in one call and to read only the part of the canvas that it needs. Long reference material stays in a docs tool. The agent reads a topic only when it uses that feature.

3. Let the agent see its own work

Text is not enough to judge a design. A check tool finds text that touches an edge, text that overflows, low contrast and overlaps. Then a view tool renders the frame as an image, so the agent can look at the result before it stops.

4. Write the taste down

Agents fall back to the same defaults: purple gradients, glow, an arrow on every button, everything centred. We list these defaults by name and ask the agent to avoid them unless the brand asks for them. We also give hard rules: text contrast of at least 4.5:1, one accent colour on about 10% of a frame or less, and no invented stats or testimonials.

5. Ask for feedback

When a tool fails or a doc is not clear, the agent sends a short report and then continues. We read each report, and the instructions improve with each release.

The model is the same for everyone. The context is the product.