Skip to content

0.10.26

Choose a tag to compare

@thinkingsense-ai thinkingsense-ai released this 30 Nov 08:24
· 12 commits to main since this release
9020b39

ThinkingSense 0.10.26: upgrade notes

Image: ghcr.io/thinkingsense-ai/server:0.10.26 (also :0.10; free edition :0.10.26-free). This release adds ABBA agents: agents that wake on business events, read your systems with their owner's access, notify people, and propose writes that a person approves. It also fixes several Ask answers and two federation problems.

No data migration is needed. The agent tables are created in the control database the first time the server starts. Nothing changes for anyone until an administrator turns agents on for them (see "Upgrading" below).

Upgrading

  • Agents are off for everyone until granted. An administrator gives a person the "may create agents" grant on the Users & access page of the admin console. A person may own 5 agents by default; an administrator can set another number.
  • The free edition holds 1 agent per installation and runs it in shadow only. Shadow means the agent does everything except the final step: notifications and write-backs are rendered and logged, never sent.
  • The commercial edition has no installation cap unless the licence sets maxAgents.
  • To switch the whole feature off, set OMNIGATE_AGENTS=off. To stop every agent at once and keep their settings, use the pause switch on the admin console's Ship › Agents page. Every replica sees it at once.
  • New control-database tables (created at startup):
    • agents and runs: agent_spec, agent_spec_version, agent_event, agent_run, agent_run_step;
    • sources: agent_rows_mark, agent_feed_item, agent_feed_mark, agent_feed_stage;
    • proposals and their record: agent_proposal, agent_proposal_approval, agent_proposal_timer, agent_decision;
    • cases: agent_case, agent_case_key, agent_case_item, agent_case_claim, agent_run_case.

New: ABBA agents

The full design, with what was measured at each step, is in docs/design/abba-autonomous-agents.md.

Making an agent

  • Describe it in words. On the Agents page in the Ask app, a person writes what the agent should watch for and do. The model drafts a spec: goal, triggers, tools, where it may send things, and how far it may act on its own. The person reviews and saves it.
  • Every agent starts as a draft, then runs in shadow, then goes live. Editing a live agent puts it back in shadow. Draft to live in one step is refused.
  • An agent reads as its owner. Its questions go through the same governed path as the owner's Ask questions, with the same row policies and masked columns.

What wakes an agent

  • A schedule, or an Ask alert it is linked to.
  • New or changed rows in an ERP, SaaS or database table.
  • Webhooks from SaaS tools on /agents/webhook, checked the way each sender signs them.
  • News and status feeds. A feed item passes a triage funnel first (keywords, a watchlist of names, then a model check). The Agents page shows how many items each stage let through and the tokens it used.
  • Slack, through the company's Slack app, connected on Ship › Agents (events go to /agents/slack/events).
  • Business mailboxes over IMAP, added on Ship › Agents with the name of the person who agreed that agents may read them.

Text from outside (feeds, Slack, mail, webhooks) is read first by a separate reader with no tools. The agent that acts sees the reader's fixed fields, not the outside text. A request written in an outside message is never passed on as an instruction. Payloads are redacted for secrets and personal data before they are stored, and kept for OMNIGATE_AGENTS_RETENTION_DAYS (default 30).

What an agent may do

  • Read: governed questions (ask_data) and the knowledge base (search_knowledge).
  • Notify: a notification is a draft until the run declares it notified. A notification written by a local model is held for a person when any figure in it is not one the run read.
  • Propose writes. An agent can propose a ServiceNow problem record, an invoice hold in Oracle Fusion, or a call to a plain HTTP system an administrator registered as a write target. In this release every write-back is a dry run: the exact request is rendered and recorded, and nothing is written to the other system.

The policy gate and approvals

  • Every action passes a policy gate that allows it, sends it for approval, or blocks it. How far an agent may go is the lowest of its own spec, the administrator's ceiling for that kind of action, and the product ceiling. Some actions are never allowed.
  • Proposals go to an inbox in the Ask app. An approval is bound to a hash of the exact proposal, so an edited proposal needs a new approval.
  • The approval rules are the ones workflows use. Money and external writes need two approvers, and the agent's owner may not approve its own agent's proposal.
  • Every proposal, approval, rejection and run is written to a hash-chained decision record.
  • A waiting proposal sends reminders, then escalates to backup approvers, then expires.
  • A proposal built on outside text that names an identifier, figure, email or URL the agent did not read from a trusted source goes one step less far: an action that would have run on its own waits for a person, and a write that an approval would have carried out is only recorded on approval, for a person to carry out.

Cases

  • Agents working on the same matter share a case. A run joins its owner's open case when its event shares an identifier or a proper name with the case, within 72 hours. Otherwise the run opens a new case.
  • A run sees what earlier runs recorded on its case, as data with where it came from.
  • An action is claimed on the case before it is taken or proposed. A second agent reacting to the same matter records a duplicate instead of acting again.
  • The Cases panel shows each case's timeline: events, findings, proposals and decisions.

Administrators

  • The Ship › Agents page in the admin console lists every agent, whoever owns it. It also holds the global pause, every case, the approval rules (with the ceiling for each kind of action), the write targets, the mailboxes and the Slack connection.
  • Audit: new AGENT_* audit types record changes to agents and their runs.

Ask

  • A message that is not a data question is answered in words instead of failing to find SQL (#235).
  • "For each region" gets a row for each region, and a per-day figure for each region stays per day and per region, whichever step wrote the statement.
  • "The most common X for each Y" keeps each Y's top X. Ties are shown, and the answer says they tie.
  • A two-period question ("this quarter against last") answers each period over its own rows. Labels stay honest, and an agent asking is told what was not answered.
  • The answer sentence states the rows it was given. Before, a small local model sometimes wrote "not available" over correct rows: it read a region code NA as N/A.
  • A date in the answer that is one of the rows' dates (a day, a range or a list of days) is no longer treated as an unsupported figure.

Fixed

  • Windowed queries (PARTITION BY) by signed-in users failed on some tables (#139). Row-level security wrapped the table, and a planner rule then produced a plan the JDBC convention could not run. This is fixed.
  • A client that disconnects during an Ask question frees its slot straight away.
  • A federation time limit now stops only the federation worker. Before, it could cancel the whole Ask question, so the fallback answer was lost.

Local model

  • The bundled Qwen3-4B can be fine-tuned on your approved questions with a LoRA adapter mounted into the qwen-model sidecar. Nothing in OmniGate's settings changes. The procedure, and how to measure an adapter before keeping it, is in docs/fine-tuning.md.
  • OMNIGATE_LLM_CALL_LOG=<file> records the prompts the fine-tuning learns from. The file holds schemas, sample values and questions, so set it only while recording and delete the file afterwards.

Settings worth knowing

Setting What it does
OMNIGATE_AGENTS off switches agents off for the installation.
OMNIGATE_AGENTS_RETENTION_DAYS How long event payloads and finished runs' text are kept (1 to 3650, default 30).
OMNIGATE_AGENTS_REDACT off stores payloads without redaction. Leave it on.
OMNIGATE_CONFIG_ENCRYPTION_KEY Needed to paste Slack and mailbox secrets on the Agents page; without it they are taken only as vault:// or cyberark:// references.
OMNIGATE_LLM_CALL_LOG Records local-model prompts for fine-tuning. Off unless set.

Not in this release, and known limits

  • Write-back is dry run only. Proposals render the exact request and record it; nothing is written to ServiceNow, Oracle Fusion or any HTTP target.
  • Swarms (agents handing each other tasks, Phase 4) are not in this release. Cases, which they build on, are.
  • An agent made live under a commercial licence stays live if the installation falls back to the free edition; the runtime does not check the edition again.
  • Clean-room cloud deploys were not run for this release. The OCI, AWS, GCP and Azure stacks keep their current pins until the "Bump pins" PR is merged after those checks.
  • Test suite: the release commit's tree (main at fe3030d2) ran 5,149 tests with 0 failures and 31 skipped, with the test services from scripts/test-infra.sh up. The release script's own run was skipped because of that run.