RAJIV MAYANI · KARAN VAHI · MATS RYNGE · EWA DEELMAN
What is Kiso?
Kiso helps researchers run and reproduce experiments across edge, cloud, and testbed environments, like Chameleon , FABRIC, etc. You (as a USER) define your experiments declaratively and let Kiso handle the infrastructure complexity. Kiso is designed for
For your experiments, Kiso will
1
Provision Resources On
2
Install & Configure Software
3
Run Experiments
NSF Award #2403051 — OAC Core: Edge to Cloud Workflows
Running Experiments Shouldn't Be the Hard Part
Without Kiso
With Kiso
Kiso handles the infrastructure — you focus on the science.
NSF Award #2403051 — OAC Core: Edge to Cloud Workflows
What Kiso Can Do on Chameleon
1
Provision Resources
2
Install & Configure Software
3
Run Experiments
Chameleon provides 7 sites with large-scale compute 5,000 cores , storage 5 PB, etc. across the U.S., enabling Kiso to orchestrate complex experiments at scale.
NSF Award #2403051 — OAC Core: Edge to Cloud Workflows
Supported Resources Sites
Experiment Definition (YAML)
Setup Resources
Provision Resources
Run Experiments
Preserve Results
Deprovision Resources
1
2
3
4
5
The Big Picture
NSF Award #2403051 — OAC Core: Edge to Cloud Workflows
Pydantic Agent Example
What It Does
How It Works
Run On
NSF Award #2403051 — OAC Core: Edge to Cloud Workflows
Pydantic Agent Example — YAML Config
sites:
- kind: chameleon
rc_file: secrets/tacc-app-cred-oac-edge-openrc.sh
walltime: "02:00:00"
lease_name: tacc-lease
key_name: mayani-mac-mini
image: CC-Ubuntu22.04
resources:
machines:
- labels:[ollama, agent]
flavour: compute_skylake
networks:
- sharednet1
experiments:
- kind: shell
name: shell-experiment
scripts:
- labels: [agent]
script: |
sudo apt update
sudo apt -y install python3 python3-pip python3-setuptools
pip3 install --break-system-packages --user pydantic-ai
- labels: [agent]
script: |
bin/agent.py > agent-output.txt
outputs:
- labels: [agent]
src: agent-output.txt
dst: ./
⚙️ Infrastructure
🧪 Experiment
📦 Software
software:
ollama:
- labels: [ollama]
models: [gpt-oss:20b]
Provision 1 bare-metal node with
compute_skylake flavour
Install Ollama and Download gpt-oss:20b model
Install Dependencies Run the Agent 🤖
Setting up the Pydantic Example
Step 1
Clone the Repository
Pull the Kiso agentic experiment source code from the Git repository to your local machine.
https://github.com/pegasus-isi/kiso-chameleon-agent
Step 2
Setup Chameleon Credentials
Step 3
Install Kiso
Install the Kiso package with the Chameleon extra to get all required dependencies.
pip install kiso[chameleon]
NSF Award #2403051 — OAC Core: Edge to Cloud Workflows
Try Kiso on Chameleon
Step 1: Validate – kiso check experiment.yml
Step 2: Setup – kiso up experiment.yml
Step 3: Run – kiso run experiment.yml
Step 4: Destroy – kiso down experiment.yml
Resources
Website: kiso.scitech.group
Docs: kiso.readthedocs.org
Starter Repo: github.com/pegasus-isi/kiso-chameleon-agent
GitHub: github.com/pegasus-isi/kiso
NSF Award #2403051 — OAC Core: Edge to Cloud Workflows
$ cat agent-output.txt
city='London' country='United Kingdom'
RunUsage(input_tokens=138, output_tokens=198, requests=1)
kiso-chameleon-agent — cat agent-output.txt
Chameleon: Needs and Challenges
What worked on Chameleon
Challenges Encountered
What would be great to have
NSF Award #2403051 — OAC Core: Edge to Cloud Workflows
Workflow Experiment – Kiso Pegasus Integration
NSF Award #2403051 — OAC Core: Edge to Cloud Workflows
Step 1 – Experiment Setup
CHI@Edge
Kiso
Chameleon Cloud
VM-1
Label: Central Manager
VM-2
Label: Submit
Edge Node 1
Label: Edge
Edge Node 2
Label: Edge
Step 2 – Run Experiment
CHI@Edge
Kiso
Chameleon Cloud
VM-1
Label: Central Manager
VM-2
Label: Submit
1. Copy inputs to Submit node
2. Run Pegasus workflow from Submit node
3. Copy results back to Kiso node
1
3
2
3
3
Edge Node 1
Label: Edge
Edge Node 2
Label: Edge
Running Workflows – DAG > Job Queue > Execution
CHI@Edge
Kiso
Chameleon Cloud
VM-1
Label: Central Manager
Edge Node 1
Label: Edge
Edge Node 2
Label: Edge
VM-2
Label: Submit
A
B
C
D
Pegasus Workflow
Job
Queue
Kiso + Chameleon: Getting Started
Prerequisites
Quick Start Steps
What Happens Next
NSF Award #2403051 — OAC Core: Edge to Cloud Workflows
Resources & Links
W
Kiso Website
kiso.scitech.group
Documentation
kiso.readthedocs.org
GitHub Repository
github.com/pegasus-isi/kiso
GitHub Chameleon Starter
github.com/pegasus-isi/kiso-chameleon-starter
Get Help
kiso.readthedocs.io/contact
Thank You
Rajiv Mayani · Karan Vahi · Mats Rynge · Ewa Deelman