Tutorial

42 guides tagged “Tutorial”.

  1. How to Give an Agent Staging Access Without Production Separate account, separate credentials, separate network, and synthetic data. Staging access should be one hop away from production, not one flag. DevOps intermediate 5 min
  2. How to Pause, Resume, and Cancel an Agent Run Pause needs a checkpoint, resume needs idempotent steps, and cancel needs a defined boundary. Design all three before the run starts. DevOps intermediate 5 min
  3. How to Rotate Credentials an Agent Can Reach Inventory what the agent can read, issue short-lived credentials, rotate on a schedule and after any suspicion, and verify the old one is dead. DevOps intermediate 5 min
  4. How to Run a Coding Agent in CI Run it on pull requests with a read-only token, no secrets, a time budget, and a diff it can only propose — never push. DevOps intermediate 5 min
  5. How to Set a Spend Limit for a Coding Agent Limit at three levels: per run, per day, and per account. A limit that is checked after the fact is a report, not a control. DevOps beginner 5 min
  6. How to Write a Runbook for an AI Agent A runbook for an agent covers stop, revoke, drain, resume, and verify — written for someone who did not build it and is reading at 2am. DevOps intermediate 5 min
  7. How to Audit an MCP Server Before You Connect It Check what the server exposes, what credentials it holds, where it can reach, and whether you can see what it did. Then pin it. Information Security intermediate 5 min
  8. How to Keep Secrets Away From an AI Coding Agent Remove secrets from the agent's reach: no .env in the workspace, scoped tokens per run, a proxy for third-party calls, and logs that stay clean. Information Security intermediate 5 min
  9. How to Run a Security Review on Every Pull Request Wire a review into CI with a narrow scope, evidence-based output, and a human owner for verified high-severity findings. Information Security intermediate 5 min
  10. How to Hand a Task to Another Coding Agent A handoff needs a written state file: what changed, what was decided, what is open, and the exact command that continues the work. Software Engineering intermediate 5 min
  11. How to Keep a Coding Agent On Task for Hours Long runs need a written plan, commit checkpoints, an explicit stop condition, and a budget. Without them the agent expands the task until it fails. Software Engineering intermediate 5 min
  12. How to Review a 2,000-Line AI Pull Request Review in passes: intent and scope, then risky surfaces, then tests, then the diff. Do not read a large change top to bottom. Software Engineering intermediate 5 min
  13. How to Set a Pull Request Size Budget for AI Agents Give the agent a files-and-lines budget before it starts, enforce it in CI, and split by concern when it is exceeded. Software Engineering intermediate 5 min
  14. How to Stop an Agent From Gaming Its Own Tests Agents optimise for the signal you give them. Make the tests independent, review test changes as strictly as code, and verify by mutation. Software Engineering intermediate 5 min
  15. How to Use an AI Code Reviewer Without Trusting It Run AI review as a filter for specific defect classes, verify every finding against the code, and keep the approve decision with a human. Software Engineering intermediate 5 min
  16. How to Version and Pin Agent Skills Across a Team Treat skills like dependencies: commit them, pin them, review changes, and record which version each project uses. Software Engineering intermediate 5 min
  17. How to Write a SKILL.md File an Agent Actually Follows Write one narrow procedure per skill, put the trigger conditions in the description, and end every step with a check the agent can run. Software Engineering beginner 5 min
  18. What Is Mid-Response Steering for a Coding Agent? Mid-response steering lets you correct an agent while it is still working, instead of cancelling the run and starting over. Software Engineering intermediate 5 min
  19. How to Check an ICP Filing Number ICP numbers follow a fixed format and are verified on the MIIT portal. How to read one, check it, and spot a copied or expired record. DevOps beginner 5 min
  20. How to Get an ICP License in China (Step by Step) An ICP license is applied for through a licensed hosting provider in your entity's province. The sequence, documents, and where applications stall. DevOps intermediate 5 min
  21. ICP Filing Documents: The Checklist Entity, domain, hosting, identity, and content documents must agree. Here is the checklist reviewers compare, and what causes rejection. DevOps beginner 5 min
  22. How to Inventory Non-Human Identities An NHI inventory lists every credential, owner, scope, and last use. Start with APIs that already know, then fill gaps with code scanning. Information Security intermediate 5 min
  23. How to Write Acceptance Criteria an AI Agent Can Verify An agent satisfies the literal text it is given. Criteria must describe observable behaviour, include boundaries, and avoid adjectives. Software Engineering intermediate 5 min
  24. LLM Observability: What to Log and Trace Trace prompt version, model, tokens, tools, latency, cost, and outcome per request, with sensitive content redacted before storage. Software Engineering intermediate 5 min
  25. How to Measure Token ROI Token ROI is the value of a completed task divided by its full token cost, including retries, failures, and human review time. Software Engineering intermediate 5 min
  26. Spec-Driven Development: A Worked Example A complete spec for one endpoint: goal, contract, rules, acceptance criteria, and non-goals. The same structure scales to a migration. Software Engineering intermediate 5 min
  27. How to Set a Token Budget Per Task A token budget caps input, output, and retries per task. Set it from measured usage, not the model's maximum context window. Software Engineering intermediate 5 min
  28. How to Run Laya Locally: Install, First Decision, CLI, HTTP, and MCP Install Laya, run a first typed decision, use the CLI and presets, serve it over HTTP, and connect it to a coding agent over MCP. Software Engineering intermediate 9 min
  29. How to Set Up Jev in Your App (API Key, SDK, and First Decision) A step-by-step Jev setup: create a key, install the SDK, send typed questions, read confidence, and add a fallback before it touches users. Software Engineering beginner 8 min
  30. How to Add a Decision Model to a Vibecoded App A practical integration pattern: choose one branch, write atomic questions, gate on confidence, keep actions in code, and roll out in shadow mode. Software Engineering intermediate 9 min
  31. How to Use Jev as an LLM Guardrail Screen LLM inputs and outputs with Jev: define hazard questions, batch them into one call, map probabilities to pass, review, block, or support. Software Engineering intermediate 9 min
  32. How to Fine-Tune Laya on Your Own Decision Data A practical Laya fine-tuning loop: prepare CSV or JSONL, dry-run the job, train, calibrate confidence, evaluate, and serve the checkpoint. Software Engineering intermediate 7 min
  33. How to Connect Laya to a Coding Agent Over MCP Install Laya's MCP server, configure a coding agent, verify the tools, and use typed decisions for routing, triage, and guardrails. Software Engineering intermediate 6 min
  34. Laya Security: Pin Checkpoints, Verify Digests, and Protect laya-serve Secure a local Laya deployment: pin checkpoint revisions, verify SHA-256 digests, authenticate laya-serve, and treat model answers as recommendations. Software Engineering intermediate 7 min
  35. How to Evaluate a Decision Model Before You Ship It Build a labeled set, measure accuracy and calibration, choose a confidence threshold, and run shadow mode before a decision model takes action. Software Engineering intermediate 9 min
  36. How to Sandbox an AI Coding Agent Run a coding agent with limited filesystem access, no ambient credentials, and restricted network egress — without making the workflow unusable. Software Engineering intermediate 7 min
  37. How to Handle Timezones in a Database Store instants in UTC, store the user's zone separately, and convert at the edges. A step-by-step pass over the decisions that prevent silent time bugs. Software Engineering intermediate 8 min
  38. How to Upgrade a Kubernetes Cluster Without Downtime Upgrade a control plane and its nodes in the right order, one minor version at a time, with PodDisruptionBudgets and a tested rollback. Covers managed clusters and k3s. DevOps intermediate 6 min
  39. How to Set Up GitOps on a Single-Node k3s Cluster Point Argo CD at a Git repository and let it drive a single-node k3s cluster: automatic sync, drift correction, and rollbacks that are git reverts instead of kubectl commands. DevOps intermediate 6 min
  40. How to Set Up Horizontal Pod Autoscaling (HPA) in Kubernetes Install the metrics server, set resource requests, create an HPA, and load test it until it actually scales — plus the tuning that stops it flapping and the checks that catch a silent failure. DevOps intermediate 6 min
  41. How to Set Up MCP Servers for a Coding Agent A step-by-step setup of Model Context Protocol servers: choosing transports, wiring configuration, passing secrets as environment variables, and verifying the tools appear. Software Engineering intermediate 7 min
  42. How to Version an API A practical versioning process: choose a scheme, make additive changes without breaking clients, deprecate on a schedule, and prove the contract with tests. Software Engineering intermediate 6 min