1. Packages
  2. Packages
  3. Elasticstack Provider
  4. API Docs
  5. KibanaAgentbuilderAgent
Viewing docs for elasticstack 0.15.0
published on Thursday, May 14, 2026 by elastic
Viewing docs for elasticstack 0.15.0
published on Thursday, May 14, 2026 by elastic

    Manages Kibana Agent Builder agents. See the Agent Builder API documentation for more information.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as elasticstack from "@pulumi/elasticstack";
    
    // Tool referenced by the agent (minimal ES|QL example)
    const myTool = new elasticstack.KibanaAgentbuilderTool("my_tool", {
        toolId: "example-doc-tool",
        type: "esql",
        description: "Read-only tool for the agent example",
        configuration: JSON.stringify({
            query: "FROM logs-* | LIMIT 10",
        }),
    });
    // Basic agent with tools
    const myAgent = new elasticstack.KibanaAgentbuilderAgent("my_agent", {
        agentId: "my-agent",
        name: "My Agent",
        description: "An example agent built with Agent Builder.",
        avatarColor: "#BFDBFF",
        avatarSymbol: "MA",
        labels: [
            "example",
            "demo",
        ],
        instructions: "You are a helpful assistant.",
        tools: [myTool.toolId],
    });
    // Agent in a non-default space
    const mySpace = new elasticstack.KibanaSpace("my_space", {
        spaceId: "my-space",
        name: "My Space",
    });
    const spaceAgent = new elasticstack.KibanaAgentbuilderAgent("space_agent", {
        agentId: "space-agent",
        spaceId: mySpace.spaceId,
        name: "Space-Scoped Agent",
    });
    
    import pulumi
    import json
    import pulumi_elasticstack as elasticstack
    
    # Tool referenced by the agent (minimal ES|QL example)
    my_tool = elasticstack.KibanaAgentbuilderTool("my_tool",
        tool_id="example-doc-tool",
        type="esql",
        description="Read-only tool for the agent example",
        configuration=json.dumps({
            "query": "FROM logs-* | LIMIT 10",
        }))
    # Basic agent with tools
    my_agent = elasticstack.KibanaAgentbuilderAgent("my_agent",
        agent_id="my-agent",
        name="My Agent",
        description="An example agent built with Agent Builder.",
        avatar_color="#BFDBFF",
        avatar_symbol="MA",
        labels=[
            "example",
            "demo",
        ],
        instructions="You are a helpful assistant.",
        tools=[my_tool.tool_id])
    # Agent in a non-default space
    my_space = elasticstack.KibanaSpace("my_space",
        space_id="my-space",
        name="My Space")
    space_agent = elasticstack.KibanaAgentbuilderAgent("space_agent",
        agent_id="space-agent",
        space_id=my_space.space_id,
        name="Space-Scoped Agent")
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/elasticstack/elasticstack"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		tmpJSON0, err := json.Marshal(map[string]interface{}{
    			"query": "FROM logs-* | LIMIT 10",
    		})
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		// Tool referenced by the agent (minimal ES|QL example)
    		myTool, err := elasticstack.NewKibanaAgentbuilderTool(ctx, "my_tool", &elasticstack.KibanaAgentbuilderToolArgs{
    			ToolId:        pulumi.String("example-doc-tool"),
    			Type:          pulumi.String("esql"),
    			Description:   pulumi.String("Read-only tool for the agent example"),
    			Configuration: pulumi.String(json0),
    		})
    		if err != nil {
    			return err
    		}
    		// Basic agent with tools
    		_, err = elasticstack.NewKibanaAgentbuilderAgent(ctx, "my_agent", &elasticstack.KibanaAgentbuilderAgentArgs{
    			AgentId:      pulumi.String("my-agent"),
    			Name:         pulumi.String("My Agent"),
    			Description:  pulumi.String("An example agent built with Agent Builder."),
    			AvatarColor:  pulumi.String("#BFDBFF"),
    			AvatarSymbol: pulumi.String("MA"),
    			Labels: pulumi.StringArray{
    				pulumi.String("example"),
    				pulumi.String("demo"),
    			},
    			Instructions: pulumi.String("You are a helpful assistant."),
    			Tools: pulumi.StringArray{
    				myTool.ToolId,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Agent in a non-default space
    		mySpace, err := elasticstack.NewKibanaSpace(ctx, "my_space", &elasticstack.KibanaSpaceArgs{
    			SpaceId: pulumi.String("my-space"),
    			Name:    pulumi.String("My Space"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = elasticstack.NewKibanaAgentbuilderAgent(ctx, "space_agent", &elasticstack.KibanaAgentbuilderAgentArgs{
    			AgentId: pulumi.String("space-agent"),
    			SpaceId: mySpace.SpaceId,
    			Name:    pulumi.String("Space-Scoped Agent"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Elasticstack = Pulumi.Elasticstack;
    
    return await Deployment.RunAsync(() => 
    {
        // Tool referenced by the agent (minimal ES|QL example)
        var myTool = new Elasticstack.KibanaAgentbuilderTool("my_tool", new()
        {
            ToolId = "example-doc-tool",
            Type = "esql",
            Description = "Read-only tool for the agent example",
            Configuration = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["query"] = "FROM logs-* | LIMIT 10",
            }),
        });
    
        // Basic agent with tools
        var myAgent = new Elasticstack.KibanaAgentbuilderAgent("my_agent", new()
        {
            AgentId = "my-agent",
            Name = "My Agent",
            Description = "An example agent built with Agent Builder.",
            AvatarColor = "#BFDBFF",
            AvatarSymbol = "MA",
            Labels = new[]
            {
                "example",
                "demo",
            },
            Instructions = "You are a helpful assistant.",
            Tools = new[]
            {
                myTool.ToolId,
            },
        });
    
        // Agent in a non-default space
        var mySpace = new Elasticstack.KibanaSpace("my_space", new()
        {
            SpaceId = "my-space",
            Name = "My Space",
        });
    
        var spaceAgent = new Elasticstack.KibanaAgentbuilderAgent("space_agent", new()
        {
            AgentId = "space-agent",
            SpaceId = mySpace.SpaceId,
            Name = "Space-Scoped Agent",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.elasticstack.KibanaAgentbuilderTool;
    import com.pulumi.elasticstack.KibanaAgentbuilderToolArgs;
    import com.pulumi.elasticstack.KibanaAgentbuilderAgent;
    import com.pulumi.elasticstack.KibanaAgentbuilderAgentArgs;
    import com.pulumi.elasticstack.KibanaSpace;
    import com.pulumi.elasticstack.KibanaSpaceArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Tool referenced by the agent (minimal ES|QL example)
            var myTool = new KibanaAgentbuilderTool("myTool", KibanaAgentbuilderToolArgs.builder()
                .toolId("example-doc-tool")
                .type("esql")
                .description("Read-only tool for the agent example")
                .configuration(serializeJson(
                    jsonObject(
                        jsonProperty("query", "FROM logs-* | LIMIT 10")
                    )))
                .build());
    
            // Basic agent with tools
            var myAgent = new KibanaAgentbuilderAgent("myAgent", KibanaAgentbuilderAgentArgs.builder()
                .agentId("my-agent")
                .name("My Agent")
                .description("An example agent built with Agent Builder.")
                .avatarColor("#BFDBFF")
                .avatarSymbol("MA")
                .labels(            
                    "example",
                    "demo")
                .instructions("You are a helpful assistant.")
                .tools(myTool.toolId())
                .build());
    
            // Agent in a non-default space
            var mySpace = new KibanaSpace("mySpace", KibanaSpaceArgs.builder()
                .spaceId("my-space")
                .name("My Space")
                .build());
    
            var spaceAgent = new KibanaAgentbuilderAgent("spaceAgent", KibanaAgentbuilderAgentArgs.builder()
                .agentId("space-agent")
                .spaceId(mySpace.spaceId())
                .name("Space-Scoped Agent")
                .build());
    
        }
    }
    
    resources:
      # Tool referenced by the agent (minimal ES|QL example)
      myTool:
        type: elasticstack:KibanaAgentbuilderTool
        name: my_tool
        properties:
          toolId: example-doc-tool
          type: esql
          description: Read-only tool for the agent example
          configuration:
            fn::toJSON:
              query: FROM logs-* | LIMIT 10
      # Basic agent with tools
      myAgent:
        type: elasticstack:KibanaAgentbuilderAgent
        name: my_agent
        properties:
          agentId: my-agent
          name: My Agent
          description: An example agent built with Agent Builder.
          avatarColor: '#BFDBFF'
          avatarSymbol: MA
          labels:
            - example
            - demo
          instructions: You are a helpful assistant.
          tools:
            - ${myTool.toolId}
      # Agent in a non-default space
      mySpace:
        type: elasticstack:KibanaSpace
        name: my_space
        properties:
          spaceId: my-space
          name: My Space
      spaceAgent:
        type: elasticstack:KibanaAgentbuilderAgent
        name: space_agent
        properties:
          agentId: space-agent
          spaceId: ${mySpace.spaceId}
          name: Space-Scoped Agent
    
    Example coming soon!
    

    Create KibanaAgentbuilderAgent Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new KibanaAgentbuilderAgent(name: string, args: KibanaAgentbuilderAgentArgs, opts?: CustomResourceOptions);
    @overload
    def KibanaAgentbuilderAgent(resource_name: str,
                                args: KibanaAgentbuilderAgentArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def KibanaAgentbuilderAgent(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                agent_id: Optional[str] = None,
                                avatar_color: Optional[str] = None,
                                avatar_symbol: Optional[str] = None,
                                description: Optional[str] = None,
                                instructions: Optional[str] = None,
                                kibana_connections: Optional[Sequence[KibanaAgentbuilderAgentKibanaConnectionArgs]] = None,
                                labels: Optional[Sequence[str]] = None,
                                name: Optional[str] = None,
                                space_id: Optional[str] = None,
                                tools: Optional[Sequence[str]] = None)
    func NewKibanaAgentbuilderAgent(ctx *Context, name string, args KibanaAgentbuilderAgentArgs, opts ...ResourceOption) (*KibanaAgentbuilderAgent, error)
    public KibanaAgentbuilderAgent(string name, KibanaAgentbuilderAgentArgs args, CustomResourceOptions? opts = null)
    public KibanaAgentbuilderAgent(String name, KibanaAgentbuilderAgentArgs args)
    public KibanaAgentbuilderAgent(String name, KibanaAgentbuilderAgentArgs args, CustomResourceOptions options)
    
    type: elasticstack:KibanaAgentbuilderAgent
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "elasticstack_kibanaagentbuilderagent" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args KibanaAgentbuilderAgentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args KibanaAgentbuilderAgentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args KibanaAgentbuilderAgentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KibanaAgentbuilderAgentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KibanaAgentbuilderAgentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var kibanaAgentbuilderAgentResource = new Elasticstack.KibanaAgentbuilderAgent("kibanaAgentbuilderAgentResource", new()
    {
        AgentId = "string",
        AvatarColor = "string",
        AvatarSymbol = "string",
        Description = "string",
        Instructions = "string",
        KibanaConnections = new[]
        {
            new Elasticstack.Inputs.KibanaAgentbuilderAgentKibanaConnectionArgs
            {
                ApiKey = "string",
                BearerToken = "string",
                CaCerts = new[]
                {
                    "string",
                },
                Endpoints = new[]
                {
                    "string",
                },
                Insecure = false,
                Password = "string",
                Username = "string",
            },
        },
        Labels = new[]
        {
            "string",
        },
        Name = "string",
        SpaceId = "string",
        Tools = new[]
        {
            "string",
        },
    });
    
    example, err := elasticstack.NewKibanaAgentbuilderAgent(ctx, "kibanaAgentbuilderAgentResource", &elasticstack.KibanaAgentbuilderAgentArgs{
    	AgentId:      pulumi.String("string"),
    	AvatarColor:  pulumi.String("string"),
    	AvatarSymbol: pulumi.String("string"),
    	Description:  pulumi.String("string"),
    	Instructions: pulumi.String("string"),
    	KibanaConnections: elasticstack.KibanaAgentbuilderAgentKibanaConnectionArray{
    		&elasticstack.KibanaAgentbuilderAgentKibanaConnectionArgs{
    			ApiKey:      pulumi.String("string"),
    			BearerToken: pulumi.String("string"),
    			CaCerts: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Endpoints: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Insecure: pulumi.Bool(false),
    			Password: pulumi.String("string"),
    			Username: pulumi.String("string"),
    		},
    	},
    	Labels: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name:    pulumi.String("string"),
    	SpaceId: pulumi.String("string"),
    	Tools: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    resource "elasticstack_kibanaagentbuilderagent" "kibanaAgentbuilderAgentResource" {
      agent_id      = "string"
      avatar_color  = "string"
      avatar_symbol = "string"
      description   = "string"
      instructions  = "string"
      kibana_connections {
        api_key      = "string"
        bearer_token = "string"
        ca_certs     = ["string"]
        endpoints    = ["string"]
        insecure     = false
        password     = "string"
        username     = "string"
      }
      labels   = ["string"]
      name     = "string"
      space_id = "string"
      tools    = ["string"]
    }
    
    var kibanaAgentbuilderAgentResource = new KibanaAgentbuilderAgent("kibanaAgentbuilderAgentResource", KibanaAgentbuilderAgentArgs.builder()
        .agentId("string")
        .avatarColor("string")
        .avatarSymbol("string")
        .description("string")
        .instructions("string")
        .kibanaConnections(KibanaAgentbuilderAgentKibanaConnectionArgs.builder()
            .apiKey("string")
            .bearerToken("string")
            .caCerts("string")
            .endpoints("string")
            .insecure(false)
            .password("string")
            .username("string")
            .build())
        .labels("string")
        .name("string")
        .spaceId("string")
        .tools("string")
        .build());
    
    kibana_agentbuilder_agent_resource = elasticstack.KibanaAgentbuilderAgent("kibanaAgentbuilderAgentResource",
        agent_id="string",
        avatar_color="string",
        avatar_symbol="string",
        description="string",
        instructions="string",
        kibana_connections=[{
            "api_key": "string",
            "bearer_token": "string",
            "ca_certs": ["string"],
            "endpoints": ["string"],
            "insecure": False,
            "password": "string",
            "username": "string",
        }],
        labels=["string"],
        name="string",
        space_id="string",
        tools=["string"])
    
    const kibanaAgentbuilderAgentResource = new elasticstack.KibanaAgentbuilderAgent("kibanaAgentbuilderAgentResource", {
        agentId: "string",
        avatarColor: "string",
        avatarSymbol: "string",
        description: "string",
        instructions: "string",
        kibanaConnections: [{
            apiKey: "string",
            bearerToken: "string",
            caCerts: ["string"],
            endpoints: ["string"],
            insecure: false,
            password: "string",
            username: "string",
        }],
        labels: ["string"],
        name: "string",
        spaceId: "string",
        tools: ["string"],
    });
    
    type: elasticstack:KibanaAgentbuilderAgent
    properties:
        agentId: string
        avatarColor: string
        avatarSymbol: string
        description: string
        instructions: string
        kibanaConnections:
            - apiKey: string
              bearerToken: string
              caCerts:
                - string
              endpoints:
                - string
              insecure: false
              password: string
              username: string
        labels:
            - string
        name: string
        spaceId: string
        tools:
            - string
    

    KibanaAgentbuilderAgent Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The KibanaAgentbuilderAgent resource accepts the following input properties:

    AgentId string
    The agent ID.
    AvatarColor string
    Hex color code for the agent avatar (e.g., #BFDBFF).
    AvatarSymbol string
    Symbol or initials for the agent avatar (e.g., SI).
    Description string
    The agent description.
    Instructions string
    Optional system instructions that define the agent behavior.
    KibanaConnections List<KibanaAgentbuilderAgentKibanaConnection>
    Kibana connection configuration block.
    Labels List<string>
    Set of labels for the agent.
    Name string
    The agent name.
    SpaceId string
    An identifier for the space. If not provided, the default space is used.
    Tools List<string>
    Set of tool IDs that the agent can use.
    AgentId string
    The agent ID.
    AvatarColor string
    Hex color code for the agent avatar (e.g., #BFDBFF).
    AvatarSymbol string
    Symbol or initials for the agent avatar (e.g., SI).
    Description string
    The agent description.
    Instructions string
    Optional system instructions that define the agent behavior.
    KibanaConnections []KibanaAgentbuilderAgentKibanaConnectionArgs
    Kibana connection configuration block.
    Labels []string
    Set of labels for the agent.
    Name string
    The agent name.
    SpaceId string
    An identifier for the space. If not provided, the default space is used.
    Tools []string
    Set of tool IDs that the agent can use.
    agent_id string
    The agent ID.
    avatar_color string
    Hex color code for the agent avatar (e.g., #BFDBFF).
    avatar_symbol string
    Symbol or initials for the agent avatar (e.g., SI).
    description string
    The agent description.
    instructions string
    Optional system instructions that define the agent behavior.
    kibana_connections list(object)
    Kibana connection configuration block.
    labels list(string)
    Set of labels for the agent.
    name string
    The agent name.
    space_id string
    An identifier for the space. If not provided, the default space is used.
    tools list(string)
    Set of tool IDs that the agent can use.
    agentId String
    The agent ID.
    avatarColor String
    Hex color code for the agent avatar (e.g., #BFDBFF).
    avatarSymbol String
    Symbol or initials for the agent avatar (e.g., SI).
    description String
    The agent description.
    instructions String
    Optional system instructions that define the agent behavior.
    kibanaConnections List<KibanaAgentbuilderAgentKibanaConnection>
    Kibana connection configuration block.
    labels List<String>
    Set of labels for the agent.
    name String
    The agent name.
    spaceId String
    An identifier for the space. If not provided, the default space is used.
    tools List<String>
    Set of tool IDs that the agent can use.
    agentId string
    The agent ID.
    avatarColor string
    Hex color code for the agent avatar (e.g., #BFDBFF).
    avatarSymbol string
    Symbol or initials for the agent avatar (e.g., SI).
    description string
    The agent description.
    instructions string
    Optional system instructions that define the agent behavior.
    kibanaConnections KibanaAgentbuilderAgentKibanaConnection[]
    Kibana connection configuration block.
    labels string[]
    Set of labels for the agent.
    name string
    The agent name.
    spaceId string
    An identifier for the space. If not provided, the default space is used.
    tools string[]
    Set of tool IDs that the agent can use.
    agent_id str
    The agent ID.
    avatar_color str
    Hex color code for the agent avatar (e.g., #BFDBFF).
    avatar_symbol str
    Symbol or initials for the agent avatar (e.g., SI).
    description str
    The agent description.
    instructions str
    Optional system instructions that define the agent behavior.
    kibana_connections Sequence[KibanaAgentbuilderAgentKibanaConnectionArgs]
    Kibana connection configuration block.
    labels Sequence[str]
    Set of labels for the agent.
    name str
    The agent name.
    space_id str
    An identifier for the space. If not provided, the default space is used.
    tools Sequence[str]
    Set of tool IDs that the agent can use.
    agentId String
    The agent ID.
    avatarColor String
    Hex color code for the agent avatar (e.g., #BFDBFF).
    avatarSymbol String
    Symbol or initials for the agent avatar (e.g., SI).
    description String
    The agent description.
    instructions String
    Optional system instructions that define the agent behavior.
    kibanaConnections List<Property Map>
    Kibana connection configuration block.
    labels List<String>
    Set of labels for the agent.
    name String
    The agent name.
    spaceId String
    An identifier for the space. If not provided, the default space is used.
    tools List<String>
    Set of tool IDs that the agent can use.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the KibanaAgentbuilderAgent resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing KibanaAgentbuilderAgent Resource

    Get an existing KibanaAgentbuilderAgent resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: KibanaAgentbuilderAgentState, opts?: CustomResourceOptions): KibanaAgentbuilderAgent
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            agent_id: Optional[str] = None,
            avatar_color: Optional[str] = None,
            avatar_symbol: Optional[str] = None,
            description: Optional[str] = None,
            instructions: Optional[str] = None,
            kibana_connections: Optional[Sequence[KibanaAgentbuilderAgentKibanaConnectionArgs]] = None,
            labels: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            space_id: Optional[str] = None,
            tools: Optional[Sequence[str]] = None) -> KibanaAgentbuilderAgent
    func GetKibanaAgentbuilderAgent(ctx *Context, name string, id IDInput, state *KibanaAgentbuilderAgentState, opts ...ResourceOption) (*KibanaAgentbuilderAgent, error)
    public static KibanaAgentbuilderAgent Get(string name, Input<string> id, KibanaAgentbuilderAgentState? state, CustomResourceOptions? opts = null)
    public static KibanaAgentbuilderAgent get(String name, Output<String> id, KibanaAgentbuilderAgentState state, CustomResourceOptions options)
    resources:  _:    type: elasticstack:KibanaAgentbuilderAgent    get:      id: ${id}
    import {
      to = elasticstack_kibanaagentbuilderagent.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AgentId string
    The agent ID.
    AvatarColor string
    Hex color code for the agent avatar (e.g., #BFDBFF).
    AvatarSymbol string
    Symbol or initials for the agent avatar (e.g., SI).
    Description string
    The agent description.
    Instructions string
    Optional system instructions that define the agent behavior.
    KibanaConnections List<KibanaAgentbuilderAgentKibanaConnection>
    Kibana connection configuration block.
    Labels List<string>
    Set of labels for the agent.
    Name string
    The agent name.
    SpaceId string
    An identifier for the space. If not provided, the default space is used.
    Tools List<string>
    Set of tool IDs that the agent can use.
    AgentId string
    The agent ID.
    AvatarColor string
    Hex color code for the agent avatar (e.g., #BFDBFF).
    AvatarSymbol string
    Symbol or initials for the agent avatar (e.g., SI).
    Description string
    The agent description.
    Instructions string
    Optional system instructions that define the agent behavior.
    KibanaConnections []KibanaAgentbuilderAgentKibanaConnectionArgs
    Kibana connection configuration block.
    Labels []string
    Set of labels for the agent.
    Name string
    The agent name.
    SpaceId string
    An identifier for the space. If not provided, the default space is used.
    Tools []string
    Set of tool IDs that the agent can use.
    agent_id string
    The agent ID.
    avatar_color string
    Hex color code for the agent avatar (e.g., #BFDBFF).
    avatar_symbol string
    Symbol or initials for the agent avatar (e.g., SI).
    description string
    The agent description.
    instructions string
    Optional system instructions that define the agent behavior.
    kibana_connections list(object)
    Kibana connection configuration block.
    labels list(string)
    Set of labels for the agent.
    name string
    The agent name.
    space_id string
    An identifier for the space. If not provided, the default space is used.
    tools list(string)
    Set of tool IDs that the agent can use.
    agentId String
    The agent ID.
    avatarColor String
    Hex color code for the agent avatar (e.g., #BFDBFF).
    avatarSymbol String
    Symbol or initials for the agent avatar (e.g., SI).
    description String
    The agent description.
    instructions String
    Optional system instructions that define the agent behavior.
    kibanaConnections List<KibanaAgentbuilderAgentKibanaConnection>
    Kibana connection configuration block.
    labels List<String>
    Set of labels for the agent.
    name String
    The agent name.
    spaceId String
    An identifier for the space. If not provided, the default space is used.
    tools List<String>
    Set of tool IDs that the agent can use.
    agentId string
    The agent ID.
    avatarColor string
    Hex color code for the agent avatar (e.g., #BFDBFF).
    avatarSymbol string
    Symbol or initials for the agent avatar (e.g., SI).
    description string
    The agent description.
    instructions string
    Optional system instructions that define the agent behavior.
    kibanaConnections KibanaAgentbuilderAgentKibanaConnection[]
    Kibana connection configuration block.
    labels string[]
    Set of labels for the agent.
    name string
    The agent name.
    spaceId string
    An identifier for the space. If not provided, the default space is used.
    tools string[]
    Set of tool IDs that the agent can use.
    agent_id str
    The agent ID.
    avatar_color str
    Hex color code for the agent avatar (e.g., #BFDBFF).
    avatar_symbol str
    Symbol or initials for the agent avatar (e.g., SI).
    description str
    The agent description.
    instructions str
    Optional system instructions that define the agent behavior.
    kibana_connections Sequence[KibanaAgentbuilderAgentKibanaConnectionArgs]
    Kibana connection configuration block.
    labels Sequence[str]
    Set of labels for the agent.
    name str
    The agent name.
    space_id str
    An identifier for the space. If not provided, the default space is used.
    tools Sequence[str]
    Set of tool IDs that the agent can use.
    agentId String
    The agent ID.
    avatarColor String
    Hex color code for the agent avatar (e.g., #BFDBFF).
    avatarSymbol String
    Symbol or initials for the agent avatar (e.g., SI).
    description String
    The agent description.
    instructions String
    Optional system instructions that define the agent behavior.
    kibanaConnections List<Property Map>
    Kibana connection configuration block.
    labels List<String>
    Set of labels for the agent.
    name String
    The agent name.
    spaceId String
    An identifier for the space. If not provided, the default space is used.
    tools List<String>
    Set of tool IDs that the agent can use.

    Supporting Types

    KibanaAgentbuilderAgentKibanaConnection, KibanaAgentbuilderAgentKibanaConnectionArgs

    ApiKey string
    API Key to use for authentication to Kibana
    BearerToken string
    Bearer Token to use for authentication to Kibana
    CaCerts List<string>
    A list of paths to CA certificates to validate the certificate presented by the Kibana server.
    Endpoints List<string>
    Insecure bool
    Disable TLS certificate validation
    Password string
    Password to use for API authentication to Kibana.
    Username string
    Username to use for API authentication to Kibana.
    ApiKey string
    API Key to use for authentication to Kibana
    BearerToken string
    Bearer Token to use for authentication to Kibana
    CaCerts []string
    A list of paths to CA certificates to validate the certificate presented by the Kibana server.
    Endpoints []string
    Insecure bool
    Disable TLS certificate validation
    Password string
    Password to use for API authentication to Kibana.
    Username string
    Username to use for API authentication to Kibana.
    api_key string
    API Key to use for authentication to Kibana
    bearer_token string
    Bearer Token to use for authentication to Kibana
    ca_certs list(string)
    A list of paths to CA certificates to validate the certificate presented by the Kibana server.
    endpoints list(string)
    insecure bool
    Disable TLS certificate validation
    password string
    Password to use for API authentication to Kibana.
    username string
    Username to use for API authentication to Kibana.
    apiKey String
    API Key to use for authentication to Kibana
    bearerToken String
    Bearer Token to use for authentication to Kibana
    caCerts List<String>
    A list of paths to CA certificates to validate the certificate presented by the Kibana server.
    endpoints List<String>
    insecure Boolean
    Disable TLS certificate validation
    password String
    Password to use for API authentication to Kibana.
    username String
    Username to use for API authentication to Kibana.
    apiKey string
    API Key to use for authentication to Kibana
    bearerToken string
    Bearer Token to use for authentication to Kibana
    caCerts string[]
    A list of paths to CA certificates to validate the certificate presented by the Kibana server.
    endpoints string[]
    insecure boolean
    Disable TLS certificate validation
    password string
    Password to use for API authentication to Kibana.
    username string
    Username to use for API authentication to Kibana.
    api_key str
    API Key to use for authentication to Kibana
    bearer_token str
    Bearer Token to use for authentication to Kibana
    ca_certs Sequence[str]
    A list of paths to CA certificates to validate the certificate presented by the Kibana server.
    endpoints Sequence[str]
    insecure bool
    Disable TLS certificate validation
    password str
    Password to use for API authentication to Kibana.
    username str
    Username to use for API authentication to Kibana.
    apiKey String
    API Key to use for authentication to Kibana
    bearerToken String
    Bearer Token to use for authentication to Kibana
    caCerts List<String>
    A list of paths to CA certificates to validate the certificate presented by the Kibana server.
    endpoints List<String>
    insecure Boolean
    Disable TLS certificate validation
    password String
    Password to use for API authentication to Kibana.
    username String
    Username to use for API authentication to Kibana.

    Import

    Import is supported using the agent ID:

    $ pulumi import elasticstack:index/kibanaAgentbuilderAgent:KibanaAgentbuilderAgent my_agent <agent-id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    elasticstack elastic/terraform-provider-elasticstack
    License
    Notes
    This Pulumi package is based on the elasticstack Terraform Provider.
    Viewing docs for elasticstack 0.15.0
    published on Thursday, May 14, 2026 by elastic
      Try Pulumi Cloud free. Your team will thank you.