Skip to content

VertexAI | Sample Single Agent App#260

Open
keith-decker wants to merge 1 commit intomainfrom
vertexai-demo
Open

VertexAI | Sample Single Agent App#260
keith-decker wants to merge 1 commit intomainfrom
vertexai-demo

Conversation

@keith-decker
Copy link
Copy Markdown
Contributor

A basic single agent app using Vertex AI, uses the same style as the Langchain single agent app.

Uses upstream instrumentation until SDOT instrumentation is implemented.

vertexai-single-agent (b696881688901a676b63470080ace992)
├──span id: fbe8d884b512fe20
├──parent span id:
├──trace state:
├──Status
│  ├──message:
│  └──code: Unset
├──flags: 256
├──name: chat gemini-2.5-flash-lite
├──kind: Client
├──duration: 1.43733s
├──start time: 2026-04-10 15:47:26.711245Z
├──end time: 2026-04-10 15:47:28.148575Z
├──dropped attributes count: 0
├──Attributes
│  ├──gen_ai.input.messages: [{"role":"user","parts":[{"content":"What is the weather in San Francisco?
│  ├──gen_ai.operation.name: chat
│  ├──gen_ai.output.messages: [{"role":"model","parts":[{"arguments":{"location":"San Francisco"},"name
│  ├──gen_ai.request.model: gemini-2.5-flash-lite
│  ├──gen_ai.response.finish_reasons:
│  ├──gen_ai.response.model: gemini-2.5-flash-lite
│  ├──gen_ai.system_instructions: [{"content":"You are a helpful weather assistant. Use the get_weather
│  ├──gen_ai.usage.input_tokens: 79
│  ├──gen_ai.usage.output_tokens: 6
│  ├──server.address: us-central1-aiplatform.googleapis.com
│  └──server.port: 443
├──Events
├──Links
└──Resource
   ├──dropped attributes count: 0
   ├──schema url: https://opentelemetry.io/schemas/1.6.1
   ├──Attributes
   │  ├──host.name: 6a8f9cc13094
   │  ├──os.type: linux
   │  ├──service.name: vertexai-single-agent
   │  ├──telemetry.sdk.language: python
   │  ├──telemetry.sdk.name: opentelemetry
   │  └──telemetry.sdk.version: 1.41.0
   └──Scopes
      └──opentelemetry.instrumentation.vertexai
         ├──schema url: https://opentelemetry.io/schemas/1.36.0
         ├──version:
         ├──dropped attributes count: 0
         └──Attributes

@keith-decker keith-decker requested review from a team as code owners April 10, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant