Skip to content

Commit 8c6d00a

Browse files
authored
Merge branch 'main' into jason/document-examples
2 parents 3aff9ff + ea7c818 commit 8c6d00a

File tree

179 files changed

+5715
-271
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+5715
-271
lines changed

.github/scripts/sync_agents.py

Whitespace-only changes.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build and Push Tutorial Agent
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
agent_path:
7+
description: "Path to the agent directory (e.g., examples/tutorials/10_agentic/00_base/000_hello_acp)"
8+
required: true
9+
type: string
10+
version_tag:
11+
description: "Version tag for the agent build (e.g., v1.0.0, latest)"
12+
required: true
13+
type: string
14+
default: "latest"
15+
16+
workflow_call:
17+
inputs:
18+
agent_path:
19+
description: "Path to the agent directory"
20+
required: true
21+
type: string
22+
version_tag:
23+
description: "Version tag for the agent build"
24+
required: true
25+
type: string
26+
default: "latest"

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: Test AgentEx Tutorials
2+
3+
on:
4+
workflow_dispatch:
5+
6+
workflow_call:

.github/workflows/publish-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
curl -sSf https://rye.astral.sh/get | bash
2222
echo "$HOME/.rye/shims" >> $GITHUB_PATH
2323
env:
24-
RYE_VERSION: '0.44.0'
25-
RYE_INSTALL_OPTION: '--yes'
24+
RYE_VERSION: "0.44.0"
25+
RYE_INSTALL_OPTION: "--yes"
2626

2727
- name: Publish to PyPI
2828
run: |

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ dist
1414
codegen.log
1515
Brewfile.lock.json
1616

17-
.DS_Store
17+
.DS_Store
18+
19+
examples/**/uv.lock

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.4.24"
2+
".": "0.4.26"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 34
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-24426221ca34bef99c2533d049fc93a3b28718229d79339ff4a6f613a4f44ef6.yml
3-
openapi_spec_hash: cb4a09c023345455749bfc45040951d6
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-c34c0577d9716c22554633ecb41d091675248d1385e9d1cc7c19479d55b56cb1.yml
3+
openapi_spec_hash: 3daaeab87b12b271ba2ee39e7dc166f2
44
config_hash: 6481ea6b42040f435dedcb00a98f35f8

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Changelog
22

3+
## 0.4.26 (2025-10-21)
4+
5+
Full Changelog: [v0.4.25...v0.4.26](https://github.com/scaleapi/agentex-python/compare/v0.4.25...v0.4.26)
6+
7+
### Features
8+
9+
* **api:** api update ([0c1dedd](https://github.com/scaleapi/agentex-python/commit/0c1dedd0fecb05e3684f110cc589f2abe55acb97))
10+
* **api:** api update ([719dc74](https://github.com/scaleapi/agentex-python/commit/719dc74f7844e2a3c14e46996e353d9c632b8e0a))
11+
12+
13+
### Chores
14+
15+
* bump `httpx-aiohttp` version to 0.1.9 ([21c7921](https://github.com/scaleapi/agentex-python/commit/21c79210a0d65944fec5010fcc581a2d85fb94ab))
16+
17+
## 0.4.25 (2025-10-10)
18+
19+
Full Changelog: [v0.4.24...v0.4.25](https://github.com/scaleapi/agentex-python/compare/v0.4.24...v0.4.25)
20+
321
## 0.4.24 (2025-10-10)
422

523
Full Changelog: [v0.4.23...v0.4.24](https://github.com/scaleapi/agentex-python/compare/v0.4.23...v0.4.24)

examples/tutorials/00_sync/000_hello_acp/Dockerfile

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,17 @@ RUN uv pip install --system --upgrade pip setuptools wheel
2222

2323
ENV UV_HTTP_TIMEOUT=1000
2424

25-
# Copy just the requirements file to optimize caching
26-
COPY 000_hello_acp/requirements.txt /app/requirements.txt
25+
# Copy pyproject.toml and README.md to install dependencies
26+
COPY 000_hello_acp/pyproject.toml /app/000_hello_acp/pyproject.toml
27+
COPY 000_hello_acp/README.md /app/000_hello_acp/README.md
2728

28-
WORKDIR /app/
29-
30-
# Install the required Python packages
31-
RUN uv pip install --system -r requirements.txt
29+
WORKDIR /app/000_hello_acp
3230

3331
# Copy the project code
34-
COPY 000_hello_acp/project /app/project
32+
COPY 000_hello_acp/project /app/000_hello_acp/project
33+
34+
# Install the required Python packages from pyproject.toml
35+
RUN uv pip install --system .
3536

3637
# Set environment variables
3738
ENV PYTHONPATH=/app

examples/tutorials/00_sync/000_hello_acp/manifest.yaml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
build:
1616
context:
1717
# Root directory for the build context
18-
root: ../ # Keep this as the default root
18+
root: ../ # Keep this as the default root
1919

2020
# Paths to include in the Docker build context
2121
# Must include:
@@ -34,14 +34,13 @@ build:
3434
# Helps keep build context small and builds fast
3535
dockerignore: 000_hello_acp/.dockerignore
3636

37-
3837
# Local Development Configuration
3938
# -----------------------------
4039
# Only used when running the agent locally
4140
local_development:
4241
agent:
43-
port: 8000 # Port where your local ACP server is running
44-
host_address: host.docker.internal # Host address for Docker networking (host.docker.internal for Docker, localhost for direct)
42+
port: 8000 # Port where your local ACP server is running
43+
host_address: host.docker.internal # Host address for Docker networking (host.docker.internal for Docker, localhost for direct)
4544

4645
# File paths for local development (relative to this manifest.yaml)
4746
paths:
@@ -53,7 +52,6 @@ local_development:
5352
# /absolute/path/acp.py (absolute path)
5453
acp: project/acp.py
5554

56-
5755
# Agent Configuration
5856
# -----------------
5957
agent:
@@ -83,39 +81,39 @@ agent:
8381
# secret_name: openai-api-key
8482
# secret_key: api-key
8583

86-
# Optional: Set Environment variables for running your agent locally as well
84+
# Optional: Set Environment variables for running your agent locally as well
8785
# as for deployment later on
8886
# env:
8987
# - name: OPENAI_BASE_URL
9088
# value: "https://api.openai.com/v1"
9189
# - name: ACCOUNT_ID
9290
# value: "your_account_id_here"
9391

94-
9592
# Deployment Configuration
9693
# -----------------------
9794
# Configuration for deploying your agent to Kubernetes clusters
9895
deployment:
9996
# Container image configuration
10097
image:
10198
repository: "" # Update with your container registry
102-
tag: "latest" # Default tag, should be versioned in production
99+
tag: "latest" # Default tag, should be versioned in production
103100

104101
# Global deployment settings that apply to all clusters
105102
# These can be overridden in cluster-specific files (deploy/*.yaml)
106103
global:
107104
agent:
108105
name: "s000-hello-acp"
109106
description: "An AgentEx agent that just says hello and acknowledges the user's message"
110-
107+
111108
# Default replica count
112109
replicaCount: 1
113-
110+
114111
# Default resource requirements
115112
resources:
116113
requests:
117114
cpu: "500m"
118115
memory: "1Gi"
119116
limits:
120117
cpu: "1000m"
121-
memory: "2Gi"
118+
memory: "2Gi"
119+

0 commit comments

Comments
 (0)