Blog

Architecture

Sandbox Before You Publish

Shipping an agent is a security decision. The prompt, the tools, and the data the agent can see are the agent's behaviour. A wording change can pull in the wrong context. A new data source can widen what the agent is allowed to say. If that change lands straight on the published agent, every customer session is the test environment.

Three states, on purpose

Luminafactory keeps three states: Draft, Sandbox, and Published. Draft is where you describe the agent. Sandbox is where you run it against realistic sessions before anyone in production depends on it. Published is the version your API Key Profiles are meant to call. You promote when the preview matches what you intended.

Draft, Sandbox, and Published stages of an agent
Draft, then sandbox, then publish. Experiments stay off the live agent until you promote them.

The same idea covers how changes are made. Luminafactory is built so a change can be proposed, previewed, and confirmed. Production agents are not overwritten in silence. If a publish was wrong, the path back is the same lifecycle: return to a known version, rotate or revoke a key if the mistake exposed one, and publish again when the sandbox is clean. The loop is complete and reversible.

What to exercise before you promote

  • The context you linked. Data sources should be the ones this agent is supposed to use.
  • The sessions your product will send. Include attachments, follow-up turns, and the empty or hostile prompt, along with the happy path.
  • The spend. Usage and token analytics are visible by application, agent, and model. A sandbox run that burns a budget is a finding.
  • The events. Confirm you can see the session in real time. If you cannot observe it in sandbox, you will not observe it in production.

Fleets and regulated teams

Multi-agent fleets need the same gate. Routing between specialists fails quietly when each specialist was only tested alone. Sandbox is where you run the fleet with production-shaped input and still keep it off the published path.

Teams in regulated industries feel this most sharply. Every change wants a record, and security review becomes the bottleneck when the only environment is production. A sandbox you can point at, plus events you can show, is how you move while the live agent stays stable. The wider Tealslabs stack—Lumina for agent boundaries, Underpin for application controls, Kumbalava for deployment governance—is built for that kind of environment.

Publish when the sandbox matches the experience you promised. Until then, leave the published agent alone. Why products should run agents on Lumina sets the wider case, and regulated environments describes the stack around it.

Share This Post