InfraVM is a C11 virtual machine/runtime for AIF files. It loads compiled AI infrastructure objects, resolves PointRun execution, prints/debugs runtime state, and includes simple provider connector stubs plus an OpenAI HTTPS connector.
- Git
- C compiler:
clangorgcc - Make
- libcurl development headers
xcode-select --install
brew install make curlsudo apt-get update
sudo apt-get install -y build-essential make libcurl4-openssl-dev gitUse WSL2 Ubuntu and follow the Ubuntu setup. Native MSVC support is not the primary target yet.
git clone https://github.com/TangibleResearch/InfraVM.git
cd InfraVM
make -C infravmThe binary is created at:
infravm/infravm
Provide an AIF file generated by the AIF/AInfra compiler:
./infravm/infravm path/to/object.aifRun a specific object:
./infravm/infravm path/to/object.aif run:1
./infravm/infravm path/to/object.aif agent:helperInfraVM reads OpenAI keys from the environment only:
export OPENAI_API_KEY="..."
./infravm/infravm path/to/openai-object.aifNo API keys are hardcoded or stored in the repo.
The repo includes the C optimizer library under optimizer/c. The VM Makefile builds it into the runtime.
GitHub Actions in .github/workflows/ci.yml installs native dependencies, builds the VM, and verifies the binary exists.
MIT