Uma cloud para software pequeno. O agente de IA publica a ferramenta com um comando, e você compartilha o link como compartilha um documento.A cloud for small software. The AI agent ships the tool with one command, and you share the link the way you share a doc.
Com um agente de IA, uma ferramenta interna fica pronta numa tarde. Depois ela fica no laptop de quem fez.With an AI agent, an internal tool is ready in an afternoon. Then it stays on the laptop of whoever built it.
Para um colega usar um relatório de vendas ou uma escala de plantão, o app precisa de coisas que ninguém quer escrever para uma ferramenta desse tamanho: tela de login, controle de quem entra, um lugar seguro para a chave da API e alguma forma de saber o que está no ar. O atalho comum é subir numa hospedagem qualquer, com a URL aberta e a chave numa variável de ambiente. O Smallyard parte de que essas quatro coisas fazem falta no segundo usuário, e por isso elas já vêm ligadas no primeiro deploy.For a teammate to use a sales report or an on-call schedule, the app needs things nobody wants to write for a tool that size: a login screen, control over who gets in, a safe place for the API key and some way to know what is live. The usual shortcut is to push it to any host, with an open URL and the key in an environment variable. Smallyard starts from the idea that you miss those four things by your second user, so they come switched on with the first deploy.
A decisão de produto foi não competir em hospedagem. Publicar com um comando já existe em vários lugares. O que não vinha junto era o que uma ferramenta interna precisa para sair do laptop sem expor dado nem chave. Por isso a plataforma fica em dois pontos de todo app: na frente, decidindo quem entra, e na saída, decidindo qual chave vai para qual host. O código que o agente escreveu não implementa autenticação e não carrega credencial.The product decision was not to compete on hosting. Shipping with one command already exists in many places. What didn't come with it was what an internal tool needs to leave the laptop without exposing data or keys. So the platform sits at two points of every app: in front, deciding who gets in, and at egress, deciding which key goes to which host. The code the agent wrote implements no authentication and carries no credentials.
O deploy acontece no terminal, dentro da conversa com o agente. No painel, o botão de publicar copia o prompt para colar nessa conversa.Deploy happens in the terminal, inside the conversation with the agent. In the panel, the publish button copies the prompt to paste into that conversation.
Você diz “publica isso”. O agente roda npx smallyard deploy, que empacota o projeto, envia e devolve um endereço em nome.smallyard.cloud. Publicar de novo mantém o endereço e sobe a versão. A CLI funciona com Claude Code, Codex e Cursor, e smallyard init --agent escreve o mesmo guia para os três.You say “ship this”. The agent runs npx smallyard deploy, which bundles the project, uploads it and returns an address at name.smallyard.cloud. Ship again and the address stays while the version goes up. The CLI works with Claude Code, Codex and Cursor, and smallyard init --agent writes the same guide for all three.
Todo comando aceita --json. O resultado sai no stdout, e uma falha traz um code estável, igual em qualquer idioma, e um hint com o que fazer. O agente decide pelo código, nunca pelo texto.Every command takes --json. The result goes to stdout, and a failure carries a stable code, the same in any language, and a hint saying what to do. The agent decides by the code, never by the text.
O link do app é o objeto que circula. Copiar o endereço e mandar para alguém é a ação mais comum do painel.The app's link is the object that travels. Copying the address and sending it to someone is the most common action in the panel.
Compartilhar é dizer um e-mail e um papel, pelo painel ou ao agente. Quem recebe abre o link e entra com a conta Google, sem criar senha. O papel também chega ao app num cabeçalho, para o código decidir o que cada pessoa vê lá dentro.Sharing means giving an email and a role, in the panel or to the agent. The person opens the link and signs in with a Google account, with no password to create. The role reaches the app in a header too, so the code decides what each person sees inside.
| O que podeWhat they can do | DonoOwner | Editor | LeitorViewer |
|---|---|---|---|
| Usar o appUse the app | podeyes | podeyes | podeyes |
| Publicar versão e voltarShip a version and roll back | podeyes | podeyes | nãono |
| CompartilharShare | podeyes | nãono | nãono |
| Segredos e hosts de saídaSecrets and egress hosts | podeyes | nãono | nãono |
| Apagar o appDelete the app | podeyes | nãono | nãono |
Cada deploy vira uma versão, com número que só sobe. Voltar para a 6 cria a 8 com o conteúdo da 6, e a 7 continua na lista. O endereço não muda, e quem está usando não precisa entrar de novo.Every deploy becomes a version, with a number that only goes up. Rolling back to 6 creates 8 with the content of 6, and 7 stays on the list. The address doesn't change, and whoever is using the app doesn't have to sign in again.
O que não volta atrás é dito antes de confirmar. Voltar versão troca o código e os arquivos, e o banco fica como está. Por isso as migrations só somam: acrescentam coluna e tabela, e não renomeiam nem apagam o que uma versão anterior usa.What can't be undone is said before you confirm. A rollback swaps the code and the files, and the database stays as it is. That's why migrations only add: they add columns and tables, and never rename or drop what an earlier version uses.
Voltar não apaga nada: cria uma versão nova com o conteúdo da antiga.
O app passa a servir o conteúdo da versão 6, publicado como versão 8. O endereço não muda.
Todo pedido a um app passa por dois pontos da plataforma. O login e as chaves ficam neles, fora do código que o agente escreveu.Every request to an app goes through two points on the platform. Login and keys live there, outside the code the agent wrote.
Por baixo é Cloudflare Workers for Platforms. Cada app é um Worker num namespace de dispatch. Um Worker da plataforma recebe todo pedido em *.smallyard.cloud e decide, pelo subdomínio, para qual app ele vai. Na volta, todo fetch do app sai por outro Worker da plataforma.Underneath is Cloudflare Workers for Platforms. Each app is a Worker in a dispatch namespace. A platform Worker receives every request to *.smallyard.cloud and decides, by subdomain, which app it goes to. On the way out, every fetch the app makes leaves through another platform Worker.
A pessoa abre o link que recebeu.The person opens the link they got.
Confere a sessão e a lista de acesso. Sem sessão, a pessoa vai para o login. Sem acesso, o código do app nem roda.Checks the session and the access list. No session, and the person goes to login. No access, and the app's code never runs.
Recebe quem é a pessoa e o papel dela em cabeçalhos. Pode ter um banco SQLite só dele.Gets who the person is and their role in headers. It can have a SQLite database of its own.
Põe a credencial do cofre no pedido e barra todo pedido HTTP para host fora da lista.Adds the vault credential to the request and blocks every outbound HTTP request to a host off the list.
Recebe o pedido já autenticado. O código do app não recebe a chave.Gets the request already authenticated. The app's code never receives the key.
Cada app é um Worker isolado dos outros, em modo não confiável e com cache próprio. Cada um fica no seu subdomínio, e a plataforma tira o Domain dos cookies que o app grava.Each app is a Worker isolated from the others, running in untrusted mode with its own cache. Each gets its own subdomain, and the platform strips Domain from the cookies the app sets.
A sessão de cada app é um token assinado que vale 15 minutos e é renovado conferindo o acesso de novo. O caminho quente não consulta banco, e um acesso retirado deixa de valer em até 15 minutos.Each app's session is a signed token valid for 15 minutes, renewed by checking access again. The hot path never hits a database, and a removed access stops working within 15 minutes.
O app lê quem é a pessoa em cabeçalhos X-Smallyard. Um cabeçalho com esse prefixo que chega de fora é apagado antes de a plataforma pôr os de verdade.The app reads who the person is from X-Smallyard headers. A header with that prefix arriving from outside is erased before the platform sets the real ones.
Os segredos ficam cifrados com AES-256-GCM e entram no pedido só na saída, para o host a que estão ligados. Nenhum comando devolve o valor, e host fora da lista recebe 403.Secrets are encrypted with AES-256-GCM and join the request only at egress, for the host they are tied to. No command returns the value, and a host off the list gets a 403.
O banco de cada app é um SQLite em D1. O deploy aplica as migrations pendentes antes de trocar o código. Se uma falha, a versão no ar continua, e migration que apaga dado é recusada sem uma flag explícita.Each app's database is a SQLite on D1. Deploy applies pending migrations before swapping the code. If one fails, the live version stays, and a migration that deletes data is refused without an explicit flag.
O banco da plataforma é Postgres, acessado pelos Workers via Hyperdrive com Drizzle. Os contratos em Zod são os mesmos na API, na CLI e no painel, porque tudo é TypeScript.The platform's database is Postgres, reached from Workers through Hyperdrive with Drizzle. The Zod contracts are the same in the API, the CLI and the panel, because it's TypeScript end to end.
A CLI entra por fluxo de dispositivo: pede um código e você aprova no navegador. O servidor MCP local e o conector remoto usam a mesma sessão. O conector gerencia apps e acessos; publicar fica na CLI, que lê o disco.The CLI signs in through a device flow: it asks for a code and you approve it in the browser. The local MCP server and the remote connector use the same session. The connector manages apps and access; shipping stays in the CLI, which reads the disk.
O painel roda sem unsafe-inline e sem eval, com as fontes servidas pelo próprio build. A plataforma também recusa pedido que muda estado vindo de outra origem.The panel runs without unsafe-inline or eval, with fonts served from its own build. The platform also refuses state-changing requests coming from another origin.
O nome diz o que o produto é: o quintal do software pequeno, um lugar cercado onde só entra quem foi chamado. A paisagem de céu e grama vem daí. A cerca aparece onde há uma porta: fechada na tela de quem não tem acesso, com o portão aberto no fim da landing.The name says what the product is: the yard of small software, a fenced place where only the invited get in. The sky and grass landscape comes from that. The fence shows up where there's a door: closed on the screen of someone with no access, with the gate open at the end of the landing page.
As primeiras direções eu descartei: controles tímidos, cinza demais e estrutura de SaaS comum. A que ficou usa o azul do céu com preto e branco, botão preto e reto, linha fina de 1px no lugar de sombra e títulos em Funnel Display leve. A grama não é imagem. Ela é pintada em canvas por código, e a mesma cena dá sempre o mesmo desenho.I discarded the first directions: timid controls, too much gray and the structure of a common SaaS. The one that stayed uses sky blue with black and white, a straight black button, a thin 1px line instead of shadow and headings in light Funnel Display. The grass isn't an image. It's painted on canvas by code, and the same scene always gives the same drawing.

Construo o Smallyard com uma equipe de agentes de IA, cada um com um papel. As decisões de produto continuam comigo.I build Smallyard with a team of AI agents, each with a role. The product decisions stay with me.
Um agente coordena, e os outros cuidam de código, segurança, design e texto. O que mantém isso de pé é a escrita. Specs numeradas dizem o que construir e em que ordem, e cada uma tem checkpoints com um comando ou uma evidência para conferir. Todo trabalho entra por pull request, revisado antes do merge, com o CI rodando lint, tipos, build e testes. Cada decisão minha fica registrada na spec, com a data.One agent coordinates, and the others handle code, security, design and copy. What holds it together is writing. Numbered specs say what to build and in what order, and each has checkpoints with a command or a piece of evidence to check. All work comes in through pull requests, reviewed before merging, with CI running lint, types, build and tests. Each decision of mine is recorded in the spec, with its date.
O aprendizado até aqui: com agentes escrevendo o código, o gargalo passa a ser a clareza do que se pede. Um checkpoint que dá para conferir rende mais do que um prompt longo.The lesson so far: with agents writing the code, the bottleneck becomes how clearly you ask. A checkpoint you can verify pays off more than a long prompt.