Merge branch 'main' into adil/agent_format_demo

This commit is contained in:
Adil Hafeez 2025-10-21 13:20:46 -07:00
commit 94a1dbc172
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
3 changed files with 159 additions and 159 deletions

View file

@ -1,88 +1,88 @@
# name: Publish docker image to ghcr (latest) name: Publish docker image to ghcr (latest)
# env: env:
# IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/archgw IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/archgw
# on: on:
# push: push:
# branches: [main] branches: [main]
# jobs: jobs:
# build-arm64: build-arm64:
# runs-on: [linux-arm64] runs-on: [linux-arm64]
# permissions: { contents: read, packages: write } permissions: { contents: read, packages: write }
# steps: steps:
# - uses: actions/checkout@v4 - uses: actions/checkout@v4
# - uses: docker/login-action@v3 - uses: docker/login-action@v3
# with: with:
# registry: ghcr.io registry: ghcr.io
# username: ${{ github.actor }} username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
# - id: meta - id: meta
# uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
# with: with:
# images: ${{ env.IMAGE_NAME }} images: ${{ env.IMAGE_NAME }}
# tags: | tags: |
# type=raw,value=latest type=raw,value=latest
# - name: Build and Push ARM64 Image - name: Build and Push ARM64 Image
# uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
# with: with:
# context: . context: .
# file: ./arch/Dockerfile file: ./arch/Dockerfile
# platforms: linux/arm64 platforms: linux/arm64
# push: true push: true
# # produce ghcr.io/<owner>/archgw:latest-arm64 # produce ghcr.io/<owner>/archgw:latest-arm64
# tags: ${{ steps.meta.outputs.tags }}-arm64 tags: ${{ steps.meta.outputs.tags }}-arm64
# build-amd64: build-amd64:
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# permissions: { contents: read, packages: write } permissions: { contents: read, packages: write }
# steps: steps:
# - uses: actions/checkout@v4 - uses: actions/checkout@v4
# - uses: docker/login-action@v3 - uses: docker/login-action@v3
# with: with:
# registry: ghcr.io registry: ghcr.io
# username: ${{ github.actor }} username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
# - id: meta - id: meta
# uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
# with: with:
# images: ${{ env.IMAGE_NAME }} images: ${{ env.IMAGE_NAME }}
# tags: | tags: |
# type=raw,value=latest type=raw,value=latest
# - name: Build and Push AMD64 Image - name: Build and Push AMD64 Image
# uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
# with: with:
# context: . context: .
# file: ./arch/Dockerfile file: ./arch/Dockerfile
# platforms: linux/amd64 platforms: linux/amd64
# push: true push: true
# tags: ${{ steps.meta.outputs.tags }}-amd64 tags: ${{ steps.meta.outputs.tags }}-amd64
# create-manifest: create-manifest:
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# needs: [build-arm64, build-amd64] needs: [build-arm64, build-amd64]
# permissions: { contents: read, packages: write } permissions: { contents: read, packages: write }
# steps: steps:
# - uses: docker/login-action@v3 - uses: docker/login-action@v3
# with: with:
# registry: ghcr.io registry: ghcr.io
# username: ${{ github.actor }} username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
# - id: meta - id: meta
# uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
# with: with:
# images: ${{ env.IMAGE_NAME }} images: ${{ env.IMAGE_NAME }}
# tags: | tags: |
# type=raw,value=latest type=raw,value=latest
# - name: Create Multi-Arch Manifest - name: Create Multi-Arch Manifest
# run: | run: |
# docker buildx imagetools create -t ${{ steps.meta.outputs.tags }} \ docker buildx imagetools create -t ${{ steps.meta.outputs.tags }} \
# ${{ env.IMAGE_NAME }}:latest-arm64 \ ${{ env.IMAGE_NAME }}:latest-arm64 \
# ${{ env.IMAGE_NAME }}:latest-amd64 ${{ env.IMAGE_NAME }}:latest-amd64

View file

@ -1,87 +1,87 @@
# name: release - publish docker image to ghcr (latest) name: release - publish docker image to ghcr (latest)
# env: env:
# IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/archgw IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/archgw
# on: on:
# release: release:
# types: [published] types: [published]
# jobs: jobs:
# build-arm64: build-arm64:
# runs-on: [linux-arm64] runs-on: [linux-arm64]
# permissions: { contents: read, packages: write } permissions: { contents: read, packages: write }
# steps: steps:
# - uses: actions/checkout@v4 - uses: actions/checkout@v4
# - uses: docker/login-action@v3 - uses: docker/login-action@v3
# with: with:
# registry: ghcr.io registry: ghcr.io
# username: ${{ github.actor }} username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
# - id: meta - id: meta
# uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
# with: with:
# images: ${{ env.IMAGE_NAME }} images: ${{ env.IMAGE_NAME }}
# tags: | tags: |
# type=raw,value={{tag}} type=raw,value={{tag}}
# - name: Build and Push ARM64 Image - name: Build and Push ARM64 Image
# uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
# with: with:
# context: . context: .
# file: ./arch/Dockerfile file: ./arch/Dockerfile
# platforms: linux/arm64 platforms: linux/arm64
# push: true push: true
# tags: ${{ steps.meta.outputs.tags }}-arm64 tags: ${{ steps.meta.outputs.tags }}-arm64
# build-amd64: build-amd64:
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# permissions: { contents: read, packages: write } permissions: { contents: read, packages: write }
# steps: steps:
# - uses: actions/checkout@v4 - uses: actions/checkout@v4
# - uses: docker/login-action@v3 - uses: docker/login-action@v3
# with: with:
# registry: ghcr.io registry: ghcr.io
# username: ${{ github.actor }} username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
# - id: meta - id: meta
# uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
# with: with:
# images: ${{ env.IMAGE_NAME }} images: ${{ env.IMAGE_NAME }}
# tags: | tags: |
# type=raw,value={{tag}} type=raw,value={{tag}}
# - name: Build and Push AMD64 Image - name: Build and Push AMD64 Image
# uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
# with: with:
# context: . context: .
# file: ./arch/Dockerfile file: ./arch/Dockerfile
# platforms: linux/amd64 platforms: linux/amd64
# push: true push: true
# tags: ${{ steps.meta.outputs.tags }}-amd64 tags: ${{ steps.meta.outputs.tags }}-amd64
# create-manifest: create-manifest:
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# needs: [build-arm64, build-amd64] needs: [build-arm64, build-amd64]
# permissions: { contents: read, packages: write } permissions: { contents: read, packages: write }
# steps: steps:
# - uses: docker/login-action@v3 - uses: docker/login-action@v3
# with: with:
# registry: ghcr.io registry: ghcr.io
# username: ${{ github.actor }} username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
# - id: meta - id: meta
# uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
# with: with:
# images: ${{ env.IMAGE_NAME }} images: ${{ env.IMAGE_NAME }}
# tags: | tags: |
# type=raw,value={{tag}} type=raw,value={{tag}}
# - name: Create Multi-Arch Manifest - name: Create Multi-Arch Manifest
# run: | run: |
# docker buildx imagetools create -t ${{ steps.meta.outputs.tags }} \ docker buildx imagetools create -t ${{ steps.meta.outputs.tags }} \
# ${{ steps.meta.outputs.tags }}-arm64 \ ${{ steps.meta.outputs.tags }}-arm64 \
# ${{ steps.meta.outputs.tags }}-amd64 ${{ steps.meta.outputs.tags }}-amd64

View file

@ -1,5 +1,5 @@
<div align="center"> <div align="center">
<img src="docs/source/_static/img/arch-logo.png" alt="Arch Logo" width="75%" heigh=auto> <img src="docs/source/_static/img/arch-logo.png" alt="Arch Logo" width="75%" height=auto>
</div> </div>
<div align="center"> <div align="center">
@ -64,8 +64,8 @@ To get in touch with us, please join our [discord server](https://discord.gg/pGZ
## Demos ## Demos
* [Sample App: Weather Forecast Agent](demos/samples_python/weather_forecast/README.md) - A sample agentic weather forecasting app that highlights core function calling capabilities of Arch. * [Sample App: Weather Forecast Agent](demos/samples_python/weather_forecast/README.md) - A sample agentic weather forecasting app that highlights core function calling capabilities of Arch.
* [Sample App: Network Operator Agent](demos/samples_python/network_switch_operator_agent/README.md) - A simple network device switch operator agent that can retrive device statistics and reboot them. * [Sample App: Network Operator Agent](demos/samples_python/network_switch_operator_agent/README.md) - A simple network device switch operator agent that can retrieve device statistics and reboot them.
* [User Case: Connecting to SaaS APIs](demos/use_cases/spotify_bearer_auth) - Connect 3rd party SaaS APIs to your agentic chat experience. * [Use Case: Connecting to SaaS APIs](demos/use_cases/spotify_bearer_auth) - Connect 3rd party SaaS APIs to your agentic chat experience.
## Quickstart ## Quickstart
@ -254,7 +254,7 @@ prompt_targets:
type: str type: str
in_path: true in_path: true
endpoint: endpoint:
name: frankfurther_api name: frankfurter_api
path: /v1/latest?base=USD&symbols={currency_symbol} path: /v1/latest?base=USD&symbols={currency_symbol}
system_prompt: | system_prompt: |
You are a helpful assistant. Show me the currency symbol you want to convert from USD. You are a helpful assistant. Show me the currency symbol you want to convert from USD.
@ -262,11 +262,11 @@ prompt_targets:
- name: get_supported_currencies - name: get_supported_currencies
description: Get list of supported currencies for conversion description: Get list of supported currencies for conversion
endpoint: endpoint:
name: frankfurther_api name: frankfurter_api
path: /v1/currencies path: /v1/currencies
endpoints: endpoints:
frankfurther_api: frankfurter_api:
endpoint: api.frankfurter.dev:443 endpoint: api.frankfurter.dev:443
protocol: https protocol: https
``` ```