All AI resources

AIMates resources

AI Cheat Sheets

Quick reference guides for prompts, agents, RAG, APIs, security, deployment, and practical AI workflows.

Prompt Engineering

  • Give role, task, context, format, and constraints.
  • Use examples when output quality matters.
  • Ask the model to explain assumptions.
  • Iterate instead of expecting perfection in one prompt.

AI Agents

  • Define goal, tools, memory, and boundaries.
  • Add human approval for high-risk actions.
  • Log important decisions and tool calls.
  • Test failure cases before production use.

RAG

  • Use clean and relevant source documents.
  • Chunk documents carefully.
  • Retrieve before generating.
  • Show sources so users can verify answers.

AI APIs

  • Keep API keys in environment variables.
  • Handle rate limits and retries.
  • Validate model responses.
  • Track cost, latency, and failures.

AI Security

  • Treat user input as untrusted.
  • Avoid sending unnecessary sensitive data.
  • Protect against prompt injection.
  • Use role-based access and audit logs.

AI Deployment

  • Monitor quality, cost, latency, and errors.
  • Use fallbacks for model failures.
  • Keep humans in the loop for critical flows.
  • Review prompts and outputs regularly.