| #!/bin/bash |
| # Copyright 2026 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| #### CATEGORY=Developer Tools |
| ### Manage AI coding agent configuration, permissions, and developer workflows. |
| |
| ## usage: fx agents <command> [options] |
| ## |
| ## Use "fx agents <command> --help" for detailed information on each command. |
| |
| source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/../lib/vars.sh || exit $? |
| fx-config-read |
| |
| export PYTHONPATH="${FUCHSIA_DIR}/tools${PYTHONPATH:+:$PYTHONPATH}" |
| exec "${PREBUILT_PYTHON3}" "${FUCHSIA_DIR}/tools/agents/main.py" "$@" |