> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # createSimpleContext > Helper function to create a standalone Context without a ContextBuilder. [context]: /docs/server-sdks/reference/typescript/agents/context-builder/context [contextbuilder]: /docs/server-sdks/reference/typescript/agents/context-builder Helper function that creates a standalone [`Context`][context] object without requiring a [`ContextBuilder`][contextbuilder]. Useful for quick prototyping or when you need a single context outside of the builder pattern. > **Note** > > This is a module-level function, not a method on `ContextBuilder`. Import it > directly: `import { createSimpleContext } from '@signalwire/sdk';`. ## **Parameters** **`name`** `string` — default: default Context name. Defaults to `"default"`, which is the required name for single-context agents. --- ## **Returns** [`Context`][context] -- A new Context object ready for adding steps. ## **Example** ```typescript {3} import { createSimpleContext } from '@signalwire/sdk'; const ctx = createSimpleContext(); ctx.addStep('greet').setText('Welcome the caller and ask how you can help.'); ctx.addStep('farewell').setText('Thank the caller and end the conversation.'); ``` > Helper function to create a standalone Context without a ContextBuilder.