@@ -50,8 +50,10 @@ def create(
5050 self ,
5151 * ,
5252 name : str ,
53+ base_harness : Optional [str ] | Omit = omit ,
5354 base_model : Optional [str ] | Omit = omit ,
5455 description : Optional [str ] | Omit = omit ,
56+ harness_auth_secrets : agent_create_params .HarnessAuthSecrets | Omit = omit ,
5557 inference_providers : agent_create_params .InferenceProviders | Omit = omit ,
5658 memory_stores : Iterable [agent_create_params .MemoryStore ] | Omit = omit ,
5759 prompt : Optional [str ] | Omit = omit ,
@@ -72,10 +74,15 @@ def create(
7274 Args:
7375 name: A name for the agent
7476
77+ base_harness: Optional default harness for runs executed by this agent.
78+
7579 base_model: Optional base model for runs executed by this agent.
7680
7781 description: Optional description of the agent
7882
83+ harness_auth_secrets: Authentication secrets for third-party harnesses. Only the secret for the
84+ harness specified gets injected into the environment.
85+
7986 inference_providers: Inference provider settings used for LLM calls.
8087
8188 memory_stores: Optional list of memory stores to attach to the agent. Each store must be
@@ -108,8 +115,10 @@ def create(
108115 body = maybe_transform (
109116 {
110117 "name" : name ,
118+ "base_harness" : base_harness ,
111119 "base_model" : base_model ,
112120 "description" : description ,
121+ "harness_auth_secrets" : harness_auth_secrets ,
113122 "inference_providers" : inference_providers ,
114123 "memory_stores" : memory_stores ,
115124 "prompt" : prompt ,
@@ -128,8 +137,10 @@ def update(
128137 self ,
129138 uid : str ,
130139 * ,
140+ base_harness : Optional [str ] | Omit = omit ,
131141 base_model : Optional [str ] | Omit = omit ,
132142 description : Optional [str ] | Omit = omit ,
143+ harness_auth_secrets : Optional [agent_update_params .HarnessAuthSecrets ] | Omit = omit ,
133144 inference_providers : Optional [agent_update_params .InferenceProviders ] | Omit = omit ,
134145 memory_stores : Optional [Iterable [agent_update_params .MemoryStore ]] | Omit = omit ,
135146 name : str | Omit = omit ,
@@ -146,14 +157,20 @@ def update(
146157 """Update an existing agent.
147158
148159 Args:
149- base_model : Replacement base model .
160+ base_harness : Replacement default harness .
150161
151- Omit or pass `null` to leave unchanged, or pass an empty
162+ Omit or pass `null` to leave unchanged, or pass an
163+ empty string to clear.
164+
165+ base_model: Replacement base model. Omit or pass `null` to leave unchanged, or pass an empty
152166 string to clear.
153167
154168 description: Replacement description. Omit or pass `null` to leave unchanged, or use an empty
155169 value to clear.
156170
171+ harness_auth_secrets: Authentication secrets for third-party harnesses. Only the secret for the
172+ harness specified gets injected into the environment.
173+
157174 inference_providers: Inference provider settings used for LLM calls.
158175
159176 memory_stores: Replacement list of memory stores. Omit to leave unchanged, pass an empty array
@@ -184,8 +201,10 @@ def update(
184201 path_template ("/agent/identities/{uid}" , uid = uid ),
185202 body = maybe_transform (
186203 {
204+ "base_harness" : base_harness ,
187205 "base_model" : base_model ,
188206 "description" : description ,
207+ "harness_auth_secrets" : harness_auth_secrets ,
189208 "inference_providers" : inference_providers ,
190209 "memory_stores" : memory_stores ,
191210 "name" : name ,
@@ -322,8 +341,10 @@ async def create(
322341 self ,
323342 * ,
324343 name : str ,
344+ base_harness : Optional [str ] | Omit = omit ,
325345 base_model : Optional [str ] | Omit = omit ,
326346 description : Optional [str ] | Omit = omit ,
347+ harness_auth_secrets : agent_create_params .HarnessAuthSecrets | Omit = omit ,
327348 inference_providers : agent_create_params .InferenceProviders | Omit = omit ,
328349 memory_stores : Iterable [agent_create_params .MemoryStore ] | Omit = omit ,
329350 prompt : Optional [str ] | Omit = omit ,
@@ -344,10 +365,15 @@ async def create(
344365 Args:
345366 name: A name for the agent
346367
368+ base_harness: Optional default harness for runs executed by this agent.
369+
347370 base_model: Optional base model for runs executed by this agent.
348371
349372 description: Optional description of the agent
350373
374+ harness_auth_secrets: Authentication secrets for third-party harnesses. Only the secret for the
375+ harness specified gets injected into the environment.
376+
351377 inference_providers: Inference provider settings used for LLM calls.
352378
353379 memory_stores: Optional list of memory stores to attach to the agent. Each store must be
@@ -380,8 +406,10 @@ async def create(
380406 body = await async_maybe_transform (
381407 {
382408 "name" : name ,
409+ "base_harness" : base_harness ,
383410 "base_model" : base_model ,
384411 "description" : description ,
412+ "harness_auth_secrets" : harness_auth_secrets ,
385413 "inference_providers" : inference_providers ,
386414 "memory_stores" : memory_stores ,
387415 "prompt" : prompt ,
@@ -400,8 +428,10 @@ async def update(
400428 self ,
401429 uid : str ,
402430 * ,
431+ base_harness : Optional [str ] | Omit = omit ,
403432 base_model : Optional [str ] | Omit = omit ,
404433 description : Optional [str ] | Omit = omit ,
434+ harness_auth_secrets : Optional [agent_update_params .HarnessAuthSecrets ] | Omit = omit ,
405435 inference_providers : Optional [agent_update_params .InferenceProviders ] | Omit = omit ,
406436 memory_stores : Optional [Iterable [agent_update_params .MemoryStore ]] | Omit = omit ,
407437 name : str | Omit = omit ,
@@ -418,14 +448,20 @@ async def update(
418448 """Update an existing agent.
419449
420450 Args:
421- base_model : Replacement base model .
451+ base_harness : Replacement default harness .
422452
423- Omit or pass `null` to leave unchanged, or pass an empty
453+ Omit or pass `null` to leave unchanged, or pass an
454+ empty string to clear.
455+
456+ base_model: Replacement base model. Omit or pass `null` to leave unchanged, or pass an empty
424457 string to clear.
425458
426459 description: Replacement description. Omit or pass `null` to leave unchanged, or use an empty
427460 value to clear.
428461
462+ harness_auth_secrets: Authentication secrets for third-party harnesses. Only the secret for the
463+ harness specified gets injected into the environment.
464+
429465 inference_providers: Inference provider settings used for LLM calls.
430466
431467 memory_stores: Replacement list of memory stores. Omit to leave unchanged, pass an empty array
@@ -456,8 +492,10 @@ async def update(
456492 path_template ("/agent/identities/{uid}" , uid = uid ),
457493 body = await async_maybe_transform (
458494 {
495+ "base_harness" : base_harness ,
459496 "base_model" : base_model ,
460497 "description" : description ,
498+ "harness_auth_secrets" : harness_auth_secrets ,
461499 "inference_providers" : inference_providers ,
462500 "memory_stores" : memory_stores ,
463501 "name" : name ,
0 commit comments