Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion box/overall/custom-agent.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Custom Agent"
title: "How to Add a Custom Agent"
---

Custom agents let you bring your own agent process to an Upstash Box. The box still provides the same sandbox, filesystem, shell, git, logs, streaming, and console experience, but your code decides how to call the model and how to produce output.
Expand Down
4 changes: 4 additions & 0 deletions box/overall/custom-harness/aider.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Aider
url: https://github.com/upstash/box/blob/main/packages/sdk/examples/custom-aider-agent.ts
---
4 changes: 4 additions & 0 deletions box/overall/custom-harness/gemini.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Gemini
url: https://github.com/upstash/box/blob/main/packages/sdk/examples/custom-gemini-agent.ts
---
4 changes: 4 additions & 0 deletions box/overall/custom-harness/goose.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Goose
url: https://github.com/upstash/box/blob/main/packages/sdk/examples/custom-goose-agent.ts
---
4 changes: 4 additions & 0 deletions box/overall/custom-harness/pi.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Pi
url: https://github.com/upstash/box/blob/main/packages/sdk/examples/custom-pi-agent.ts
---
11 changes: 10 additions & 1 deletion docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1619,7 +1619,16 @@
"group": "Basics",
"pages": [
"box/overall/agent",
"box/overall/custom-agent",
{
"group": "Custom Agents",
"pages": [
"box/overall/custom-agent",
"box/overall/custom-harness/pi",
"box/overall/custom-harness/gemini",
"box/overall/custom-harness/aider",
"box/overall/custom-harness/goose"
]
},
"box/overall/git",
"box/overall/shell",
"box/overall/files",
Expand Down
14 changes: 13 additions & 1 deletion llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,7 @@ The `Authorization` header is added by the proxy. The container never sees the s
* HTTP/2 connections through matched hosts are downgraded to HTTP/1.1
* Header values are encrypted at rest and never returned by API responses

# Custom Agent
# How to Add a Custom Agent
Source: https://upstash.com/docs/box/overall/custom-agent

Custom agents let you bring your own agent process to an Upstash Box. The box still provides the same sandbox, filesystem, shell, git, logs, streaming, and console experience, but your code decides how to call the model and how to produce output.
Expand Down Expand Up @@ -1717,6 +1717,18 @@ Ready-to-run examples for popular open-source agents:
* The command must be a binary name from `PATH` or an absolute path under `/workspace/home/` or `/home/boxuser/`.
* The command runs as `boxuser` inside the existing box sandbox.

# Aider
Source: https://upstash.com/docs/box/overall/custom-harness/aider

# Gemini
Source: https://upstash.com/docs/box/overall/custom-harness/gemini

# Goose
Source: https://upstash.com/docs/box/overall/custom-harness/goose

# Pi
Source: https://upstash.com/docs/box/overall/custom-harness/pi

# Ephemeral Box
Source: https://upstash.com/docs/box/overall/ephemeral-box

Expand Down
6 changes: 5 additions & 1 deletion llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@
- [Remote Development](https://upstash.com/docs/box/guides/remote-development.md)
- [Agent](https://upstash.com/docs/box/overall/agent.md)
- [Attach Headers](https://upstash.com/docs/box/overall/attach-headers.md)
- [Custom Agent](https://upstash.com/docs/box/overall/custom-agent.md)
- [How to Add a Custom Agent](https://upstash.com/docs/box/overall/custom-agent.md)
- [Aider](https://upstash.com/docs/box/overall/custom-harness/aider.md)
- [Gemini](https://upstash.com/docs/box/overall/custom-harness/gemini.md)
- [Goose](https://upstash.com/docs/box/overall/custom-harness/goose.md)
- [Pi](https://upstash.com/docs/box/overall/custom-harness/pi.md)
- [Ephemeral Box](https://upstash.com/docs/box/overall/ephemeral-box.md)
- [Filesystem](https://upstash.com/docs/box/overall/files.md)
- [Git](https://upstash.com/docs/box/overall/git.md)
Expand Down