# How to Orchestrate Multi-Call Conversations with an LLM and Twilio Conversation Memory in Python

DevFeed: [How to Orchestrate Multi-Call Conversations with an LLM and Twilio Conversation Memory in Python](<https://devfeed.tech/articles/how-to-orchestrate-multi-call-conversations-with-an-llm-and-twilio-conversation-memory-in-python-26247.md>)

Original publisher: [Read original article](<https://www.twilio.com/en-us/blog/developers/tutorials/product/orchestrate-multi-call-conversations-with-llm-twilio-conversation-memory-python>)

Author: Amanda Lange, Dylan Frankcom

Published: 2026-09-14T00:00:00Z

Content type: tutorial

Language: en

Sources: [Twilio Blog](<https://devfeed.tech/sources/twilio-blog.md>)

Topics: [FastAPI](<https://devfeed.tech/topics/fastapi.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [API](<https://devfeed.tech/topics/api.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [developer-insights](<https://devfeed.tech/tags/developer-insights.md>), [fastapi](<https://devfeed.tech/tags/fastapi.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [llm](<https://devfeed.tech/tags/llm.md>), [ngrok](<https://devfeed.tech/tags/ngrok.md>), [openai](<https://devfeed.tech/tags/openai.md>), [pycharm](<https://devfeed.tech/tags/pycharm.md>), [python](<https://devfeed.tech/tags/python.md>), [visual-studio-code](<https://devfeed.tech/tags/visual-studio-code.md>), [voice](<https://devfeed.tech/tags/voice.md>)

## AI overview

This tutorial shows how to build a Python FastAPI voice agent that uses Twilio Conversation Memory to preserve caller context, preferences, and action history across separate phone calls. It also covers connecting to OpenAI, exposing local webhooks with ngrok, and calling the Conversation Memory REST API asynchronously.

## Source excerpt

Learn how to build a Python FastAPI voice agent that uses Twilio Conversation Memory to remember callers across separate phone calls, so if someone hangs up and calls back, the agent picks up right where the conversation left off.