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
Copy file name to clipboardExpand all lines: src/app/docs/kagent/examples/a2a-byo/page.mdx
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,18 +31,19 @@ The following example builds a simple agent from the [kagent code repository](ht
31
31
cd kagent
32
32
```
33
33
34
-
2. Optional: If you do not have a Docker registry, you can use the `make helm-install` command to create one as part of installing kagent in your kind cluster.
35
-
36
-
3. Build the custom agent image and push it to your local Docker registry.
37
-
34
+
2. Build the custom agent image and push it to your Docker registry. This example assumes that you want to push the image to the ghcr.io registry.
38
35
```bash
39
36
cd python/samples/adk/basic
40
-
docker build . -t localhost:5001/my-byo:latest \
41
-
--build-arg DOCKER_REGISTRY=localhost:5001 \
42
-
--build-arg VERSION=latest \
43
-
--push
37
+
docker build . -t ghcr.io/my-org:$latest \
38
+
--build-arg DOCKER_REGISTRY=ghcr.io \
39
+
--build-arg VERSION=latest \
40
+
--push
44
41
```
45
42
43
+
If you do not have a Docker registry, you can use the `make helm-install` command to create one as part of installing kagent in your kind cluster.
44
+
Then, change `ghcr.io` to `localhost:5001`.
45
+
46
+
46
47
## Creating a BYO Agent resource
47
48
48
49
Now that you have your own custom agent image, you can create a BYO Agent resource for kagent to manage.
@@ -73,7 +74,7 @@ Now that you have your own custom agent image, you can create a BYO Agent resour
Copy file name to clipboardExpand all lines: src/app/docs/kagent/examples/crewai-byo/page.mdx
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,15 +31,15 @@ The following example builds a research crew agent from the [kagent code reposit
31
31
cd kagent
32
32
```
33
33
34
-
2. Optional: If you do not have a Docker registry, you can use the `make helm-install` command to create one as part of installing kagent in your kind cluster.
35
-
36
-
3. Build the custom agent image and push it to your local Docker registry.
37
-
34
+
2. Build the custom agent image and push it to your Docker registry. This example assumes that you want to push the image to the ghcr.io registry.
If you do not have a Docker registry, you can use the `make helm-install` command to create one as part of installing kagent in your kind cluster.
41
+
Then, change `ghcr.io` to `localhost:5001`.
42
+
43
43
### Adapting your own CrewAI agent
44
44
45
45
A quickstart and detailed guide for adapting existing CrewAI crews and flows to work with kagent is available in the [package's README](https://github.com/kagent-dev/kagent/tree/main/python/packages/kagent-crewai).
@@ -96,7 +96,7 @@ You will need a Serper API Key that you can get for free [from their website](ht
Copy file name to clipboardExpand all lines: src/app/docs/kagent/examples/langchain-byo/page.mdx
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,19 +29,20 @@ The following example builds a simple LangGraph agent from the [kagent code repo
29
29
cd kagent
30
30
```
31
31
32
-
2. Optional: If you do not have a Docker registry, you can use the `make helm-install` command to create one as part of installing kagent in your kind cluster.
33
-
34
-
3. Build the custom agent image and push it to your local Docker registry.
35
-
32
+
2. Build the custom agent image and push it to your Docker registry. This example assumes that you want to push the image to the ghcr.io registry.
0 commit comments