# onnx

> Open standard for machine learning interoperability

- Type: agent or tool
- Field: ML & AI
- Repository: https://github.com/onnx/onnx
- GitHub stars: 21752
- Licence: Apache-2.0
- Language: Python
- Last push: 2026-11-24
- Page: https://imutechz.in/agents/onnx

## What it is
ONNX (Open Neural Network Exchange) is an open-source format for AI models, covering both deep learning and traditional machine learning. It defines an extensible computation graph model along with built-in operators and standard data types, with a current focus on inference (scoring). It is aimed at AI developers who want to move models between different frameworks, tools and hardware, and it is supported across many frameworks and tools.

## Features
- Open format for deep learning and traditional ML models
- Extensible computation graph model with built-in operators and standard data types
- Focus on inference (scoring) capabilities
- Programming utilities for shape and type inference, graph optimization and opset version conversion
- Python package with documentation and tutorials
- Community governance with SIGs and working groups

## Best for
- Moving models between frameworks and tools
- Streamlining the path from research to production
- Running inference across different hardware
- Building tooling around model graphs

## Pros
- Open source format supported across many frameworks, tools and hardware
- Defines an extensible computation graph model with built-in operators and standard data types
- Provides utilities for shape inference, graph optimization and opset version conversion
- Community project with an open governance model

## Cons
- Currently focuses on the capabilities needed for inferencing (scoring)
- Optional reference implementation dependencies require the onnx[reference] extra

## Install
```
pip install onnx # or pip install onnx[reference] for optional reference implementation dependencies
```

Tags: onnx, machine-learning, model-format, interoperability, inference, deep-learning, computation-graph, python
