Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .bee/workflows/hello/workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
workflows_dir: ./.bee/workflows/hello
workspace: ./.work/hello

agents:
- id: assistant
model: sonnet
conversation_manager: sliding_window
tools: []
system_prompt: "You are a helpful assistant."
user_prompt: "Say hello to the user!"

workflows:
- id: hello
type: graph
entry_points: [assistant]
nodes:
- id: assistant
kind: agent
ref: assistant
28 changes: 28 additions & 0 deletions logs/app_20260305-104813.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
2026-03-05 10:48:13 [INFO] root: πŸ“ Logging to file: logs/app_20260305-104813.log
2026-03-05 10:48:13 [INFO] bee_cli.telemetry: Telemetry configured: bee-cli -> logs/otel_traces_20260305-104813.jsonl
2026-03-05 10:48:13 [INFO] bee_cli.main: Using bundled config as base with local workflows from .bee
2026-03-05 10:48:13 [INFO] bee.workflow.config_loader: Loading workflow configuration from .bee
2026-03-05 10:48:13 [INFO] bee.workflow.config_loader: Loading base config from /opt/bee/lib/python3.11/site-packages/bee_cli/.bee/bee.yaml
2026-03-05 10:48:13 [INFO] bee.workflow.config_loader: Loading specific workflow: hello
2026-03-05 10:48:13 [INFO] bee.workflow.config_loader: Loaded workflow from workflows/hello/workflow.yaml: 1 workflows, 1 agents
2026-03-05 10:48:13 [INFO] bee.workflow.config_loader: Successfully loaded configuration: 1 workflows, 1 agents, 2 models
2026-03-05 10:48:13 [INFO] bee_cli.main: Loaded 1 workflow(s), 2 models
2026-03-05 10:48:13 [INFO] bee_cli.main: Executing workflow: hello
2026-03-05 10:48:13 [INFO] bee_cli.main: Using user_prompt: say hi...
2026-03-05 10:48:13 [INFO] bee.workflow.builder: Enabled extended thinking for Anthropic model: @bedrock-sandbox/eu.anthropic.claude-sonnet-4-5-20250929-v1:0 (budget: 4096 tokens)
2026-03-05 10:48:13 [INFO] bee.workflow.builder: Configured Anthropic model 'sonnet' with custom endpoint: https://modelops-gateway.cellsdev-1.skyscannerplatform.net
2026-03-05 10:48:13 [INFO] bee.workflow.runner: πŸš€ Starting streaming workflow 'hello' with 1 node(s)
2026-03-05 10:48:13 [INFO] bee.workflow.runner: Entry points: assistant
2026-03-05 10:48:13 [INFO] bee.workflow.runner: πŸ“Š Streaming graph events with user_prompt: say hi...
2026-03-05 10:48:13 [INFO] strands.telemetry.metrics: Creating Strands MetricsClient
2026-03-05 10:48:13 [INFO] bee.workflow.runner: πŸ”„ Node started: assistant
2026-03-05 10:48:15 [INFO] httpx: HTTP Request: POST https://modelops-gateway.cellsdev-1.skyscannerplatform.net/v1/messages "HTTP/1.1 200 OK"
2026-03-05 10:48:15 [INFO] bee.workflow.runner: πŸ” Processing multiagent_node_stop for node 'assistant'
2026-03-05 10:48:15 [INFO] bee.workflow.runner: πŸ” Result type: AgentResult
2026-03-05 10:48:15 [INFO] bee.workflow.runner: πŸ” Content preview: Hi! How can I help you today?
...
2026-03-05 10:48:15 [INFO] bee.workflow.runner: βœ… Processed structured output from node 'assistant'
2026-03-05 10:48:15 [INFO] bee.workflow.runner: πŸ“‹ State after processing: repo_type=None
2026-03-05 10:48:15 [INFO] bee.workflow.runner: βœ… Node completed: assistant
2026-03-05 10:48:15 [INFO] bee.workflow.runner: βœ… Streaming workflow completed successfully
2026-03-05 10:48:15 [INFO] bee_cli.main: Workflow completed: hello
196 changes: 196 additions & 0 deletions logs/otel_traces_20260305-104813.jsonl
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
{
"name": "chat",
"context": {
"trace_id": "0x2bcb572b06424d9a3b3e00edf7418d92",
"span_id": "0xf88f5da0b7649c53",
"trace_state": "[]"
},
"kind": "SpanKind.INTERNAL",
"parent_id": "0x3bda641199acaf53",
"start_time": "2026-03-05T10:48:13.302606Z",
"end_time": "2026-03-05T10:48:15.675619Z",
"status": {
"status_code": "UNSET"
},
"attributes": {
"gen_ai.event.start_time": "2026-03-05T10:48:13.302606+00:00",
"gen_ai.operation.name": "chat",
"gen_ai.system": "strands-agents",
"gen_ai.request.model": "@bedrock-sandbox/eu.anthropic.claude-sonnet-4-5-20250929-v1:0",
"gen_ai.event.end_time": "2026-03-05T10:48:15.675487+00:00",
"gen_ai.usage.prompt_tokens": 45,
"gen_ai.usage.input_tokens": 45,
"gen_ai.usage.completion_tokens": 47,
"gen_ai.usage.output_tokens": 47,
"gen_ai.usage.total_tokens": 92,
"gen_ai.server.time_to_first_token": 1909
},
"events": [
{
"name": "gen_ai.user.message",
"timestamp": "2026-03-05T10:48:13.302616Z",
"attributes": {
"content": "[{\"text\": \"say hi\"}]"
}
},
{
"name": "gen_ai.choice",
"timestamp": "2026-03-05T10:48:15.675592Z",
"attributes": {
"finish_reason": "end_turn",
"message": "[{\"reasoningContent\": {\"reasoningText\": {\"text\": \"The user is asking me to say hi. This is a simple, friendly greeting. I should respond in a warm and friendly manner.\", \"signature\": \"EqACCkgICxABGAIqQKDuMbG0HU7evqroHnJaIRJ27HMmqHh3B78DDEgPlDtcdvnC2Xs9WVQkP/YKyMJwokxkbPfAufLROICq5x6jt5gSDFkI/ZlbB7iLiP8QTRoMdIcKhoGxIuTUDWPSIjBbqtGbLfz9MAr4NJVxVBwqON/q9n+9oYaXZpn1zXlRJgQetd3KusAHRdnZ44E6MS8qhQEnjK6sN1SnZN8Oip/03JkFkud8UwRotGxblW41uHoxQ8IcTGuomDQHHyLffYv4e+3wFe1mBnaLJeuGXKXopyG7FzijKWHQVppQ0TZK73OQ57hMrmbS1MeeJoR7Q+JE21IadVbseanzsAgsPZJnNxPAvi+xNaHVZbch0kz+8IpyuB6s4Z5uGAE=\"}}}, {\"text\": \"Hi! How can I help you today?\"}]"
}
}
],
"links": [],
"resource": {
"attributes": {
"telemetry.sdk.language": "python",
"telemetry.sdk.name": "opentelemetry",
"telemetry.sdk.version": "1.40.0",
"service.name": "bee-cli",
"deployment.environment": "production"
},
"schema_url": ""
}
}
{
"name": "execute_event_loop_cycle",
"context": {
"trace_id": "0x2bcb572b06424d9a3b3e00edf7418d92",
"span_id": "0x3bda641199acaf53",
"trace_state": "[]"
},
"kind": "SpanKind.INTERNAL",
"parent_id": "0x5b8edfc525e54a94",
"start_time": "2026-03-05T10:48:13.302572Z",
"end_time": "2026-03-05T10:48:15.676009Z",
"status": {
"status_code": "UNSET"
},
"attributes": {
"gen_ai.event.start_time": "2026-03-05T10:48:13.302572+00:00",
"event_loop.cycle_id": "ec3abd34-19a1-4490-b4a7-12ad0537f253",
"gen_ai.event.end_time": "2026-03-05T10:48:15.675966+00:00"
},
"events": [
{
"name": "gen_ai.user.message",
"timestamp": "2026-03-05T10:48:13.302583Z",
"attributes": {
"content": "[{\"text\": \"say hi\"}]"
}
}
],
"links": [],
"resource": {
"attributes": {
"telemetry.sdk.language": "python",
"telemetry.sdk.name": "opentelemetry",
"telemetry.sdk.version": "1.40.0",
"service.name": "bee-cli",
"deployment.environment": "production"
},
"schema_url": ""
}
}
{
"name": "invoke_agent assistant",
"context": {
"trace_id": "0x2bcb572b06424d9a3b3e00edf7418d92",
"span_id": "0x5b8edfc525e54a94",
"trace_state": "[]"
},
"kind": "SpanKind.INTERNAL",
"parent_id": "0x9da3979861d1dd71",
"start_time": "2026-03-05T10:48:13.302437Z",
"end_time": "2026-03-05T10:48:15.676231Z",
"status": {
"status_code": "OK"
},
"attributes": {
"gen_ai.event.start_time": "2026-03-05T10:48:13.302438+00:00",
"gen_ai.operation.name": "invoke_agent",
"gen_ai.system": "strands-agents",
"gen_ai.agent.name": "assistant",
"gen_ai.request.model": "@bedrock-sandbox/eu.anthropic.claude-sonnet-4-5-20250929-v1:0",
"system_prompt": "You are a helpful assistant.",
"gen_ai.event.end_time": "2026-03-05T10:48:15.676214+00:00",
"gen_ai.usage.prompt_tokens": 45,
"gen_ai.usage.completion_tokens": 47,
"gen_ai.usage.input_tokens": 45,
"gen_ai.usage.output_tokens": 47,
"gen_ai.usage.total_tokens": 92,
"gen_ai.usage.cache_read_input_tokens": 0,
"gen_ai.usage.cache_write_input_tokens": 0
},
"events": [
{
"name": "gen_ai.user.message",
"timestamp": "2026-03-05T10:48:13.302463Z",
"attributes": {
"content": "[{\"text\": \"say hi\"}]"
}
},
{
"name": "gen_ai.choice",
"timestamp": "2026-03-05T10:48:15.676199Z",
"attributes": {
"message": "Hi! How can I help you today?\n",
"finish_reason": "end_turn"
}
}
],
"links": [],
"resource": {
"attributes": {
"telemetry.sdk.language": "python",
"telemetry.sdk.name": "opentelemetry",
"telemetry.sdk.version": "1.40.0",
"service.name": "bee-cli",
"deployment.environment": "production"
},
"schema_url": ""
}
}
{
"name": "invoke_graph",
"context": {
"trace_id": "0x2bcb572b06424d9a3b3e00edf7418d92",
"span_id": "0x9da3979861d1dd71",
"trace_state": "[]"
},
"kind": "SpanKind.CLIENT",
"parent_id": null,
"start_time": "2026-03-05T10:48:13.302281Z",
"end_time": "2026-03-05T10:48:15.677480Z",
"status": {
"status_code": "UNSET"
},
"attributes": {
"gen_ai.event.start_time": "2026-03-05T10:48:13.302285+00:00",
"gen_ai.operation.name": "invoke_graph",
"gen_ai.system": "strands-agents",
"gen_ai.agent.name": "graph"
},
"events": [
{
"name": "gen_ai.user.message",
"timestamp": "2026-03-05T10:48:13.302305Z",
"attributes": {
"content": "say hi"
}
}
],
"links": [],
"resource": {
"attributes": {
"telemetry.sdk.language": "python",
"telemetry.sdk.name": "opentelemetry",
"telemetry.sdk.version": "1.40.0",
"service.name": "bee-cli",
"deployment.environment": "production"
},
"schema_url": ""
}
}