Skip to content

OpenTea DX-OS v1.16.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 10:38
· 386 commits to main since this release

The agentic layer starts to plan and learn. Every morning an agent turns the open proposals into one daily campaign that a manager approves with one button. Every Monday another agent looks at how the agents did and proposes improvements, which are measured again weeks later. Outside AI clients can now connect through MCP with a person's own account, the public lot page shows when an AI decision is verified in the audit chain, and a public benchmark compares models on the agents' scenarios.

Added

  • Agentic layer milestone M7: daily campaign (platform/agent, apps/web):
    • 06:00 campaign. At 06:00 agent A9 groups the cooperative's open proposals into one campaign of at most 15 actions, each with a measurable goal.
      • Fixed rules order the items and drop conflicts: no harvest on a parcel still in its withdrawal period, no spraying before rain, and no more work than the people available.
      • The model only writes the summary.
    • Deciding. Managers receive the campaign on Telegram (Duyệt cả chiến dịch, Xem từng mục, Bỏ chiến dịch, and /chiendich) and in a new "Chiến dịch hôm nay" panel above the AI inbox.
      • Approving the whole campaign runs every item the approver may decide.
      • High-risk items still wait for their own confirmation, and items for another role are forwarded.
    • 18:00 report. The report shows target against actual for each goal.
    • Schedule. The harvest and disease agents now run at 05:30 and 05:40, so their warnings are ready before 06:00.
  • Agentic layer milestone M8: weekly improvements and the AI tab (platform/agent, apps/web, miniapps/htx-dashboard, Hasura):
    • Weekly rules. Every Monday agent A10 looks for:
      • a warning that managers keep rejecting;
      • journal entries returned for missing information;
      • slow decisions;
      • campaign goals that keep slipping.
    • Proposals. It proposes at most five improvements as ordinary proposals:
      • agent.settings.update changes a threshold within fixed ranges, marking whether it tightens or loosens;
      • improvement.adopt covers a process note or a Monday reminder.
    • Measurement. Adopted improvements are measured again after two and four weeks, and the Monday report says whether they helped.
    • AI tab. htx-dashboard 0.3.0 adds an AI tab with each agent's approval rate, waiting time, failures and cost, read with the manager's own rights.
  • Agentic layer milestone M14: MCP, lot verification and the public benchmark (apps/web, platform/mcp, platform/agent, Keycloak, gateway):
    • MCP. A person can connect any MCP client with their own Keycloak account, through the device-login bridge platform/mcp/dxos_mcp.py and the new client dxos-mcp.
      • The client gets the assistant's read tools and one write tool, which creates a proposal that a person still has to approve.
    • Lot verification. The public lot page shows "AI đề xuất, <vai trò> đã duyệt ngày …, kiểm chứng trong sổ audit" only when the decision is in an intact audit chain with a matching evidence hash. It never shows a name.
    • Benchmark. make benchmark runs every agent scenario suite with a chosen model, and the results are published in docs/benchmark.md.

Fixed

  • Proposal deletes in a campaign (platform/postgres). Deleting a proposal also removes it from campaign items, so cleanup and retention jobs no longer fail on proposals that a campaign listed.

Container images

  • ghcr.io/maiychrus25/opentea-dx-os-web:1.16.0
  • ghcr.io/maiychrus25/opentea-dx-os-api:1.16.0
  • ghcr.io/maiychrus25/opentea-dx-os-postgres:1.16.0
  • ghcr.io/maiychrus25/opentea-dx-os-scanner:1.16.0
  • ghcr.io/maiychrus25/opentea-dx-os-migrate:1.16.0
  • ghcr.io/maiychrus25/opentea-dx-os-dataops:1.16.0
  • ghcr.io/maiychrus25/opentea-dx-os-agent:1.16.0
  • ghcr.io/maiychrus25/opentea-dx-os-telegram:1.16.0

Deploy

Download opentea-dx-os-1.16.0.tar.gz, verify it with SHA256SUMS, then follow the
release deployment guide (6-step order: postgres, platform-init, migrate, platform-init again, rest, then --profile tools run --rm ollama-init to pull the pinned LLM model).
Set DXOS_MQTT_DEVICES and DXOS_MQTT_INGEST_PASSWORD in docker/.env.local first: the broker refuses to start while any MQTT password begins with change_me.
Optional: set ANTHROPIC_API_KEY or OPENAI_API_KEY in docker/.env.local to let an agent use an external provider (ADR 0004). Empty keys keep every agent on Ollama, and only dxos-agent receives them.
Also set MINIO_ACCESS_KEY, MINIO_SECRET_KEY (SeaweedFS refuses placeholders), KEYCLOAK_ADMIN, KEYCLOAK_ADMIN_PASSWORD and DXOS_INTERNAL_GATEWAY_SECRET (a long random value: the web and the gateway refuse to start while it is empty or the public dev default), DXOS_TELEGRAM_CALLBACK_KEY (a long random value: the web refuses to start while it is empty or the dev default), and run every command as docker compose --env-file docker/.env.local -f docker/docker-compose.yml -f docker/docker-compose.release.yml ..., otherwise Compose ignores those values.