Pull Langflow Repo#
Navigate to the Langflow GitHub repo and pull the project down
Create .env file#
Navigate to the repo and create a .env file with all the Arize Phoenix variables.
You can use the .env.example as a template to create the .env file
Add the following environment variable to the .env file
Start Docker Desktop#
Start Docker Desktop, build the images, and run the container (this will take around 10 minutes the first time) Go into your terminal into the Langflow directory and run the following commands
Go to Hosted Langflow UI#
Create a Flow#
In this example, we’ll use Simple Agent for this tutorial
Add your OpenAI Key to the Agent component in Langflow
Go into the Playground and run the Agent
Go to Arize Phoenix#
Open Phoenix and navigate to your project (its name should match your Langflow Agent name).
Inspect Traces#
AgentExecutor Trace is Arize Phoenix instrumentation to capture what’s happening with the LangChain being ran during the Langflow components
The other UUID trace is the native Langflow tracing.

