Java record representing a developer message in AG-UI, with id, content, and optional name.
// Source: https://github.com/ag-ui-protocol/ag-ui | License: MIT | Copyright 2025
// Provided via justclaw.it.com; keep this notice with the code.
package com.agui.community.core.message;
import java.util.Objects;
/**
* A message from the developer, typically carrying instructions for the agent.
*
* @param id the unique identifier of this message (required)
* @param content the textual content of this message (required)
* @param name an optional name for the participant, or {@code null}
* @see <a href="https://docs.ag-ui.com/concepts/messages">AG-UI Messages</a>
*/
public record DeveloperMessage(String id, String content, String name) implements Message {
public DeveloperMessage {
Objects.requireNonNull(id, "id must not be null");
Objects.requireNonNu
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key