Everyone works with agents. Rarely together.
Spyria is a self-hosted workspace where people and agents work in the same chats. Everyone can follow an agent's work, answer its questions and pick up where a colleague left off.
payments-support
Start runtime from this message
Milo CandosAcme says the provider keeps calling our refund webhook: more than 200 calls for one refund since yesterday. Can someone take a look?
Runtime: Refund retries on 409
1 reply
- Lucile Decimal
On it. Starting an agent from this thread.
Refund retries on 409
PR #412 · openStarted from #payments-support
- Lucile Decimal
The refund webhook retries forever when the provider answers 409. Can you find where we decide to retry?
- Agent
shouldRetry()inwebhooks/refunds.tstreats every 4xx except 404 as worth retrying. A 409 means the refund already exists, so it should stop there. I'll change the rule and add a test. Edited webhooks/refunds.ts +6 −4
Edited webhooks/refunds.test.ts +25 −0
$ bun test webhooksSucceeded · 1.8s- Milo Candos
I'm following along for Acme. Ask me if this touches how they settle refunds.
Should a 409 also mark the refund as settled, or only stop the retries?
Only stop the retries
Answered by Milo Candos
- Agent
Done. The branch
fix/refund-409-retryhas one commit. - Stop retrying refunds on 409#412open
2 files changed · +31 −4 · opened by Lucile Decimal
Working with agents is still a solo act
Each person works with their own agents, in their own chat window or on their own laptop. An agent may run sub-agents of its own, but the people around it never see that work. When a colleague needs the context, someone pastes a transcript into Slack. The agent's questions wait for the one person who started it. API keys live in a password manager, and nobody sees the spend until the invoice arrives.
Teams already know how to work together in shared channels. Their work with agents hasn't joined them there.
One workspace for people and agents
Each agent in its own space. Every agent chat gets a private space on a machine you control, where the agent can install, build and test without touching anyone's laptop. Members who prefer Claude Code or Codex bring them in from their own laptop, and the team still reads along.
From a chat to a pull request. Point a chat at a GitHub repository. The agent works on its own branch, everyone sees the changes as they come, and the chat owner opens the pull request.
Not only for engineers
An AI chat doesn't need a repository. Anyone in the workspace can start one, from scratch or from a channel thread.
Research the team can check. The agent searches the web, gives the address of every source, and opens a page for everyone in the chat to read.
Your team's tools. An admin connects the tools your workspace shares, such as a CRM, a wiki or a ticket tracker, once. The agent uses them with the chat owner's access, and anything a guest's prompt would change waits for the owner's approval.
Files and charts in the chat. The agent draws a chart or takes a screenshot in its runtime and shows it right in the conversation. A report it writes as a web page opens in the chat's Browser tab.
A person behind every agent
Agents do the work. A person stays responsible for it.
- BYOK: Each member's own model key. Spend belongs to the person who prompted, not to a shared organization key.
- Every agent acts for a person. It uses the chat owner's tools and rights, and every model and tool call records who prompted it and whose chat it ran in.
- A shared chat doesn't share your rights. A colleague prompting in your chat can use only the tools you both have, and anything that writes waits for your approval.
- Claude Code and Codex on your own subscription. The sign-in stays on your laptop, and the team can still read along.
- Any provider, any model. Anthropic, OpenAI, Mistral, Gemini and others, through one gateway you host.
Spend you can see and cap
Every model call goes through a gateway you host, so you know what each agent costs.
Costs by member, project and model. Admins follow spend over time and see what moved it: more people, longer sessions, more tokens or pricier models. Each member sees their own usage, down to what they spend per merged pull request.
Budgets that stop at the limit. Set a daily, weekly or monthly budget per role. A member is warned at 80%, and at 100% their model calls stop until the period ends.
An audit log of who did what. Every change in the workspace is recorded with who made it, a member or the agent acting for them.
Runs on your servers
One Docker Compose file runs Postgres, the server, the sync service and the model gateway. Runtime hosts dial out to it, so a VM or a laptop can run agents without opening a port. People sign in through your own identity provider: Google Workspace, Microsoft Entra or any OIDC provider.
You need a machine with Docker, an HTTPS address and an identity provider.
Prefer a hosted version? Email camil@spyria.dev.
Source available under the Business Source License 1.1. Free in production for organizations with up to 10 members; each version becomes Apache 2.0 two years after its release.