Welcome! This repo provides:
studio/: A complete development playground for building and testing agent with LangGraph Studio UI. Please run the template locally in this folder.agent.py: Core agent configuration.dataset.csv: Dataset for visualization.run.py: Testagent.pylocally.report_html.py,report_pdf.py,helpers.py: Supplimentary files.langgraph.json: Configuration file for LangGraph Studio.
submission/: The minimal submission structure you’ll package, compress in ZIP file, and submit via challenge website(only what’s required to submit to evaluation server).agent.py- your Agent implementation (Required)requirements.txt- all dependencies needed (Required)- All supplimentary files if any, e.g.,
helpers.py,report_html.py,report_pdf.py, etc.
The template generates visualization reports with both charts and narrative (right part of the image).

Please follow the instructions below to get started.
- Python 3.11+
This version is required for optimal compatibility with LangGraph. If you're on an older version, upgrading will ensure everything runs smoothly.
python --version
Either download the Mini Challenge Template or clone it to local machine.
git clone https://github.com/ppphhhleo/mini-template.git
$ cd mini-template
Create an environment and install dependencies.
$ python -m venv mini-template-env
$ source mini-template-env/bin/activate
$ cd mini-template/studio
$ pip install -r requirements.txt
-
OpenAI. Origianlly, the template uses OpenAI API to run locally. You need to provide you own api key for testing your submission locally. For this, you can sign up here.
- Set
OPENAI_API_KEYin.studio/.envfile, - Set
OPENAI_MODEL = "gpt-4o"in.studio/.envfile or any other model of your choice, - Set
LLM_PROVIDER = "openai"in.studio/.envfile
- Set
- Azure OpenAI. When you upload you submission to our evaluation server, we inject the following api keys in the environment. You do *not* need to fill in the Azure OpenAI endpoint, API key, and deployment name.
LLM_PROVIDER="azure"
AZURE_OPENAI_ENDPOINT="secret_endpoint"
AZURE_OPENAI_API_KEY="secret-api_key"
AZURE_OPENAI_DEPLOYMENT="gpt-4o"
AZURE_OPENAI_API_VERSION="2025-01-01-preview"
For the AZURE_OPENAI_DEPLOYMENT name you can use any of the following values as their corresponding model - gpt-4o, o1, o3, o4-mini, gpt-5, gpt-5-mini, gpt-5-chat and model-router.
cd studio
python run.py
python -m http.server 8001
If the template is running successfully the first time, the output can be viewed via http://localhost:8001/output.html.
If you want the template to generate Python charts, please adjust the sys_prompt, file_name, and decode_output function in the agent.py file accordingly (see the comments in the agent.py file), then run the following command, and the output will be saved in studio/output.pdf
python run.py
LangGraph Studio is a custom IDE for viewing and testing agents, and it can be run locally and opened in your browser on Mac, Windows, and Linux. See documentation about LangGraph CLI here for both Python and JS configurations.
npx @langchain/langgraph-cli dev
- Open your browser and navigate to the Studio UI:
https://smith.langchain.com/studio/?baseUrl=http://localhost:2024. - Configuration file is the
/studio/langgraph.jsonfile.
Feel free to customize the agent.py and its companion files to craft your own agentic configuration, and try to make your designs and results outperform the template baseline, by demonstrating your solution's generalizability to other datasets, efficiency in running, and effectiveness in generating effective and engaging narrative-driven visualization reports.
Please ensure you refer the dataset as dataset.csv or https://raw.githubusercontent.com/demoPlz/mini-template/main/studio/dataset.csv as the file path to access the data, e.g., specifying in the prompt; and refer to output.html or output.pdf as the output file, and include every dependency needed in requirements.txt
- Verify the codes. Please make sure the codes execute without errors before packing your submission.
python run.py
- Package the files. Please copy all related files from
studio/into thesubmission/folder (replace any files if needed).
agent.py- your Agent implementation (Required)requirements.txt- all dependencies needed (Required)- All supplimentary files if any, e.g.,
helpers.py,report_html.py,report_pdf.py, etc.
- Compress in ZIP file. ZIP the
submission/folder (do not include any extra files or foler) assubmission.zip
1. Go to https://www.visagent.org/, sign in or register:
3. View all your submissions with their status and results, then select one entry as your finalized submission for the public leaderboard:



