-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathmanifest.yaml
More file actions
119 lines (100 loc) · 3.7 KB
/
manifest.yaml
File metadata and controls
119 lines (100 loc) · 3.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# Agent Manifest Configuration
# ---------------------------
# This file defines how your agent should be built and deployed.
# Build Configuration
# ------------------
# The build config defines what gets packaged into your agent's Docker image.
# This same configuration is used whether building locally or remotely.
#
# When building:
# 1. All files from include_paths are collected into a build context
# 2. The context is filtered by dockerignore rules
# 3. The Dockerfile uses this context to build your agent's image
# 4. The image is pushed to a registry and used to run your agent
build:
context:
# Root directory for the build context
root: ../../ # Up to tutorials level to include test_utils
# Paths to include in the Docker build context
# Must include:
# - Your agent's directory (your custom agent code)
# These paths are collected and sent to the Docker daemon for building
include_paths:
- 00_sync/020_streaming
- test_utils
# Path to your agent's Dockerfile
# This defines how your agent's image is built from the context
# Relative to the root directory
dockerfile: 00_sync/020_streaming/Dockerfile
# Path to your agent's .dockerignore
# Filters unnecessary files from the build context
# Helps keep build context small and builds fast
dockerignore: 00_sync/020_streaming/.dockerignore
# Local Development Configuration
# -----------------------------
# Only used when running the agent locally
local_development:
agent:
port: 8718 # Port where your local ACP server is running
host_address: host.docker.internal # Host address for Docker networking (host.docker.internal for Docker, localhost for direct)
# File paths for local development (relative to this manifest.yaml)
paths:
# Path to ACP server file
# Examples:
# project/acp.py (standard)
# src/server.py (custom structure)
# ../shared/acp.py (shared across projects)
# /absolute/path/acp.py (absolute path)
acp: project/acp.py
# Agent Configuration
# -----------------
agent:
acp_type: sync
# Unique name for your agent
# Used for task routing and monitoring
name: s020-streaming
# Description of what your agent does
# Helps with documentation and discovery
description: An AgentEx agent that does multiturn streaming chat
# Temporal workflow configuration
# Set enabled: true to use Temporal workflows for long-running tasks
temporal:
enabled: false
# Optional: Credentials mapping
# Maps Kubernetes secrets to environment variables
# Common credentials include:
# credentials:
# - env_var_name: OPENAI_API_KEY
# secret_name: openai-api-key
# secret_key: api-key
# Optional: Set Environment variables for running your agent locally as well
# as for deployment later on
# env:
# - name: OPENAI_BASE_URL
# value: "https://api.openai.com/v1"
# - name: ACCOUNT_ID
# value: "your_account_id_here"
# Deployment Configuration
# -----------------------
# Configuration for deploying your agent to Kubernetes clusters
deployment:
# Container image configuration
image:
repository: "" # Update with your container registry
tag: "latest" # Default tag, should be versioned in production
# Global deployment settings that apply to all clusters
# These can be overridden in cluster-specific files (deploy/*.yaml)
global:
agent:
name: "s020-streaming"
description: "An AgentEx agent that does multiturn streaming chat"
# Default replica count
replicaCount: 1
# Default resource requirements
resources:
requests:
cpu: "500m"
memory: "1Gi"
limits:
cpu: "1000m"
memory: "2Gi"