knaxuslearn · build · ship

Roadmaps / AI / Setup and lab safety

Read first

Setup and lab safety

You need one laptop with 8 GB of RAM or more (16 GB helps for local models), Python, Docker, Postgres with the pgvector extension in a container, and either an API key with a spending limit or a small open-weight model that runs locally. Everything else is free.

RiskRule
Runaway spendSet a hard limit at the provider, add your own per-run token cap in code and stop a run when it is reached.
Real data sent to a modelUse synthetic or public documents only. Never send customer data, secrets or personal data to a hosted model in a lab.
Prompt injection exercisesAttack only your own app on localhost, with test documents you wrote. Never aim an injection test at someone else's system.
Agents with tools can actGive the lab agent only fake tools that write to a scratch file or a test database. No real email, payment or shell tools.