You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Built on [DeerFlow 2.0](https://github.com/bytedance/deer-flow) under the MIT License. DeerFlow provides the Agent runtime, tools, subagents, memory, MCP, sandbox, and application foundation. FlowLens adds the diagnostics and AgentOps product layer described below.
16
16
@@ -45,6 +45,14 @@ The diagnostics path is read-only: it does not mutate checkpoints, prompts, RunR
45
45
46
46
## Quick Start
47
47
48
+
### Choose a mode
49
+
50
+
| Mode | What it proves | Requirements | URL |
51
+
| --- | --- | --- | --- |
52
+
| Replay | Dashboard interactions and deterministic synthetic failure scenarios | Node.js or Docker; no model key |`http://localhost:5173` or `http://localhost:4173`|
53
+
| Connected Runtime | Real DeerFlow runs emitted into the AgentOps event pipeline | Normal DeerFlow configuration, account, and model provider |`http://localhost:2026/agentops`|
54
+
| Connected + dual MCP | Runtime delegation, read-only SQLite Analytics MCP, and FlowLens Inspector MCP | Docker Desktop plus the Connected Runtime requirements |`http://localhost:2027/agentops`|
55
+
48
56
### No-key Replay with pnpm
49
57
50
58
```bash
@@ -67,6 +75,14 @@ make flowlens-demo
67
75
68
76
Open `http://localhost:4173`, then stop it with `make flowlens-stop`.
69
77
78
+
On Windows without `make`, run the Compose command directly:
79
+
80
+
```powershell
81
+
docker compose -f docker/docker-compose-flowlens-demo.yaml up --build
82
+
```
83
+
84
+
Press `Ctrl+C` to stop the foreground Replay container.
85
+
70
86
### Connected DeerFlow runtime
71
87
72
88
```bash
@@ -78,11 +94,36 @@ Open `http://localhost:2026/agentops`. Connected mode requires the normal DeerFl
78
94
79
95
### Connected runtime with dual MCP services
80
96
81
-
The development compose stack can run two internal Streamable HTTP MCP services.
82
-
They use a discovery-only service token for schema loading and a short user/run-bound
83
-
delegated token for each tool call. The full isolated Docker command and validation
84
-
prompts are in the [Dual MCP Validation Guide](./docs/mcp-validation-guide.md)
85
-
and the [Chinese end-to-end test runbook](./docs/flowlens-dual-mcp-test-runbook.zh-CN.md).
97
+
The development stack runs two internal-only Streamable HTTP MCP services:
98
+
99
+
-**SQLite Analytics MCP** exposes schema inspection and `SELECT`-only local demonstration-data queries.
100
+
-**FlowLens Inspector MCP** queries owner-checked diagnostic data through the Gateway.
101
+
102
+
Schemas are discovered with a restricted service token. A real tool invocation receives a short-lived token bound to the current `user_id` and `run_id`; the model never receives that token.
up -d --build --remove-orphans frontend gateway nginx sqlite-analytics flowlens-inspector
116
+
117
+
Invoke-RestMethod http://localhost:2027/health
118
+
```
119
+
120
+
Open `http://localhost:2027/`, sign in, then open `http://localhost:2027/agentops`. To exercise the real SQLite path, start a new chat and send:
121
+
122
+
```text
123
+
Use the SQLite Analytics MCP to inspect the available schema, describe the agent_runs table, then count runs by status. Execute read-only SQL only, state the SQL used, and label the result as local demonstration data.
124
+
```
125
+
126
+
The selected Run should show MCP events in Timeline and an `MCP > 0` metric. The [Dual MCP Validation Guide](./docs/mcp-validation-guide.md) and [Chinese end-to-end runbook](./docs/flowlens-dual-mcp-test-runbook.zh-CN.md) cover expected evidence, policy-rejection cases, and shutdown.
86
127
87
128
## Diagnostic APIs
88
129
@@ -134,8 +175,10 @@ FlowLens does not claim authorship of the DeerFlow runtime modules. See [NOTICE]
0 commit comments