TheAILAB blog · page 2 of 2

Notes from the lab.

We write about the things we build: automating everyday business work, running AI on your own hardware, and turning trading rules into automated systems. When we state a fact, we link to where it came from.

Data Privacy & Security7 min read

Least-privilege API keys and secrets for your automations

How to scope, store, rotate and revoke the API keys your scripts, workflows and AI agents use, based on OWASP, GitHub, AWS and Google Cloud guidance.

Read article

Algorithmic Trading6 min read

Position sizing basics: fixed fractional, vol targeting and Kelly

How fixed fractional sizing, volatility targeting and the Kelly criterion decide trade size, with worked numbers and the caveats that matter in live trading.

Read article

Local AI6 min read

Open-weight model licences: what you can do commercially

What the Llama 4, Gemma, Apache 2.0 and Mistral licence texts actually allow for commercial use, fine-tuning, redistribution and naming.

Read article

Data Privacy & Security7 min read

NIST's AI risk management framework, explained in plain English

What the NIST AI RMF actually asks you to do, how Govern, Map, Measure and Manage fit together, and how a small team can use it without drowning in paperwork.

Read article

AI Automation7 min read

Structured outputs and function calling for reliable LLM automation

What structured outputs and function calling guarantee, where the guarantee stops, and how to design schemas and checks so an LLM can safely feed an automation.

Read article

Custom Software7 min read

SQLite in production: when it's the right choice and when it isn't

Use the SQLite docs' own checklist to decide if it suits your internal tool, then set up WAL, busy timeouts, foreign keys and safe backups.

Read article

Data Privacy & Security6 min read

The Australian Privacy Act and AI tools: a guide for small businesses

What the OAIC expects when your business uses ChatGPT-style tools or automated decisions, and the new privacy policy rule that starts on 10 December 2026.

Read article

AI Automation6 min read

How to evaluate an AI automation before you trust it

Build a test set from real work, grade outputs with code and careful LLM judges, read the failures, and decide where human review stays before you go live.

Read article

Local AI7 min read

Ollama vs llama.cpp vs vLLM: which local LLM tool fits the job

How Ollama, llama.cpp and vLLM differ in hardware support, concurrency and setup, and how to pick one for a laptop, a team server or a busy API.

Read article

Local AI6 min read

How much VRAM do you need to run an LLM locally?

Work out the GPU memory a local LLM needs from its parameter count, quantisation and context length, with worked examples from official docs.

Read article

Algorithmic Trading5 min read

Why your backtest looks better than your live trading results

Overfitting, look-ahead bias, survivorship bias and missing costs explain why most backtests disappoint in live trading. Here's how to catch each one.

Read article

Data Privacy & Security4 min read

Prompt injection: the security risk every AI automation must plan for

Prompt injection lets text hidden in emails, documents or web pages hijack an AI assistant. What it is, why there's no full fix, and how to design around it.

Read article