Skip to content

[Tracker] OpenHuman agent Langfuse test — findings & fixes (Groups 1–8 + EXT, 2026-07) #4654

Description

@M3gA-Mind

Findings from driving the OpenHuman desktop assistant with Langfuse tracing on (thread-5e39f26f-51fa-4d8d-b813-d6b5a9572aba, staging, 2026-07-07). Each turn = one agent.turn:orchestrator trace on fuse.tinyhumans.ai. Group 1 (single-agent tool use) run of 4 turns.

Trace IDs (evidence):

  • store: thread-5e39f26f-51fa-4d8d-b813-d6b5a9572aba:4777e429-1819-4f08-b3b2-b972d1efdad5manage_profile_memory 29s, 2 model retries, 57s total
  • read-back (in-thread): thread-5e39f26f-51fa-4d8d-b813-d6b5a9572aba:2ce05532-4a35-4993-a22b-fc316e2bbe63 — no tool, 2.6s
  • retrieve (Priya Nair): thread-5e39f26f-51fa-4d8d-b813-d6b5a9572aba:b1546030-5ed4-4c82-833a-3f443be6f8bdretrieve_memory 81s, SUBAGENT_INCOMPLETE
  • goals: thread-5e39f26f-51fa-4d8d-b813-d6b5a9572aba:b49a0c0d-a646-4d1f-8b5a-6ac11af2cb22goal_get 0.0s, 5.5s total

Resolvable issues (sub-issues filed separately, linked below):

  1. Memory retrieval sub-agent exhausts its tool-call budget and fails [SUBAGENT_INCOMPLETE] on empty/degraded memory — no early-exit. (filed)
  2. Model name absent on Langfuse generations → cost always $0 — token counts are sent but model=null, so pricing never maps. (filed)
  3. Sub-agent internal steps aren't emitted as nested Langfuse tracesretrieve_memory/manage_profile_memory are opaque single spans; the loop that hit the limit is invisible. (filed)

Also observed (lower priority / infra / harness-side):

  • Context bloat: ~29–32K input tokens per model call for trivial asks, growing each turn (ties to TinyAgents token/context work in [Tracker] TinyAgents harness improvements — 2026-07 audit #4632).
  • Transient model-call retries (2× on the store turn) added latency — backend inference proxy / routing.
  • Trace payload explosion: 300–386 observations/turn, ~145 middleware.started+completed pairs each (one turn ≈ 688 KB) — observability noise + ingestion cost.
  • Environment note: this instance's embeddings provider is unconfigured (memory_doctor = unhealthy, 10 failed jobs) — semantic recall is off, degrading all memory ops to slow keyword scans. Partly explains the memory latency; issue Feat/gitbooks #1 is that the agent doesn't degrade gracefully.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions