@oxy-hq/cli 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +439 -16
- package/dist/main.mjs +17040 -8399
- package/dist/main.mjs.map +1 -1
- package/dist/{mcp-vlYd5Bms.mjs → mcp-bxf7JBJu.mjs} +2 -2
- package/dist/mcp-bxf7JBJu.mjs.map +1 -0
- package/json-schemas/agent-test.json +69 -1
- package/json-schemas/agentic.json +6 -3
- package/json-schemas/flow-test.json +11 -2
- package/package.json +8 -4
- package/skills/oxy-agents/SKILL.md +72 -31
- package/skills/oxy-agents/references/quick-reference.md +18 -14
- package/skills/oxy-agents/templates/agentic-template.yml +32 -89
- package/skills/oxy-airway-pipelines/SKILL.md +12 -4
- package/skills/oxy-automations/SKILL.md +3 -3
- package/skills/oxy-custom-apps/SKILL.md +122 -2
- package/skills/oxy-evals/SKILL.md +54 -12
- package/skills/oxy-evals/references/diagnosis.md +11 -16
- package/skills/oxy-evals/references/results-json.md +7 -3
- package/skills/oxy-evals/references/writing-expected.md +2 -2
- package/skills/oxy-semantic-modeling/SKILL.md +2 -2
- package/dist/mcp-vlYd5Bms.mjs.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { $ as isSandboxAgentToken, A as runChecksCore, B as paramsToQuery, C as envReset, D as loadCatalog, E as comparablePath, F as requireSandboxName, G as forgetSandboxTokens, H as hint, I as createContext, J as request, K as revokeCallingToken, L as envOnly, M as envDelete, N as envList, O as loadOpenApi, P as envShow, Q as substitutePlaceholders, R as notAuthenticated, S as envSchedules, T as envOutbox, U as warn, V as parseFields, W as describeSandboxToken, X as isExternalSurface, Y as markMcpSession, Z as normalizePath, _ as fnRun, a as previewFailed, b as secretList, c as parseVariables, d as previewSubmitRun, et as CliError, f as requireRunKind, g as invocationsList, h as invocationsHeld, i as previewDelete, j as envCreate, k as searchRoutes, l as previewRunGet, m as fetchLogs, n as previewChecks, nt as exitCodeName, o as previewList, p as runFailed, q as parseJson, r as previewCreate, rt as usageError, s as previewShow, t as publish, tt as ExitCode, u as previewRunsList, v as fnCall, w as envUpdate, x as secretSet, y as secretDelete, z as runJq } from "./main.mjs";
|
|
3
2
|
import { existsSync, readFileSync } from "node:fs";
|
|
4
3
|
import { dirname, resolve } from "node:path";
|
|
5
4
|
import { fileURLToPath } from "node:url";
|
|
6
5
|
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
|
7
6
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
8
7
|
import { CallToolRequestSchema, ListToolsRequestSchema } from "@modelcontextprotocol/sdk/types.js";
|
|
8
|
+
import { $ as isSandboxAgentToken, A as runChecksCore, B as paramsToQuery, C as envReset, D as loadCatalog, E as comparablePath, F as requireSandboxName, G as forgetSandboxTokens, H as hint, I as createContext, J as request, K as revokeCallingToken, L as envOnly, M as envDelete, N as envList, O as loadOpenApi, P as envShow, Q as substitutePlaceholders, R as notAuthenticated, S as envSchedules, T as envOutbox, U as warn, V as parseFields, W as describeSandboxToken, X as isExternalSurface, Y as markMcpSession, Z as normalizePath, _ as fnRun, a as previewFailed, b as secretList, c as parseVariables, d as previewSubmitRun, et as CliError, f as requireRunKind, g as invocationsList, h as invocationsHeld, i as previewDelete, j as envCreate, k as searchRoutes, l as previewRunGet, m as fetchLogs, n as previewChecks, nt as exitCodeName, o as previewList, p as runFailed, q as parseJson, r as previewCreate, rt as usageError, s as previewShow, t as publish, tt as ExitCode, u as previewRunsList, v as fnCall, w as envUpdate, x as secretSet, y as secretDelete, z as runJq } from "./main.mjs";
|
|
9
9
|
|
|
10
10
|
// src/commands/mcp-sandbox.ts
|
|
11
11
|
const APP = {
|
|
@@ -1174,4 +1174,4 @@ async function runMcp(ctx) {
|
|
|
1174
1174
|
}
|
|
1175
1175
|
|
|
1176
1176
|
export { runMcp };
|
|
1177
|
-
//# sourceMappingURL=mcp-
|
|
1177
|
+
//# sourceMappingURL=mcp-bxf7JBJu.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp-bxf7JBJu.mjs","names":["log.warn","log.hint"],"sources":["../src/commands/mcp-sandbox.ts","../src/commands/mcp.ts"],"mappings":";;;;;;;;;;AAoCA,MAAM,MAAM;CAAE,MAAM;CAAU,aAAa;AAA2C;AACtF,MAAM,cAAc;CAClB,MAAM;CACN,aAAa;AACf;AAGA,MAAM,gCAAgB,IAAI,IAAI;CAC5B;CACA;CACA;CACA;CACA;AACF,CAAC;AAED,MAAM,SAAkB;CACtB,MAAM;CACN,aACE;CAIF,aAAa;EAAE,MAAM;EAAU,YAAY,CAAC;CAAE;AAChD;AAGA,MAAa,sBAAiC;CAC5C;EACE,MAAM;EACN,aACE;EAGF,aAAa;GACX,MAAM;GACN,YAAY;IAAE,KAAK;IAAK,QAAQ;GAAY;GAC5C,UAAU,CAAC,OAAO,QAAQ;EAC5B;CACF;CACA;EACE,MAAM;EACN,aACE;EAGF,aAAa;GACX,MAAM;GACN,YAAY;IACV,KAAK;IACL,QAAQ;IACR,KAAK;KAAE,MAAM;KAAU,aAAa;IAA6C;IACjF,OAAO;KAAE,MAAM;KAAU,aAAa;IAAsB;GAC9D;GACA,UAAU;IAAC;IAAO;IAAU;IAAO;GAAO;EAC5C;CACF;CACA;EACE,MAAM;EACN,aACE;EAEF,aAAa;GACX,MAAM;GACN,YAAY;IACV,KAAK;IACL,QAAQ;IACR,KAAK;KAAE,MAAM;KAAU,aAAa;IAAqB;GAC3D;GACA,UAAU;IAAC;IAAO;IAAU;GAAK;EACnC;CACF;CACA;EACE,MAAM;EACN,aACE;EAEF,aAAa;GACX,MAAM;GACN,YAAY,EACV,SAAS;IAAE,MAAM;IAAW,aAAa;GAAwC,EACnF;GACA,UAAU,CAAC,SAAS;EACtB;CACF;AACF;AAGA,SAAS,gBAAgB,MAAwB;CAC/C,IACE,KAAK,SAAS,kBACd,KAAK,SAAS,oBACd,KAA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@ -41,6 +41,16 @@
|
|
|
41
41
|
},
|
|
42
42
|
"additionalProperties": false,
|
|
43
43
|
"definitions": {
|
|
44
|
+
"ExpectQuerySource": {
|
|
45
|
+
"description": "Which code path produced the SQL the answer rests on.",
|
|
46
|
+
"type": "string",
|
|
47
|
+
"enum": [
|
|
48
|
+
"semantic",
|
|
49
|
+
"llm",
|
|
50
|
+
"vendor",
|
|
51
|
+
"verified_sql"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
44
54
|
"Grader": {
|
|
45
55
|
"description": "How a case's answer is graded.",
|
|
46
56
|
"oneOf": [
|
|
@@ -66,6 +76,17 @@
|
|
|
66
76
|
"prompt"
|
|
67
77
|
],
|
|
68
78
|
"properties": {
|
|
79
|
+
"expect": {
|
|
80
|
+
"description": "Behaviours the run must show, checked from its events.",
|
|
81
|
+
"anyOf": [
|
|
82
|
+
{
|
|
83
|
+
"$ref": "#/definitions/TestExpect"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"type": "null"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
},
|
|
69
90
|
"expected": {
|
|
70
91
|
"default": "",
|
|
71
92
|
"type": "string"
|
|
@@ -96,7 +117,7 @@
|
|
|
96
117
|
}
|
|
97
118
|
},
|
|
98
119
|
"tool": {
|
|
99
|
-
"description": "Optional: assert that this tool was invoked (deterministic check).
|
|
120
|
+
"description": "Optional: assert that this tool was invoked (deterministic check). Shorthand for `expect.tools: [<tool>]`.",
|
|
100
121
|
"type": [
|
|
101
122
|
"string",
|
|
102
123
|
"null"
|
|
@@ -105,6 +126,53 @@
|
|
|
105
126
|
},
|
|
106
127
|
"additionalProperties": false
|
|
107
128
|
},
|
|
129
|
+
"TestExpect": {
|
|
130
|
+
"description": "Behaviours the run must show. Every field is optional; an unset field is not checked, and a case fails when any set field is unmet.",
|
|
131
|
+
"type": "object",
|
|
132
|
+
"properties": {
|
|
133
|
+
"asks_user": {
|
|
134
|
+
"description": "`true`: the run must stop to ask the user a clarifying question. `false`: it must answer.",
|
|
135
|
+
"type": [
|
|
136
|
+
"boolean",
|
|
137
|
+
"null"
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
"chart": {
|
|
141
|
+
"description": "Whether the run must (`true`) or must not (`false`) draw a chart.",
|
|
142
|
+
"type": [
|
|
143
|
+
"boolean",
|
|
144
|
+
"null"
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
"preagg": {
|
|
148
|
+
"description": "Whether a successful query must (`true`) or must not (`false`) be served from a pre-aggregation.",
|
|
149
|
+
"type": [
|
|
150
|
+
"boolean",
|
|
151
|
+
"null"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
"query_source": {
|
|
155
|
+
"description": "The source of the query the answer rests on.",
|
|
156
|
+
"anyOf": [
|
|
157
|
+
{
|
|
158
|
+
"$ref": "#/definitions/ExpectQuerySource"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"type": "null"
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
"tools": {
|
|
166
|
+
"description": "Tools the run must call, by name.",
|
|
167
|
+
"default": [],
|
|
168
|
+
"type": "array",
|
|
169
|
+
"items": {
|
|
170
|
+
"type": "string"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"additionalProperties": false
|
|
175
|
+
},
|
|
108
176
|
"TestSettings": {
|
|
109
177
|
"type": "object",
|
|
110
178
|
"properties": {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"context": {
|
|
8
|
-
"description": "Glob patterns for context files (`.view.yml`, `.topic.yml`, `.sql`, `.md`)
|
|
8
|
+
"description": "Glob patterns for context files (`.view.yml`, `.topic.yml`, `.sql`, `.md`), resolved relative to the workspace root, not the YAML file's directory. A pattern reaches only files whose real path is inside the workspace.",
|
|
9
9
|
"default": [],
|
|
10
10
|
"type": "array",
|
|
11
11
|
"items": {
|
|
@@ -32,10 +32,13 @@
|
|
|
32
32
|
"$ref": "#/definitions/LlmConfigYaml"
|
|
33
33
|
},
|
|
34
34
|
"runtime": {
|
|
35
|
-
"description": "Which
|
|
36
|
-
"
|
|
35
|
+
"description": "Which runtime `oxy test` and the eval route run this agent on. Unset runs `react` (the tool-calling loop), falling back to the FSM only when react cannot serve the agent; `react` runs react and reports a refusal as an error; `fsm` runs the staged FSM pipeline. Served chats, Slack and the health probe follow the org's flag and ignore this key. A typo is a parse error.",
|
|
36
|
+
"anyOf": [
|
|
37
37
|
{
|
|
38
38
|
"$ref": "#/definitions/AgentRuntime"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"type": "null"
|
|
39
42
|
}
|
|
40
43
|
]
|
|
41
44
|
},
|
|
@@ -9,9 +9,18 @@
|
|
|
9
9
|
"type": ["string", "null"]
|
|
10
10
|
},
|
|
11
11
|
"target": {
|
|
12
|
-
"description": "Surface area being tested (chat
|
|
12
|
+
"description": "Surface area being tested. `custom-app` and `pipeline` are the product's core surfaces (the served app and its console; ingestion → Airway → stores → semantic model); `chat`, `ide`, `threads` and `onboarding` still ship and are still covered, but are no longer the centre. Documentation hint only — does not change the toolkit exposed to the LLM.",
|
|
13
13
|
"type": ["string", "null"],
|
|
14
|
-
"enum": [
|
|
14
|
+
"enum": [
|
|
15
|
+
"custom-app",
|
|
16
|
+
"pipeline",
|
|
17
|
+
"chat",
|
|
18
|
+
"ide",
|
|
19
|
+
"threads",
|
|
20
|
+
"onboarding",
|
|
21
|
+
"any",
|
|
22
|
+
null
|
|
23
|
+
]
|
|
15
24
|
},
|
|
16
25
|
"settings": {
|
|
17
26
|
"default": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxy-hq/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "oxyc — the Oxy CLI: a gh-api-style client for the Oxy HTTP API, plus the customer-account tooling that scopes a session to one customer.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -19,9 +19,13 @@
|
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
22
|
-
"url": "git+https://github.com/oxy-hq/oxygen
|
|
22
|
+
"url": "git+https://github.com/oxy-hq/oxygen.git",
|
|
23
23
|
"directory": "sdk/cli"
|
|
24
24
|
},
|
|
25
|
+
"homepage": "https://github.com/oxy-hq/oxygen/tree/main/sdk/cli#readme",
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/oxy-hq/oxygen/issues"
|
|
28
|
+
},
|
|
25
29
|
"scripts": {
|
|
26
30
|
"codegen": "node scripts/emit-version.mjs && node scripts/sync-schemas.mjs && node scripts/embed-assets.mjs",
|
|
27
31
|
"prebuild": "pnpm run codegen",
|
|
@@ -44,11 +48,11 @@
|
|
|
44
48
|
],
|
|
45
49
|
"license": "MIT",
|
|
46
50
|
"dependencies": {
|
|
47
|
-
"@clack/prompts": "^1.
|
|
51
|
+
"@clack/prompts": "^1.9.0",
|
|
48
52
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
49
53
|
"ajv": "^8.20.0",
|
|
50
54
|
"ajv-formats": "^3.0.1",
|
|
51
|
-
"commander": "^15.
|
|
55
|
+
"commander": "^15.1.0",
|
|
52
56
|
"jq-wasm": "3.0.0-jq-1.8.2",
|
|
53
57
|
"picocolors": "^1.1.1",
|
|
54
58
|
"yaml": "^2.9.1",
|
|
@@ -4,7 +4,8 @@ description: >-
|
|
|
4
4
|
Use when creating, editing, reviewing or debugging an Oxy agent, a `.agentic.yml` file that
|
|
5
5
|
answers questions from the semantic model by clarifying, specifying, solving (SQL), executing
|
|
6
6
|
and interpreting. Triggers include "create an analytics agent", "my agent picks the wrong
|
|
7
|
-
metric", "my solving instructions are ignored", "
|
|
7
|
+
metric", "my solving instructions are ignored", "react ignores config keys", "ignored_keys", "the
|
|
8
|
+
agent never uses my verified query", "the
|
|
8
9
|
agent can't see a database", "which tools can a state call", "set thinking, effort,
|
|
9
10
|
budget_tokens or extended thinking", "per-state model or max_retries", "validation rules",
|
|
10
11
|
"Cube or Looker semantic_engine", "analytics vs app-builder agent", "`.agent.yml` or
|
|
@@ -43,8 +44,8 @@ the pipeline. You do not define its states or its tools.
|
|
|
43
44
|
your editor" panel) and pushed, which compiles them.
|
|
44
45
|
- **Automations are a different file.** Deterministic multi-step work is an
|
|
45
46
|
automation, `.automation.yml` (`.procedure.yml` still works). `.workflow.yml`
|
|
46
|
-
is no longer recognised at all. An agent
|
|
47
|
-
|
|
47
|
+
is no longer recognised at all. An agent is not an automation, and on the
|
|
48
|
+
default runtime it cannot run one as an answer either (see Runtime).
|
|
48
49
|
- **Instruction-only agents skip the pipeline.** A file with `instructions:`
|
|
49
50
|
and no `databases:`, `context:` or `states:` is answered with one LLM call
|
|
50
51
|
and queries nothing. Add any of those three and you get the full pipeline.
|
|
@@ -54,6 +55,34 @@ model. **Use a verified query** (a `.sql` file with an `oxy:` header, below)
|
|
|
54
55
|
when one question must always get exactly the same SQL. **Use an automation**
|
|
55
56
|
when the steps are fixed and need no LLM to choose between them.
|
|
56
57
|
|
|
58
|
+
## Runtime: react is the default, and it ignores the pipeline tuning
|
|
59
|
+
|
|
60
|
+
Agents run on the **react** runtime by default: one model in a tool loop
|
|
61
|
+
(`search`, `read`, `query`, `chart`, `ask_user` and a few analysis tools)
|
|
62
|
+
that answers from the semantic model, verified queries and raw SQL. The staged pipeline described
|
|
63
|
+
under "How a question flows" (`runtime: fsm`) is being removed. In a chat, the
|
|
64
|
+
runtime is chosen by the org's rollout, not by the agent's `runtime:` key, so
|
|
65
|
+
`runtime: fsm` is not a way to keep the keys below working.
|
|
66
|
+
|
|
67
|
+
React **ignores** these keys. They still parse; the run goes on without them,
|
|
68
|
+
and the server logs a warning and records them on a chat's run as
|
|
69
|
+
`ignored_keys`:
|
|
70
|
+
|
|
71
|
+
| Key | Under react |
|
|
72
|
+
| --- | --- |
|
|
73
|
+
| `states.<any>.instructions` | ignored: put the guidance in top-level `instructions` |
|
|
74
|
+
| `states.<any>.max_retries` | ignored: the loop has its own turn and cost budgets |
|
|
75
|
+
| `states.<not solving>.model`, `.thinking` | ignored: only `states.solving.model` / `.thinking` apply (prefer `llm.model` / top-level `thinking`) |
|
|
76
|
+
| `validation` | ignored: no result checks run |
|
|
77
|
+
| `semantic_engine` | ignored: queries go only to the views in `context:` |
|
|
78
|
+
| `llm.max_tokens`, `llm.advisor` | applied on Anthropic models; ignored on OpenAI and OpenAI-compatible |
|
|
79
|
+
| automation files in `context:` | ignored (`context (automations)`): an automation cannot be run as an answer |
|
|
80
|
+
|
|
81
|
+
Everything else (`instructions`, `timezone`, `databases`, the rest of
|
|
82
|
+
`context`, `llm`, `thinking`, `llm.extended_thinking`) is honoured. **Write new
|
|
83
|
+
agents without the ignored keys.** The sections below that describe them are
|
|
84
|
+
marked *FSM only*.
|
|
85
|
+
|
|
57
86
|
## Minimal file
|
|
58
87
|
|
|
59
88
|
```yaml
|
|
@@ -69,12 +98,17 @@ every database its context references. The full annotated file is
|
|
|
69
98
|
[templates/agentic-template.yml](templates/agentic-template.yml).
|
|
70
99
|
|
|
71
100
|
Top-level keys: `instructions`, `timezone`, `databases`, `context`, `llm`,
|
|
72
|
-
`thinking`, `states`, `validation`, `semantic_engine`. All
|
|
101
|
+
`thinking`, and the FSM-only `states`, `validation`, `semantic_engine`. All
|
|
102
|
+
are optional.
|
|
73
103
|
**Unknown keys are ignored silently at every level**, by the runtime and by
|
|
74
104
|
both validators. A typo such as `stats:` or `solve:` costs you the setting
|
|
75
105
|
with no error.
|
|
76
106
|
|
|
77
|
-
## How a question flows
|
|
107
|
+
## How a question flows (FSM only)
|
|
108
|
+
|
|
109
|
+
This section and the next describe the `runtime: fsm` pipeline, which react
|
|
110
|
+
replaces. On react there are no states; the model calls tools until it can
|
|
111
|
+
answer.
|
|
78
112
|
|
|
79
113
|
```
|
|
80
114
|
clarifying → specifying → solving → executing → interpreting → done
|
|
@@ -114,7 +148,7 @@ The practical consequence: **guidance every answer needs goes in the global
|
|
|
114
148
|
`instructions:`, `clarifying` or `interpreting`, never only in `solving`.** On a
|
|
115
149
|
well-modelled workspace, solving rarely runs.
|
|
116
150
|
|
|
117
|
-
## Tools each state can call
|
|
151
|
+
## Tools each state can call (FSM only)
|
|
118
152
|
|
|
119
153
|
The tool set is fixed by the runtime and is not configurable. There is no
|
|
120
154
|
`tools:` key.
|
|
@@ -135,11 +169,11 @@ workspace previews or scheduled runs.
|
|
|
135
169
|
|
|
136
170
|
## The fields that matter
|
|
137
171
|
|
|
138
|
-
**`instructions`**
|
|
139
|
-
persona, business conventions ("fiscal year starts
|
|
140
|
-
means the `customers` view")
|
|
141
|
-
|
|
142
|
-
|
|
172
|
+
**`instructions`** are the agent's system prompt (on the FSM, every LLM
|
|
173
|
+
state's). Use them for the persona, business conventions ("fiscal year starts
|
|
174
|
+
in February", "customer means the `customers` view"), which views or topics to
|
|
175
|
+
prefer, and any SQL style rules. On react they are the only guidance the model
|
|
176
|
+
gets: per-state `instructions` are ignored.
|
|
143
177
|
|
|
144
178
|
**`timezone`** is an IANA name used for "today", "yesterday" and "last week".
|
|
145
179
|
It falls back to config.yml's `timezone:`, then UTC. An invalid name fails the
|
|
@@ -148,19 +182,20 @@ run.
|
|
|
148
182
|
**`databases`** lists names from config.yml `databases:`. The agent can query
|
|
149
183
|
exactly these plus every database its context files reference: a view's
|
|
150
184
|
`datasource` (or `data_source`), a verified query's `database:`, or an
|
|
151
|
-
automation task's `database
|
|
152
|
-
config.yml**. With none at all, the run fails with `no databases configured`.
|
|
185
|
+
automation task's `database:` (so removing an automation from `context:` can
|
|
186
|
+
remove a database). There is **no fallback to every database in config.yml**. With none at all, the run fails with `no databases configured`.
|
|
153
187
|
|
|
154
|
-
**`context`** takes globs relative to the
|
|
155
|
-
|
|
188
|
+
**`context`** takes globs relative to the **workspace root**, whatever directory the
|
|
189
|
+
`.agentic.yml` sits in: an agent in `agents/` still writes `./semantics/**`, never
|
|
190
|
+
`../semantics/**`. Each match is bucketed by its file name:
|
|
156
191
|
|
|
157
192
|
| Matches | Becomes |
|
|
158
193
|
| --- | --- |
|
|
159
194
|
| `*.view.yml`, `*.topic.yml` | the semantic catalog |
|
|
160
|
-
| `*.sql` with an `oxy:` header | a **verified query
|
|
161
|
-
| `*.sql` without the header | SQL
|
|
162
|
-
| `*.md` | domain notes
|
|
163
|
-
| `*.automation.yml`, `*.procedure.yml` | automations the agent may pick and run |
|
|
195
|
+
| `*.sql` with an `oxy:` header | a **verified query**, run verbatim when chosen (react lists it in the prompt; the FSM finds it with `search_automations`) |
|
|
196
|
+
| `*.sql` without the header | example SQL (react: searchable and readable; FSM: the solving prompt) |
|
|
197
|
+
| `*.md` | domain notes (react: searchable and readable; FSM: the clarifying and interpreting prompts) |
|
|
198
|
+
| `*.automation.yml`, `*.procedure.yml` | FSM only: automations the agent may pick and run. **Ignored by react; don't list them** |
|
|
164
199
|
| anything else | ignored |
|
|
165
200
|
|
|
166
201
|
A verified query opts in with a leading comment block:
|
|
@@ -192,7 +227,8 @@ can come back empty in the cloud.
|
|
|
192
227
|
`/chat/completions`.
|
|
193
228
|
- Google/Gemini models are not supported in agents.
|
|
194
229
|
|
|
195
|
-
**`states`**
|
|
230
|
+
**`states`** (*FSM only*; react ignores all of it except `solving.model` and
|
|
231
|
+
`solving.thinking`) honours four keys: `clarifying`, `specifying`, `solving` and
|
|
196
232
|
`interpreting`.
|
|
197
233
|
|
|
198
234
|
- `executing` has no LLM, so it is accepted and does nothing. Every other key
|
|
@@ -205,20 +241,22 @@ can come back empty in the cloud.
|
|
|
205
241
|
failure-retry count. Defaults: specifying 5, solving 3, interpreting 5.
|
|
206
242
|
Clarifying has a fixed limit and ignores the setting.
|
|
207
243
|
|
|
208
|
-
**`validation`** sets the result checks. Leave it out and 15 default checks
|
|
244
|
+
**`validation`** (*FSM only*; react ignores it) sets the result checks. Leave it out and 15 default checks
|
|
209
245
|
run. If you include it, it **replaces** the defaults: only the rules you list
|
|
210
246
|
run, and a stage you leave empty is not checked. To switch one check off or
|
|
211
247
|
retune it, list every rule that should still run. Rule names and parameters
|
|
212
248
|
are in [references/quick-reference.md](references/quick-reference.md).
|
|
213
249
|
|
|
214
|
-
**`semantic_engine`** routes queries through Cube or Looker ahead of Oxy's own
|
|
250
|
+
**`semantic_engine`** (*FSM only*; react ignores it) routes queries through Cube or Looker ahead of Oxy's own
|
|
215
251
|
semantic model. `${VAR}` placeholders are read from the server's environment,
|
|
216
252
|
not from workspace secrets. The engine is pinged when a run starts, and an
|
|
217
253
|
unreachable engine fails the run.
|
|
218
254
|
|
|
219
255
|
## Thinking and models
|
|
220
256
|
|
|
221
|
-
|
|
257
|
+
React uses the solving rule below: `states.solving.thinking`, then
|
|
258
|
+
`llm.thinking`, then top-level `thinking`, then adaptive. Set it at the top
|
|
259
|
+
level. On the FSM, thinking is resolved per state, in this order:
|
|
222
260
|
|
|
223
261
|
1. the state's own `thinking`
|
|
224
262
|
2. `llm.thinking`
|
|
@@ -228,8 +266,8 @@ Thinking is resolved per state, in this order:
|
|
|
228
266
|
|
|
229
267
|
A global value replaces every built-in default. So top-level
|
|
230
268
|
`thinking: adaptive` makes clarifying, specifying and interpreting think too,
|
|
231
|
-
and `llm.thinking: disabled` turns thinking off in solving.
|
|
232
|
-
settings.
|
|
269
|
+
and `llm.thinking: disabled` turns thinking off in solving. On the FSM, prefer
|
|
270
|
+
per-state settings.
|
|
233
271
|
|
|
234
272
|
| Form | Meaning |
|
|
235
273
|
| --- | --- |
|
|
@@ -258,12 +296,14 @@ silently means `medium`.
|
|
|
258
296
|
|
|
259
297
|
`llm.extended_thinking: {model, thinking}` is used while the user has the
|
|
260
298
|
**extended thinking** toggle on (`--thinking-mode extended_thinking` from the
|
|
261
|
-
CLI). It replaces the model and the thinking setting in every
|
|
299
|
+
CLI). It replaces the model and the thinking setting (on the FSM, in every
|
|
300
|
+
state). Without
|
|
262
301
|
the block, the toggle changes nothing.
|
|
263
302
|
|
|
264
303
|
Leave `llm.max_tokens` unset unless you need a hard cap. When it is unset, Oxy
|
|
265
304
|
uses 4,096 without thinking and 16,384 (or the budget plus 4,096) with
|
|
266
305
|
thinking. A value you set is used as-is, and thinking tokens count against it.
|
|
306
|
+
React applies it on Anthropic models only.
|
|
267
307
|
|
|
268
308
|
## Validate, run, test
|
|
269
309
|
|
|
@@ -277,8 +317,8 @@ oxyc evals run agents/sales.agentic.test.yml --workspace <id> # LLM-judged eva
|
|
|
277
317
|
shape (a malformed `thinking`, a wrong type, a duplicate key) and a
|
|
278
318
|
`databases:` entry or `llm.ref` that names nothing in `config.yml`. It does
|
|
279
319
|
not expand globs, read `${VAR}` placeholders, check rule names or timezones,
|
|
280
|
-
or notice unknown keys (the runtime ignores them too).
|
|
281
|
-
|
|
320
|
+
or notice unknown keys (the runtime ignores them too). The Rust
|
|
321
|
+
`oxy validate` is gone; use `oxyc validate`.
|
|
282
322
|
- **The first full check is a run.** `oxyc agentic run <path> -q "<question>"
|
|
283
323
|
--workspace <id>` runs the agent on the deployment and streams each state. It
|
|
284
324
|
runs what the workspace has compiled (push first), not your checkout, and
|
|
@@ -287,7 +327,7 @@ oxyc evals run agents/sales.agentic.test.yml --workspace <id> # LLM-judged eva
|
|
|
287
327
|
exits `0` with the question; answer it with `oxyc agentic answer <run_id>
|
|
288
328
|
--answer "..."` and follow the rest with `oxyc agentic events <run_id>`. An
|
|
289
329
|
`error` or `cancelled` run exits `1`. (The Rust `oxy agentic run` ran a local
|
|
290
|
-
file against `OXY_DATABASE_URL`; it is
|
|
330
|
+
file against `OXY_DATABASE_URL`; it is gone, so use this command.)
|
|
291
331
|
- **`oxyc evals run`** runs `.test.yml` evals against an agent on the
|
|
292
332
|
deployment and scores each case with an LLM judge. It runs what the workspace
|
|
293
333
|
has compiled (push first), not your checkout, and exits `9` under
|
|
@@ -309,9 +349,10 @@ To point an editor at the schema, start the file with:
|
|
|
309
349
|
| agent can't see a table it "should" | the agent only reaches databases it declares or references | add it to `databases:` |
|
|
310
350
|
| wrong model answers, or an auth error on the first question | `llm.ref` is not a `name:` in config.yml, so the agent fell back to a built-in Claude model and the server's `ANTHROPIC_API_KEY`; or the model's key secret is unset | fix the name; set the key |
|
|
311
351
|
| "does not have a metric tree configured" | the question was classified as root cause or opportunity, and this workspace or run has no metric tree | define a metric tree, or ask for the numbers directly |
|
|
312
|
-
| `
|
|
352
|
+
| per-state `instructions` never take effect | react ignores them; on the FSM, the semantic model compiled the question, so solving was skipped | move them to the global `instructions:` |
|
|
353
|
+
| `max_retries`, `validation` or an automation in `context:` changes nothing | react ignores them (recorded as `ignored_keys` on the run) | remove them |
|
|
313
354
|
| verified query never chosen | `.sql` has no `oxy:` header, or isn't matched by `context:` | add the header and a `description`; check the glob |
|
|
314
|
-
| state override does nothing | misspelled key
|
|
355
|
+
| state override does nothing | react honours only `states.solving.model` / `.thinking`; on the FSM, a misspelled key or `executing` / `clarifying.max_retries` | set `llm` / top-level `thinking` instead |
|
|
315
356
|
| thinking silently off | `thinking: enabled` or another unknown string | use one of the forms above |
|
|
316
357
|
| `thinking: false` rejected | boolean, not a mode | `thinking: disabled` |
|
|
317
358
|
| a default check stopped running | a `validation:` section replaced the defaults | list every rule you still want |
|
|
@@ -13,21 +13,22 @@ starter file is [../templates/agentic-template.yml](../templates/agentic-templat
|
|
|
13
13
|
| Referenced as | its workspace-relative path, e.g. `agents/sales.agentic.yml`. The UI shows the stem (`sales`) |
|
|
14
14
|
| Unknown keys | ignored silently at every level, by the runtime and by both validators |
|
|
15
15
|
| Duplicate keys | a YAML parse error |
|
|
16
|
+
| Runtime | **react** by default. It ignores `states:` (except `solving.model` / `.thinking`), `validation`, `semantic_engine`, automations in `context:`, and `llm.max_tokens` / `llm.advisor` off Anthropic; the run goes on and records them as `ignored_keys`. Rows marked *FSM only* below are those keys |
|
|
16
17
|
| Editor schema | `# yaml-language-server: $schema=https://raw.githubusercontent.com/oxy-hq/oxygen/refs/heads/main/json-schemas/agentic.json` |
|
|
17
18
|
|
|
18
19
|
## Top-level fields
|
|
19
20
|
|
|
20
21
|
| Field | Type | Default | Notes |
|
|
21
22
|
| --- | --- | --- | --- |
|
|
22
|
-
| `instructions` | string | none |
|
|
23
|
+
| `instructions` | string | none | The system prompt (FSM: every LLM state's). On react, the only place for guidance |
|
|
23
24
|
| `timezone` | IANA name | config.yml `timezone:`, then UTC | Used for "today" and relative dates. An invalid name fails the run |
|
|
24
25
|
| `databases` | list of config.yml database names | `[]` | Combined with the databases the context references. There is no all-databases fallback |
|
|
25
|
-
| `context` | list of globs | `[]` | Relative to the agent file
|
|
26
|
+
| `context` | list of globs | `[]` | Relative to the workspace root, wherever the agent file sits |
|
|
26
27
|
| `llm` | map | see below | Model, key, thinking |
|
|
27
28
|
| `thinking` | thinking form | none | Global thinking. Overrides each state's built-in default; `llm.thinking` overrides it |
|
|
28
|
-
| `states` | map | `{}` |
|
|
29
|
-
| `validation` | map | 15 default rules | **Replaces** the defaults when present |
|
|
30
|
-
| `semantic_engine` | map | none | Cube or Looker ahead of Oxy's semantic model |
|
|
29
|
+
| `states` | map | `{}` | *FSM only* per-state overrides; react reads only `solving.model` / `.thinking` |
|
|
30
|
+
| `validation` | map | 15 default rules | *FSM only*. **Replaces** the defaults when present |
|
|
31
|
+
| `semantic_engine` | map | none | *FSM only*. Cube or Looker ahead of Oxy's semantic model |
|
|
31
32
|
|
|
32
33
|
An instruction-only agent (`instructions`, and no `databases`, `context` or
|
|
33
34
|
`states`) is one LLM call. It runs no pipeline and no queries.
|
|
@@ -41,7 +42,7 @@ An instruction-only agent (`instructions`, and no `databases`, `context` or
|
|
|
41
42
|
| `vendor` | from `ref`, else `anthropic` | `anthropic`, `open_ai` (Responses API) or `open_ai_compat` (`/chat/completions`). The runtime also accepts `openai` and `openai_compat`, and so does `oxyc validate` |
|
|
42
43
|
| `api_key` | from `ref`, else `ANTHROPIC_API_KEY` / `OPENAI_API_KEY` on the server | Prefer `ref` |
|
|
43
44
|
| `base_url` | from `ref`, else the provider default | `open_ai_compat` defaults to `http://localhost:11434/v1` |
|
|
44
|
-
| `max_tokens` | 4,096 without thinking; 16,384 (or budget + 4,096) with thinking | A value you set is used as-is, and thinking tokens count against it |
|
|
45
|
+
| `max_tokens` | 4,096 without thinking; 16,384 (or budget + 4,096) with thinking | A value you set is used as-is, and thinking tokens count against it. React applies it on Anthropic only |
|
|
45
46
|
| `thinking` | none | Beats top-level `thinking` |
|
|
46
47
|
| `extended_thinking` | none | `{model, thinking}`. Replaces both in every state while the user's extended-thinking toggle is on |
|
|
47
48
|
|
|
@@ -49,7 +50,9 @@ A `ref` that is not in config.yml is not an error at load time. The agent falls
|
|
|
49
50
|
back to a built-in Claude model and the server's `ANTHROPIC_API_KEY`.
|
|
50
51
|
Google/Gemini models are not supported in agents.
|
|
51
52
|
|
|
52
|
-
## `states:`
|
|
53
|
+
## `states:` (FSM only)
|
|
54
|
+
|
|
55
|
+
React ignores this section except `solving.model` and `solving.thinking`.
|
|
53
56
|
|
|
54
57
|
| Key | LLM | Thinking default | `max_retries` default | Prompt extras |
|
|
55
58
|
| --- | --- | --- | --- | --- |
|
|
@@ -80,7 +83,8 @@ Any other key (`solve`, `diagnosing`, …) is ignored silently.
|
|
|
80
83
|
| `false` / `true` | parse error |
|
|
81
84
|
|
|
82
85
|
Precedence, highest first: the extended-thinking toggle, then `states.<s>.thinking`,
|
|
83
|
-
then `llm.thinking`, then top-level `thinking`, then the state default.
|
|
86
|
+
then `llm.thinking`, then top-level `thinking`, then the state default. React
|
|
87
|
+
applies the `solving` row (default adaptive).
|
|
84
88
|
|
|
85
89
|
| Provider | `adaptive` | `effort` | `budget_tokens` |
|
|
86
90
|
| --- | --- | --- | --- |
|
|
@@ -97,9 +101,9 @@ then `llm.thinking`, then top-level `thinking`, then the state default.
|
|
|
97
101
|
| `*.view.yml`, `*.view.yaml` | semantic catalog | its `datasource` / `data_source` adds a database |
|
|
98
102
|
| `*.topic.yml`, `*.topic.yaml` | semantic catalog | |
|
|
99
103
|
| `*.sql` with an `oxy:` header | verified query, run verbatim when chosen | header `database:` adds a database |
|
|
100
|
-
| `*.sql` without the header | SQL
|
|
101
|
-
| `*.md` | domain notes
|
|
102
|
-
| `*.automation.yml/.yaml`, `*.procedure.yml/.yaml` | automations `search_automations` can return | task `database:` values add databases |
|
|
104
|
+
| `*.sql` without the header | example SQL (react: search/read; FSM: the solving prompt) | |
|
|
105
|
+
| `*.md` | domain notes (react: search/read; FSM: clarifying and interpreting) | |
|
|
106
|
+
| `*.automation.yml/.yaml`, `*.procedure.yml/.yaml` | *FSM only*: automations `search_automations` can return. React ignores them | task `database:` values add databases |
|
|
103
107
|
| anything else | ignored | |
|
|
104
108
|
|
|
105
109
|
Verified-query header fields: `description` (used to match the question) and
|
|
@@ -113,7 +117,7 @@ Verified-query header fields: `description` (used to match the question) and
|
|
|
113
117
|
*/
|
|
114
118
|
```
|
|
115
119
|
|
|
116
|
-
## Tools by state (fixed; no `tools:` key)
|
|
120
|
+
## Tools by state (FSM only; fixed; no `tools:` key)
|
|
117
121
|
|
|
118
122
|
| State | Tools |
|
|
119
123
|
| --- | --- |
|
|
@@ -128,7 +132,7 @@ Root-cause and opportunity questions need a metric tree. Without one the agent
|
|
|
128
132
|
replies that the workspace "does not have a metric tree configured". Metric-tree
|
|
129
133
|
and anomaly tools are not offered in workspace previews or scheduled runs.
|
|
130
134
|
|
|
131
|
-
## `validation:`
|
|
135
|
+
## `validation:` (FSM only)
|
|
132
136
|
|
|
133
137
|
Absent: the 15 rules marked default run. Present: only the listed rules run (an
|
|
134
138
|
entry with `enabled: false` is skipped), and a stage with no list is not
|
|
@@ -164,7 +168,7 @@ Where a failure goes (diagnosing):
|
|
|
164
168
|
| ambiguous column | clarifying |
|
|
165
169
|
| outlier, freshness gap, bad chart config | interpreting (answers and states the caveat) |
|
|
166
170
|
|
|
167
|
-
## `semantic_engine:`
|
|
171
|
+
## `semantic_engine:` (FSM only)
|
|
168
172
|
|
|
169
173
|
| Field | Cube | Looker |
|
|
170
174
|
| --- | --- | --- |
|