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
{{ message }}
Repository navigation
Commit dc449be
Browse filesBrowse the repository at this point in the historyBrowse files
Run the Cloud course in an instance per participant
The Cloud course no longer starts from a team card. Each participant gets an
instance in the hackathon organization and a service account from the
organizers, creates a Kafka cluster, an agent workspace and a SQL workspace in
it, and fills in .env with snctl lookups in Lab 0.
- Lab 0 reads each address with snctl, creates the login topic and loads it.
The seeders accept the cloud stack and name the course in their hints.
- Lab 2 selects from the source named after the topic, security.login_events,
and offers psql through the SQL workspace gateway.
- Lab 4 says the SQL workspace needs read-write MCP access, and its deny
example matches what the scripts print.
- Troubleshooting covers the snctl context, the SQL tools failing with
connection_unavailable, read-only MCP access, and a slow approval.
- The doctor and the setup hints point at the instance, not a team card.
- What was run: Labs 1, 3 and 4 with every check on all three paths against a
test instance on StreamNative Cloud.
| Runs on | StreamNative Cloud: your team's Kafka cluster, SQL Workspace, and a hosted Agent Engine| Your laptop: [Ursa for Kafka](https://openlakestream.org/docs/ursa-for-kafka), [RisingWave](https://risingwave.com), and the Orca Agent Engine (`ork local`) |
29
-
| You need | A team card, handed out at the hackathon | Docker and an Anthropic API key |
30
-
| Time | About 30 minutes | About 45 minutes, plus image downloads |
28
+
| Runs on | StreamNative Cloud: your own instance, with a Kafka cluster, a SQL workspace, and an agent workspace| Your laptop: [Ursa for Kafka](https://openlakestream.org/docs/ursa-for-kafka), [RisingWave](https://risingwave.com), and the Orca Agent Engine (`ork local`) |
29
+
| You need | A StreamNative Cloud login with your own instance, from the hackathon organizers| Docker and an Anthropic API key |
30
+
| Time | About 40 minutes | About 45 minutes, plus image downloads |
31
31
| Start |[Lab 0: Set up](labs/cloud/00-set-up.md)|[Lab 0: Set up](labs/local/00-set-up.md)|
32
32
33
33
At the hackathon, take the Cloud course: see
34
-
[Before you arrive](docs/before-you-arrive.md). Without a team card, or to see
35
-
every part run on your own machine, take the Local course.
34
+
[Before you arrive](docs/before-you-arrive.md). Without a StreamNative Cloud
35
+
instance, or to see every part run on your own machine, take the Local course.
36
36
37
37
## Pick your path
38
38
39
-
The agent steps work three ways. Pick one; a teammate can pick another.
39
+
The agent steps work three ways. Pick one.
40
40
41
41
-**CLI**: the [`ork`](https://github.com/orca-ae/orca-cli) command line
42
42
-**Python**: the [`runorca`](https://pypi.org/project/runorca/) SDK
Copy file name to clipboardExpand all lines: cli/env.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ hello_setup_hint() {
50
50
if [ "$(hello_trim "${TUTORIAL_STACK:-}")"=local ];then
51
51
printf'%s'"Run local/write-env.sh in the repo root to write .env again (Local course, Lab 0)."
52
52
else
53
-
printf'%s'"Copy .env.cloud.example to .env in the repo root and fill it in from your team card, or run local/write-env.sh for the Local course."
53
+
printf'%s'"Copy .env.cloud.example to .env in the repo root and fill it in from your StreamNative Cloud instance (Cloud course, Lab 0), or run local/write-env.sh for the Local course."
54
54
fi
55
55
}
56
56
@@ -84,7 +84,7 @@ hello_setup() {
84
84
hello_die "jq is not installed. Install it (brew install jq, apt install jq, or winget install jqlang.jq) and try again."
85
85
86
86
hello_load_dotenv
87
-
# `cloud`: your team card on StreamNative Cloud. `local`: the stack on your laptop.
87
+
# `cloud`: your instance on StreamNative Cloud. `local`: the stack on your laptop.
Copy file name to clipboardExpand all lines: cli/tests/run.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ test_missing_team_card() {
133
133
run "" l1_hello.sh
134
134
check "exits 1 without a team card" [ "$STATUS"-eq 1 ]
135
135
check "names every missing variable, and both ways to get an .env" \
136
-
err_has "Missing ORCA_BASE_URL, ORCA_MODEL, SN_API_KEY. Copy .env.cloud.example to .env in the repo root and fill it in from your team card, or run local/write-env.sh for the Local course."
136
+
err_has "Missing ORCA_BASE_URL, ORCA_MODEL, SN_API_KEY. Copy .env.cloud.example to .env in the repo root and fill it in from your StreamNative Cloud instance (Cloud course, Lab 0), or run local/write-env.sh for the Local course."
137
137
check "runs no ork command" [ !-s"$FAKE_ORK_DIR/calls.log" ]
| Runs on | StreamNative Cloud: your team's Kafka cluster, SQL Workspace, and a hosted Agent Engine| Your laptop: Ursa for Kafka, RisingWave, and the Orca Agent Engine |
8
-
| You need | A team card, handed out at the hackathon | Docker and an Anthropic API key |
9
-
| Time | About 30 minutes | About 45 minutes, plus the image downloads |
10
-
| Take it when | You are at the event | You have no team card, or you want to see every part run |
7
+
| Runs on | StreamNative Cloud: your own instance, with a Kafka cluster, a SQL workspace, and an agent workspace| Your laptop: Ursa for Kafka, RisingWave, and the Orca Agent Engine |
8
+
| You need | A StreamNative Cloud login with your own instance, from the hackathon organizers| Docker and an Anthropic API key |
9
+
| Time | About 40 minutes | About 45 minutes, plus the image downloads |
10
+
| Take it when | You are at the event | You have no StreamNative Cloud instance, or you want to see every part run |
11
11
12
12
Both courses use the same three paths for the agent steps. Pick one path and stay
13
-
on it; a teammate can pick another.
13
+
on it.
14
14
15
15
-**CLI**: the [`ork`](https://github.com/orca-ae/orca-cli) command line
16
16
-**Python**: the [`runorca`](https://pypi.org/project/runorca/) SDK
0 commit comments