Skip to main content

COBRA - A Circuit-Level Open-Source Based RFIC AI-Assisted Optimizer

Documentation License Python PyPI Tests GitHub stars

©2026

Gianluca Simone*, David Lurz*, Martin Grund*, Fabian Schneider°, Michael Loose*, Sascha Breun*, Manuel Koch*, Robert Weigel*, Norman Franchi*

* Institute for Smart Electronics and Systems (LITES), Friedrich-Alexander-Universität (FAU), Erlangen-Nürnberg, Germany

° Chair of Integrated Electronic Systems, Otto-von-Guericke-University Magdeburg, Germany

Paper | Documentation | BibTex

COBRA is an open-source EDA tool for AI-assisted RFIC (RF integrated circuit) design. It optimizes a circuit towards your design goals: surrogate models built by ORCA predict the passives' S-parameters in milliseconds, Xyce or VACASK simulates the circuit, and Optuna proposes the next design.

COBRA GUI screenshot showing netlist loading, component mapping, design goal configuration, and optimization controls

COBRA GUI screenshot showing real-time S-parameter and loss plots during optimization

Key Features

  • Surrogates and fixed components in one circuit: ORCA's ONNX models for geometries to optimize, Touchstone files for everything else.
  • Goals from many analyses: S-parameters, inductance, Q and coupling, noise figure, harmonic balance and transient power, gain and isolation, or your own formula over them.
  • Geometry and circuit together: optimize layout dimensions and netlist values in the same run.
  • EM verification: simulate the result full-wave with Palace and retune the circuit on it.
  • GUI, command line and Python: GUI and command line share one JSON configuration.
  • Shared models: browse and download surrogates from Hugging Face in the GUI.

Installation

COBRA needs Python 3.11 to 3.13 and Xyce or VACASK. It is published on PyPI as cobra-rfic; the import package and the command are called cobra.

pip install cobra-rfic             # or: uv tool install cobra-rfic
pip install "cobra-rfic[orca]"     # with ORCA, for EM fine-tuning
cobra doctor                       # check simulators and packages

From source, with uv:

git clone https://github.com/DI-PASSIONATE/COBRA
cd COBRA
uv sync
uv run pytest

See the installation guide for the external tools and other setups.

Quickstart

Start the GUI, load a netlist (e.g. from Qucs-S), pick a model per component, add goals and parameters, and run:

cobra

Or run without the GUI:

cobra init design.cir --model X1=models/coil.onnx -o cobra_config.json
cobra parse cobra_config.json      # check it
cobra run cobra_config.json

Or from Python, as in examples/main.py. Each run writes its parameters, history and simulation results to results/<timestamp>_<netlist>/.

How It Works

Each trial:

  1. The optimizer proposes geometry and netlist values.
  2. The surrogates predict each component's S-parameters.
  3. Vector fitting turns them into subcircuits a SPICE simulator can use.
  4. Xyce or VACASK runs every analysis the goals need.
  5. Each goal's miss becomes a penalty, from which the optimizer proposes the next trial.

Documentation

Topic Page
First run Quickstart
Interfaces GUI, command line, Python
Goals, parameters, optimizers and simulators JSON configuration
Examples Examples
Problems Troubleshooting, FAQ

Cite This Work

If you use COBRA in your research, please cite our SBCCI 2026 paper:

@INPROCEEDINGS{2026_COBRA,
  author={Simone, Gianluca and Lurz, David and Grund, Martin and Schneider, Fabian and Loose, Michael and Breun, Sascha and Koch, Manuel and Weigel, Robert and Franchi, Norman},
  booktitle={2026 39th SBC/SBMicro/IEEE Symposium on Integrated Circuits and Systems Design (SBCCI)},
  title={{COBRA: An AI-Assisted Circuit-Level Optimizer for Open Source Based RFIC Design}},
  year={2026},
  month={aug},
  pages={1--5},
  organization={IEEE},
  doi={10.1109/SBCCI69725.2026.11706804},
  keywords={artificial intelligence, design automation, EDA, neural network, open-source, optimization, Palace, Qucs-S, radio frequency integrated circuit, surrogate model, Xyce}
}

Acknowledgements

This work was supported by the Bundesministerium für Forschung, Technologie und Raumfahrt (BMFTR) under the DI-PASSIONATE project. We appreciate the scientific support and HPC resources provided by the Erlangen National High Performance Computing Center (NHR@FAU) of the Friedrich-Alexander-Universität Erlangen-Nürnberg (FAU). The hardware is funded by the German Research Foundation (DFG).

We thank our colleagues in the LITES institute for their feedback and support during development. Special thanks to the open-source community for providing the tools and libraries that made this project possible, including but not limited to:

Lehrstuhl für Intelligente Technische Elektronik und Systeme @ FAU DI-PASSIONATE Project (funded by BMFTR)

Metadata

Release files for cobra-rfic 3.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cobra-rfic 3.3.0
File Size Uploaded Provenance Actions
cobra_rfic-3.3.0.tar.gz 296.4 kB Without provenance Details for cobra_rfic-3.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cobra-rfic 3.3.0
File Interpreter ABI Platform Actions
cobra_rfic-3.3.0-py3-none-any.whl Python 3 none any Details for cobra_rfic-3.3.0-py3-none-any.whl

Total release size: 549.0 kB

Release files / cobra_rfic-3.3.0.tar.gz

Download URL cobra_rfic-3.3.0.tar.gz
Size 296.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c5736e764ad75a9ec460e0815b4765212d0534c8282a9e5c04404f1bb6febe62
BLAKE2b-256 checksum
How to use checksums
58097c241754b8442c158afe711e155bd239080a24924d4f4b77b6740b16a553
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / cobra_rfic-3.3.0-py3-none-any.whl

Download URL cobra_rfic-3.3.0-py3-none-any.whl
Size 252.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
19644ae909cb0cda6bfc9a753a130c205591dfb4c53dafcdecbe904c3220745e
BLAKE2b-256 checksum
How to use checksums
7867f35b6b12b57ff78bff050f98718015a750d283e21e9d20f138ed16797f94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for cobra-rfic 3.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page