What is Era?
Era turns a conversation into a short context block for your AI agent. The block summarizes the user’s current goal, intent, urgency, and recommended next step. CallturnContext() before each model response, then add the returned string to
your system prompt:
What Era returns
turnContext() returns a plain string:
How one turn works
- Your user sends a message.
- Your backend calls
turnContext()with the conversation and visitor ID. - Era returns a context block.
- You add the block to the system prompt and call your model.
- Your model responds with a better read on what the user needs.
async mode, Era returns the previous turn’s prepared block.
Use sync mode when you need context for the current turn and can accept more
latency. Compare async and sync mode.
What Era is not
Era is not a replacement for conversation history or long-term memory.- Conversation history gives the model the exact messages.
- Memory stores durable facts, such as a user’s preferences.
- Era summarizes what the user is trying to do right now.
Which SDK do I need?
The secret Node SDK API key must stay on your backend. The Web and Flutter
SDKs use publishable keys.
Next steps
Node SDK quickstart
Make your first Node SDK call.
Setup SDKs
Choose the SDKs for your application.
All SDK methods
Find every public method and function.
See an example
Compare the same conversation with and without Era.