Documentation / @agentick/core / Ephemeral
Function: Ephemeral() ​
Ephemeral(
props):Element
Defined in: core/src/jsx/components/messages.tsx:338
Ephemeral content primitive.
Ephemeral content is NOT persisted - it provides current state/context to the model but is not part of the conversation history. It is rebuilt fresh each tick.
The compiler recognizes this component and adds its content to ctx.ephemeral rather than the timeline.
Parameters ​
props ​
Returns ​
Element
Example ​
ts
<Ephemeral type="account_balance" position="before-user">
Current balance: ${balance}
</Ephemeral>
<Ephemeral type="tools" position="start" order={10}>
Available tools: {toolList}
</Ephemeral>