Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ADS Agent Bridge

An unofficial, local-first documentation and automation bridge for Keysight Advanced Design System (ADS).

[!IMPORTANT] This is a limited public alpha. Use disposable ADS workspaces and review the reported capability gates before relying on automation results. Keysight and ADS are trademarks of Keysight Technologies. This project is not affiliated with or endorsed by Keysight.

The intended PyPI user path is:

pipx install ads-agent-bridge
ads-agent doctor
ads-agent setup
ads-agent quickstart
ads-agent launch --workspace /path/to/MyWorkspace_wrk
ads-agent status
ads-agent shutdown

The current alpha slice implements cross-platform ADS installation discovery, capability/support reporting, per-installation local documentation indexing, DE/DDS add-on registration, and a headless minimal-AC quickstart with dataset readback. Setup also installs the portable ads-kb-docs Codex skill when its target directory is free and starts private full-text documentation enrichment in the background.

It does not currently claim a completed Momentum, RFPro, FEM, SIPro, or PIPro workflow. Those lanes require separate solver-side acceptance evidence.

Official ADS documentation is never distributed with this package. Indexes and Markdown caches are built privately from documentation already installed on the user's machine.

Set ADS_AGENT_HOME to place configuration, data, and caches under an explicit directory. This is useful for isolated tests, remote servers, and systems where the normal user cache location is not appropriate.

Install and verify

Prerequisites:

  • a locally licensed ADS installation;
  • Python 3.10 or later for the ads-agent command;
  • pipx (recommended) or an isolated virtual environment.
pipx install ads-agent-bridge
ads-agent doctor
ads-agent setup
ads-agent quickstart

When several ADS versions are found, interactive setup asks which one to use. For an unattended or version-specific setup:

ads-agent setup --ads-root /path/to/ADS2026_Update2 --non-interactive

A successful quickstart independently reports documentation, add-on, workspace, circuit simulation, and dataset readback gates. It creates a new disposable workspace and refuses to overwrite an existing path.

To leave Codex skills unchanged or postpone full-text conversion:

ads-agent setup --skip-skill --no-background-docs

Managed ADS sessions

Launch GUI ADS into an existing workspace with a process working directory that is bound to the same workspace:

ads-agent --pretty launch --workspace /path/to/MyWorkspace_wrk
ads-agent --pretty status

On Linux, bind the session to the intended X display explicitly when needed:

ads-agent --pretty launch --workspace /path/to/MyWorkspace_wrk --display :4

The launcher reserves the slot immediately after process creation, so a slow license checkout, first-run dialog, or add-on delay remains observable as starting instead of losing the process identity. Ownership becomes verified only after the packaged add-on returns the one-time launch identity. The exact workspace is then verified through ADS. Lifecycle mutations for one slot are serialized across local client processes, and an existing slot is never reused implicitly. With --reuse-existing, the bridge accepts the workspace only when no workspace is open or the same workspace is already active; it never closes or force-switches a different workspace. Reuse also requires the bridge-reported ADS installation root to match the explicitly selected instance; an absent or different root is rejected before any workspace action.

status reports starting, bridge-ready, workspace-ready, blocked-by-dialog, degraded, or orphaned with the managed log path and bounded window diagnostics where relevant. For long GUI tasks, an independent dialog-watch lane can inspect Qt labels, buttons, accessibility metadata, and standard roles. The Agent may request a targeted screenshot for vision, then act against the exact dialog fingerprint and button ID. The embedded callback re-reads and revalidates both immediately before the Qt click. See the dialog automation contract.

Session commands deliberately separate client and application lifetime:

ads-agent disconnect                 # ADS keeps running
ads-agent shutdown                   # exactly one agent-owned session
ads-agent shutdown --slot SLOT       # explicit agent-owned session
ads-agent bridge dialog-watch --slot SLOT --timeout 3600
ads-agent bridge dialog-snapshot --slot SLOT --image-out dialog.png

shutdown refuses user-owned sessions, ownership mismatches, and sessions blocked by an existing modal dialog. It schedules ADS's native modified-file prompt without holding the client request open, then reports cancelled, awaiting-user-action, closing, or exited. It never calls close_workspace, discards changes automatically, or force-terminates a process.

Five public examples

List the supported examples and their prerequisites before running one:

ads-agent --pretty examples list

The initial catalog is intentionally small:

  1. ADS installation discovery and explicit version selection;
  2. a headless minimal-AC workspace, simulation, and dataset readback;
  3. read-only live DE workspace context;
  4. bounded DDS dataset readback into a new native DDS file;
  5. a fixed read-only AEL workspace call demonstrating the hybrid boundary.

Every runner emits JSON, names its required state, and returns nonzero when its acceptance gate is not met. See the example guide for exact commands and stop rules.

Portable Docs Skill

setup installs the ads-kb-docs skill without replacing an existing skill. It can also be managed explicitly:

ads-agent skill status docs
ads-agent skill install docs
ads-agent skill uninstall docs

The fast index is immediately queryable. Full enrichment converts installed HTML into private per-version Markdown and updates the local SQLite index:

ads-agent docs ensure
ads-agent docs build --background
ads-agent docs status

Use --ads INSTANCE_ID on any docs command to bind the result to a non-default installation. No ADS version is hard-coded into the skill.

Current commands

ads-agent doctor [--ads-root PATH] [--search-root PATH] [--no-ping]
ads-agent instances scan [--ads-root PATH]
ads-agent instances list
ads-agent instances use INSTANCE_ID
ads-agent compatibility explain [--ads INSTANCE_ID]
ads-agent docs ensure [--ads INSTANCE_ID]
ads-agent docs build [--ads INSTANCE_ID] [--background]
ads-agent docs status [--ads INSTANCE_ID]
ads-agent docs query QUERY [--ads INSTANCE_ID]
ads-agent setup [--ads-root PATH] [--non-interactive] [--config-dir PATH]
ads-agent quickstart [--ads INSTANCE_ID] [--workspace PATH] [--config-dir PATH]
ads-agent launch --workspace PATH [--ads INSTANCE_ID] [--slot SLOT] [--display DISPLAY] [--reuse-existing]
ads-agent status [--slot SLOT]
ads-agent disconnect [--slot SLOT]
ads-agent shutdown [--slot SLOT]
ads-agent examples list
ads-agent examples show NAME
ads-agent examples run NAME [--ads INSTANCE_ID] [--slot SLOT]
ads-agent skill status|install|uninstall docs
ads-agent addon status
ads-agent bridge sessions

Documentation queries stay on the local machine:

ads-agent docs query "keysight.ads.de workspace" --limit 5

The bridge listens only on localhost and uses a random token per session. Arbitrary embedded Python and dynamic AEL calls are disabled unless ADS is launched with ADS_AGENT_UNSAFE=1 and the client command also includes --unsafe.

On Windows, setup reads Keysight's per-version eeenv/HOME registry values to locate the real hpeesof/config directory. Use --config-dir (or ADS_AGENT_ADS_CONFIG_DIR) when maintaining separate ADS profiles.

On Linux, ADS Python may still require an available X display even though the quickstart opens no ADS window. Set DISPLAY to the intended isolated display before running it. setup edits only the current user's ADS add-on XML files, creates timestamped backups, and preserves unrelated add-ons.

Stable support is targeted at ADS 2025 and later. ADS 2024 Update 2 is a preview target; ADS 2023 Update 2 through ADS 2024 Update 1 are experimental. Runtime capability probes, rather than version numbers alone, decide which features are actually available.

Remove the integration

ads-agent addon uninstall

The installer preserves unrelated ADS add-ons and creates timestamped XML backups before changing an existing configuration.

Development

See CONTRIBUTING.md and the evidence-backed v0.1 validation record. The ADS Session Manager introduced in 0.1.0a22 has a separate live validation record.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ads_agent_bridge-0.1.0a22.tar.gz (77.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ads_agent_bridge-0.1.0a22-py3-none-any.whl (57.1 kB view details)

Uploaded Python 3

File details

Details for the file ads_agent_bridge-0.1.0a22.tar.gz.

File metadata

  • Download URL: ads_agent_bridge-0.1.0a22.tar.gz
  • Upload date:
  • Size: 77.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ads_agent_bridge-0.1.0a22.tar.gz
Algorithm Hash digest
SHA256 ea7b291cba26c4428ec4e2d8a1c15ef49ec68de10c268143e4a1d93033419322
MD5 021c156b1d545912e3510c74ea42664b
BLAKE2b-256 226279198bd8ca5ffb78be234fe81abf6e14ebc018ab98658e2a417fafe8fa11

See more details on using hashes here.

Provenance

The following attestation bundles were made for ads_agent_bridge-0.1.0a22.tar.gz:

Publisher: publish.yml on cottman99/ads-agent-bridge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ads_agent_bridge-0.1.0a22-py3-none-any.whl.

File metadata

File hashes

Hashes for ads_agent_bridge-0.1.0a22-py3-none-any.whl
Algorithm Hash digest
SHA256 7d92de87966602eecb8fd69dec4580a2922a1510b307268c430b994afae48c44
MD5 3677e09b9175868239b420627f79a95a
BLAKE2b-256 370369d5f332734df16e29f1361b0a2073b7780d7953334152c1b4c7b0c90a01

See more details on using hashes here.

Provenance

The following attestation bundles were made for ads_agent_bridge-0.1.0a22-py3-none-any.whl:

Publisher: publish.yml on cottman99/ads-agent-bridge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page