***

title: create_simple_context
slug: /reference/python/agents/context-builder/create-simple-context
description: Helper function to create a standalone Context without a ContextBuilder.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

[context]: /docs/server-sdks/reference/python/agents/context-builder/context

[contextbuilder]: /docs/server-sdks/reference/python/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: `from signalwire import create_simple_context`.
</Note>

## **Parameters**

<ParamField path="name" type="str" default="default" toc={true}>
  Context name. Defaults to `"default"`, which is the required name for
  single-context agents.
</ParamField>

## **Returns**

[`Context`][context] -- A new Context object ready for adding steps.

## **Example**

```python {3}
from signalwire import create_simple_context

ctx = create_simple_context()
ctx.add_step("greet").set_text("Welcome the caller and ask how you can help.")
ctx.add_step("farewell").set_text("Thank the caller and end the conversation.")
```