About
## The problem it solves
## 🚨 The Problem It Solves
Renting compute today means going through a data center. You create an account, pass KYC, opt into billing, and pay per-action for capacity you often can't even get on demand. At the same time, millions of personal CPUs, GPUs, and RAM sit idle most of the day. And the fastest-growing class of compute consumers **autonomous agents** can't just show up and rent a machine, because every existing path assumes a human clicking through wallet popups and sign-ups. This fragmentation leaves two problems unsolved:
- **Gatekept, high-friction compute:** Builders queue for scarce, expensive cloud GPUs behind accounts, opt-ins, and per-call billing.
- **Idle hardware with no easy way to monetize it:** Ordinary people have spare capacity but no safe, simple way to rent it out without exposing their machine.
**Tendril** closes that gap: a prepaid marketplace where anyone can rent out their own PC's CPU/RAM/GPU, and anyone, a person *or* an agent, can rent it by the hour, **prepaid in native ALGO**, with a sandboxed SSH box in seconds and billing down to the exact second used.
## 💡 What Can People Use It For?
- **Burst Compute Without the Cloud Paperwork:** Spin up a real, sandboxed Linux box over SSH in seconds for a build, batch job, model run, or anything you'd normally provision a VM for no signup, no KYC, no opt-in.
- **Earning From Idle Hardware:** Run the contributor daemon on a spare machine and rent out the compute you weren't using. You're paid **on-chain, by the second**, the moment the lease ends minus a small platform fee.
- **Agent-Native Compute Rental:** The part nothing else does well. An autonomous agent hits `GET /explorer` (free) to survey live nodes and pick one itself, then `POST /rent/:id` to start a metered session no human, no clicks, no per-action signing.
- **Quick Throwaway Environments:** Need a clean, isolated box to test something risky or run untrusted code? Every lease is a fresh hardened container that's destroyed on release; nothing persists.
## 🛡️ How It Makes Tasks Easier, Faster, and Safer
- **One Signature, Not Many (Prepaid + Metered):** You top up once; after that, renting just spends your prepaid balance. No per-action wallet popups, no x402 usage is metered continuously but charged **once at release**, prorated to the exact seconds used.
- **You Give Compute, Never Access:** A contributor never hands over their filesystem or account. The renter only ever touches an ephemeral, hardened Docker container **no host mounts, no host network, nearly all Linux capabilities dropped, `--no-new-privileges`**, plus hard CPU/memory/PID caps — destroyed the instant the lease ends.
- **Nothing To Expose At Home:** The renter reaches the box through a `bore` tunnel that runs *inside* the sandbox, so a contributor never opens a port on their own machine. When the container dies, the tunnel dies with it.
- **No Runaway Bills:** If your balance can't cover the running time, the session stops automatically; worst case, you overrun by a single meter tick.
- **Double-Spend-Proof Ledger:** Deposits are credited idempotently per Algorand transaction ID, so a confirm can never be counted twice, and settlement bills are exactly once on release.
## Challenges we ran into
**Hardening the sandbox without breaking SSH.** The whole pitch rests on the container being locked down drop nearly every Linux capability, `--no-new-privileges`, no host mounts, no host network. The problem: the moment I actually applied that, `sshd` refused to start. Dropping `setuid`/`setgid` means sshd can't fork a session and demote to the logged-in user, and `no-new-privileges` blocks the privilege transition outright. So I had the choice every "secure sandbox" hits a box nobody can log into, or a box that isn't really sandboxed. I worked through it by treating capabilities as an allowlist instead of "drop all": add back only `CAP_SETUID`, `CAP_SETGID`, and `CAP_CHOWN` (the minimum sshd needs to set up a session), keep everything else dropped, and keep the hard CPU/memory/PID caps. The renter gets a real shell; the container still can't touch the host.
**Getting the renter to the box without the contributor opening a port.** A contributor sharing their PC should never have to port-forward or expose anything on their home network that kills adoption and it's a security footgun. My first version tunnelled from the *host*, which meant the daemon was the thing listening, and that's exactly what I didn't want. The fix was to move `bore` *inside* the sandbox: the tunnel client runs in the ephemeral container, dials out, and the public `host:port` it gets back is what the renter SSHes into. Nothing is ever opened on the contributor's machine, and when the lease ends and the container dies, the tunnel dies with it no dangling exposure.
**Making sure a deposit could never be credited twice.** Balances live off-chain in Neon, credited when the registry confirms an on-chain deposit. Early on a confirm could fire more than once (poll + retry), and that double-credited the balance free money, which is the worst possible bug for a payments system. I made crediting idempotent on the Algorand transaction id: the credit is an upsert keyed on `txid` with a unique constraint, so a repeated confirm is a no-op. Same principle carried into billing usage is metered continuously but charged exactly once at release, prorated to the second, so there's no path to double-charge either.
---
Screenshots
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.










