# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proto/v1/agent.proto
# Protobuf Python Version: 6.31.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    6,
    31,
    1,
    '',
    'proto/v1/agent.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14proto/v1/agent.proto\x12\x0b\x64ura.api.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1bgoogle/protobuf/empty.proto\"9\n\x15SetAgentStatusRequest\x12\x10\n\x08\x61gent_id\x18\x01 \x01(\t\x12\x0e\n\x06status\x18\x02 \x01(\t\"(\n\x16SetAgentStatusResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\"\x86\x02\n\x12\x43reateAgentRequest\x12\x0c\n\x04goal\x18\x01 \x01(\t\x12\r\n\x05model\x18\x02 \x01(\t\x12?\n\x08metadata\x18\x03 \x03(\x0b\x32-.dura.api.v1.CreateAgentRequest.MetadataEntry\x12 \n\x05tools\x18\x04 \x03(\x0b\x32\x11.dura.api.v1.Tool\x12\x15\n\rsystem_prompt\x18\x05 \x01(\t\x12(\n\x06\x63onfig\x18\x06 \x01(\x0b\x32\x18.dura.api.v1.AgentConfig\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"J\n\x13\x43reateAgentResponse\x12\x10\n\x08\x61gent_id\x18\x01 \x01(\t\x12!\n\x05\x61gent\x18\x02 \x01(\x0b\x32\x12.dura.api.v1.Agent\"\xb7\x01\n\x0b\x41gentConfig\x12\x11\n\tmax_steps\x18\x01 \x01(\x05\x12/\n\x0cmax_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x13\n\x0btemperature\x18\x03 \x01(\x02\x12\x1a\n\x12max_context_tokens\x18\x04 \x01(\x05\x12\x17\n\x0f\x65nable_thinking\x18\x05 \x01(\x08\x12\x1a\n\x12\x65nable_observation\x18\x06 \x01(\x08\"\xa4\x02\n\x05\x41gent\x12\x10\n\x08\x61gent_id\x18\x01 \x01(\t\x12\x0c\n\x04goal\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\t\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x08metadata\x18\x06 \x03(\x0b\x32 .dura.api.v1.Agent.MetadataEntry\x12&\n\x05stats\x18\x07 \x01(\x0b\x32\x17.dura.api.v1.AgentStats\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"}\n\nAgentStats\x12\x13\n\x0btotal_steps\x18\x01 \x01(\x05\x12\x12\n\ntool_calls\x18\x02 \x01(\x05\x12\x31\n\x0etotal_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x13\n\x0btokens_used\x18\x04 \x01(\x05\"\xa6\x02\n\rClientMessage\x12\x10\n\x08\x61gent_id\x18\x01 \x01(\t\x12\x34\n\x10\x63lient_timestamp\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\nuser_input\x18\x02 \x01(\x0b\x32\x16.dura.api.v1.UserInputH\x00\x12#\n\x05pause\x18\x03 \x01(\x0b\x32\x12.dura.api.v1.PauseH\x00\x12%\n\x06resume\x18\x04 \x01(\x0b\x32\x13.dura.api.v1.ResumeH\x00\x12!\n\x04\x65\x64it\x18\x05 \x01(\x0b\x32\x11.dura.api.v1.EditH\x00\x12%\n\x06\x63\x61ncel\x18\x06 \x01(\x0b\x32\x13.dura.api.v1.CancelH\x00\x42\t\n\x07payload\"J\n\tUserInput\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12,\n\x0b\x61ttachments\x18\x02 \x03(\x0b\x32\x17.dura.api.v1.Attachment\";\n\nAttachment\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tmime_type\x18\x02 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"\x17\n\x05Pause\x12\x0e\n\x06reason\x18\x01 \x01(\t\"\x08\n\x06Resume\"\x08\n\x06\x43\x61ncel\"\x07\n\x05Retry\"C\n\x04\x45\x64it\x12&\n\x05patch\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"\x80\x04\n\rServerMessage\x12\x10\n\x08\x61gent_id\x18\x01 \x01(\t\x12\x13\n\x0bsequence_id\x18\x02 \x01(\x03\x12-\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\x07thought\x18\n \x01(\x0b\x32\x14.dura.api.v1.ThoughtH\x00\x12/\n\x0bobservation\x18\x0b \x01(\x0b\x32\x18.dura.api.v1.ObservationH\x00\x12*\n\ttool_call\x18\x0c \x01(\x0b\x32\x15.dura.api.v1.ToolCallH\x00\x12.\n\x0btool_result\x18\r \x01(\x0b\x32\x17.dura.api.v1.ToolResultH\x00\x12\'\n\x04text\x18\x0e \x01(\x0b\x32\x17.dura.api.v1.TextOutputH\x00\x12\x30\n\x0c\x66inal_answer\x18\x0f \x01(\x0b\x32\x18.dura.api.v1.FinalAnswerH\x00\x12#\n\x05\x65rror\x18\x10 \x01(\x0b\x32\x12.dura.api.v1.ErrorH\x00\x12+\n\x06status\x18\x11 \x01(\x0b\x32\x19.dura.api.v1.StatusUpdateH\x00\x12+\n\theartbeat\x18\x12 \x01(\x0b\x32\x16.dura.api.v1.HeartbeatH\x00\x42\t\n\x07payload\"\x1a\n\x07Thought\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\"\x1e\n\x0bObservation\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\"B\n\x08ToolCall\x12\x11\n\ttool_name\x18\x01 \x01(\t\x12\x12\n\ninput_json\x18\x02 \x01(\t\x12\x0f\n\x07\x63\x61ll_id\x18\x03 \x01(\t\"V\n\nToolResult\x12\x0f\n\x07\x63\x61ll_id\x18\x01 \x01(\t\x12\x0e\n\x06output\x18\x02 \x01(\t\x12\x10\n\x08is_error\x18\x03 \x01(\x08\x12\x15\n\rerror_message\x18\x04 \x01(\t\"\x1d\n\nTextOutput\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\"K\n\x0b\x46inalAnswer\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12+\n\nstructured\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"&\n\x05\x45rror\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12\x0f\n\x07message\x18\x02 \x01(\t\"/\n\x0cStatusUpdate\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x0f\n\x07message\x18\x02 \x01(\t\"\x0b\n\tHeartbeat\"#\n\x0fGetAgentRequest\x12\x10\n\x08\x61gent_id\x18\x01 \x01(\t\"Q\n\x11ListAgentsRequest\x12\x15\n\rstatus_filter\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"Q\n\x12ListAgentsResponse\x12\"\n\x06\x61gents\x18\x01 \x03(\x0b\x32\x12.dura.api.v1.Agent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"5\n\x12\x44\x65leteAgentRequest\x12\x10\n\x08\x61gent_id\x18\x01 \x01(\t\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\xca\x01\n\x13\x43ontrolAgentRequest\x12\x10\n\x08\x61gent_id\x18\x01 \x01(\t\x12#\n\x05pause\x18\x02 \x01(\x0b\x32\x12.dura.api.v1.PauseH\x00\x12%\n\x06resume\x18\x03 \x01(\x0b\x32\x13.dura.api.v1.ResumeH\x00\x12%\n\x06\x63\x61ncel\x18\x04 \x01(\x0b\x32\x13.dura.api.v1.CancelH\x00\x12#\n\x05retry\x18\x05 \x01(\x0b\x32\x12.dura.api.v1.RetryH\x00\x42\t\n\x07\x63ommand\"&\n\x14\x43ontrolAgentResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\"Q\n\rReplayRequest\x12\x10\n\x08\x61gent_id\x18\x01 \x01(\t\x12\x15\n\rfrom_sequence\x18\x02 \x01(\x03\x12\x17\n\x0finclude_history\x18\x03 \x01(\x08\"|\n\x04Tool\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x32\n\x11parameters_schema\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x1d\n\x15requires_confirmation\x18\x04 \x01(\x08\x32\xed\x04\n\x0c\x41gentService\x12P\n\x0b\x43reateAgent\x12\x1f.dura.api.v1.CreateAgentRequest\x1a .dura.api.v1.CreateAgentResponse\x12<\n\x08GetAgent\x12\x1c.dura.api.v1.GetAgentRequest\x1a\x12.dura.api.v1.Agent\x12M\n\nListAgents\x12\x1e.dura.api.v1.ListAgentsRequest\x1a\x1f.dura.api.v1.ListAgentsResponse\x12\x46\n\x0b\x44\x65leteAgent\x12\x1f.dura.api.v1.DeleteAgentRequest\x1a\x16.google.protobuf.Empty\x12S\n\x0c\x43ontrolAgent\x12 .dura.api.v1.ControlAgentRequest\x1a!.dura.api.v1.ControlAgentResponse\x12\x42\n\x04\x43hat\x12\x1a.dura.api.v1.ClientMessage\x1a\x1a.dura.api.v1.ServerMessage(\x01\x30\x01\x12\x42\n\x06Replay\x12\x1a.dura.api.v1.ReplayRequest\x1a\x1a.dura.api.v1.ServerMessage0\x01\x12Y\n\x0eSetAgentStatus\x12\".dura.api.v1.SetAgentStatusRequest\x1a#.dura.api.v1.SetAgentStatusResponseB\x0eZ\x0c\x64\x61\x63/proto/v1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'engram.v1.agent_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'Z\014engram/proto/v1'
  _globals['_CREATEAGENTREQUEST_METADATAENTRY']._loaded_options = None
  _globals['_CREATEAGENTREQUEST_METADATAENTRY']._serialized_options = b'8\001'
  _globals['_AGENT_METADATAENTRY']._loaded_options = None
  _globals['_AGENT_METADATAENTRY']._serialized_options = b'8\001'
  _globals['_SETAGENTSTATUSREQUEST']._serialized_start=161
  _globals['_SETAGENTSTATUSREQUEST']._serialized_end=218
  _globals['_SETAGENTSTATUSRESPONSE']._serialized_start=220
  _globals['_SETAGENTSTATUSRESPONSE']._serialized_end=260
  _globals['_CREATEAGENTREQUEST']._serialized_start=263
  _globals['_CREATEAGENTREQUEST']._serialized_end=525
  _globals['_CREATEAGENTREQUEST_METADATAENTRY']._serialized_start=478
  _globals['_CREATEAGENTREQUEST_METADATAENTRY']._serialized_end=525
  _globals['_CREATEAGENTRESPONSE']._serialized_start=527
  _globals['_CREATEAGENTRESPONSE']._serialized_end=601
  _globals['_AGENTCONFIG']._serialized_start=604
  _globals['_AGENTCONFIG']._serialized_end=787
  _globals['_AGENT']._serialized_start=790
  _globals['_AGENT']._serialized_end=1082
  _globals['_AGENT_METADATAENTRY']._serialized_start=478
  _globals['_AGENT_METADATAENTRY']._serialized_end=525
  _globals['_AGENTSTATS']._serialized_start=1084
  _globals['_AGENTSTATS']._serialized_end=1209
  _globals['_CLIENTMESSAGE']._serialized_start=1212
  _globals['_CLIENTMESSAGE']._serialized_end=1506
  _globals['_USERINPUT']._serialized_start=1508
  _globals['_USERINPUT']._serialized_end=1582
  _globals['_ATTACHMENT']._serialized_start=1584
  _globals['_ATTACHMENT']._serialized_end=1643
  _globals['_PAUSE']._serialized_start=1645
  _globals['_PAUSE']._serialized_end=1668
  _globals['_RESUME']._serialized_start=1670
  _globals['_RESUME']._serialized_end=1678
  _globals['_CANCEL']._serialized_start=1680
  _globals['_CANCEL']._serialized_end=1688
  _globals['_RETRY']._serialized_start=1690
  _globals['_RETRY']._serialized_end=1697
  _globals['_EDIT']._serialized_start=1699
  _globals['_EDIT']._serialized_end=1766
  _globals['_SERVERMESSAGE']._serialized_start=1769
  _globals['_SERVERMESSAGE']._serialized_end=2281
  _globals['_THOUGHT']._serialized_start=2283
  _globals['_THOUGHT']._serialized_end=2309
  _globals['_OBSERVATION']._serialized_start=2311
  _globals['_OBSERVATION']._serialized_end=2341
  _globals['_TOOLCALL']._serialized_start=2343
  _globals['_TOOLCALL']._serialized_end=2409
  _globals['_TOOLRESULT']._serialized_start=2411
  _globals['_TOOLRESULT']._serialized_end=2497
  _globals['_TEXTOUTPUT']._serialized_start=2499
  _globals['_TEXTOUTPUT']._serialized_end=2528
  _globals['_FINALANSWER']._serialized_start=2530
  _globals['_FINALANSWER']._serialized_end=2605
  _globals['_ERROR']._serialized_start=2607
  _globals['_ERROR']._serialized_end=2645
  _globals['_STATUSUPDATE']._serialized_start=2647
  _globals['_STATUSUPDATE']._serialized_end=2694
  _globals['_HEARTBEAT']._serialized_start=2696
  _globals['_HEARTBEAT']._serialized_end=2707
  _globals['_GETAGENTREQUEST']._serialized_start=2709
  _globals['_GETAGENTREQUEST']._serialized_end=2744
  _globals['_LISTAGENTSREQUEST']._serialized_start=2746
  _globals['_LISTAGENTSREQUEST']._serialized_end=2827
  _globals['_LISTAGENTSRESPONSE']._serialized_start=2829
  _globals['_LISTAGENTSRESPONSE']._serialized_end=2910
  _globals['_DELETEAGENTREQUEST']._serialized_start=2912
  _globals['_DELETEAGENTREQUEST']._serialized_end=2965
  _globals['_CONTROLAGENTREQUEST']._serialized_start=2968
  _globals['_CONTROLAGENTREQUEST']._serialized_end=3170
  _globals['_CONTROLAGENTRESPONSE']._serialized_start=3172
  _globals['_CONTROLAGENTRESPONSE']._serialized_end=3210
  _globals['_REPLAYREQUEST']._serialized_start=3212
  _globals['_REPLAYREQUEST']._serialized_end=3293
  _globals['_TOOL']._serialized_start=3295
  _globals['_TOOL']._serialized_end=3419
  _globals['_AGENTSERVICE']._serialized_start=3422
  _globals['_AGENTSERVICE']._serialized_end=4043
# @@protoc_insertion_point(module_scope)
