ContainerAgent
This represents a container based agent hosted by the provider/publisher. The intent is to represent a container application that the user wants to run in a hosted environment that the provider manages.
Class Diagram
Section titled “Class Diagram”---
title: ContainerAgent
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class AgentDefinition {
+string kind
+string name
+string displayName
+string description
+dictionary metadata
+PropertySchema inputSchema
+PropertySchema outputSchema
}
AgentDefinition <|-- ContainerAgent
class ContainerAgent {
+string kind
+ProtocolVersionRecord[] protocols
+EnvironmentVariable[] environmentVariables
}
class ProtocolVersionRecord {
+string protocol
+string version
}
ContainerAgent *-- ProtocolVersionRecord
class EnvironmentVariable {
+string name
+string value
}
ContainerAgent *-- EnvironmentVariable
Yaml Example
Section titled “Yaml Example”kind: hostedprotocols: - protocol: responses version: v0.1.1environmentVariables: - name: MY_ENV_VAR value: my-valueProperties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| kind | string | Type of agent, e.g., ‘hosted’ |
| protocols | ProtocolVersionRecord[] | Protocol used by the containerized agent |
| environmentVariables | EnvironmentVariable[] | Environment variables to set in the container |
Composed Types
Section titled “Composed Types”The following types are composed within ContainerAgent: