When an agent writes a Markdown file that holds data, it can save it as .mdx and draw charts inside it. The charts follow your light or graphite dark theme and work on Desktop, ai.allternit.com (including the phone layout) and the m.allternit.com app. Every chart also carries a hidden table of its numbers for screen readers, and turns off its draw-in animation when your system asks for reduced motion.

How agents add a chart

  • Charts work only in .mdx files. A file that uses one must be saved as .mdx, not .md.
  • Components need no import. The agent writes the tag with its props.
  • Gizzi Code gives every model an mdx_graph tool. The model passes a chart type and data, and the tool checks the data shape and returns the snippet to paste into the file. It covers bars, rank, meter, table, timeline, spark, sankey, radar and combo. Other components are written by hand from the list below.
  • Every chart takes a title. Most also take palette (mono, duo or multi; mono by default) and corner, a short label on the frame.

All charts

Flow (Sankey)

Shows how amounts split and move between groups, such as where tracked hours went. Each ribbon is as wide as the amount it carries. Point at, tap, or tab to a group or ribbon to show only its flows; tap again or press Escape to show everything. On a phone the names and amounts move to a list under the chart, and tapping a row does the same. Links that would loop back are dropped, and zero or invalid values are skipped.

Radar

Compares a few series across three or more measures, such as visitors per month or a skill profile. Point at or tab to a series name in the key to bring that series forward.

Bars and a line (Combo)

Puts a count (bars, left axis) and a rate (line, right axis) over the same periods, such as sessions and conversion. Point at or tab to a period to read both numbers in the key below.

For developers

Source: allternit-ai/src/. The agent side lives in the platform repo: cmd/gizzi-code/src/runtime/session/prompt/mdx-graphs.txt (the component list in the system prompt) and cmd/gizzi-code/src/runtime/tools/builtins/mdx-graph.ts (the mdx_graph tool).