practical guides for using ai coding agents securely and effectively. setup with bondage, optional envchain-xtra, nono sandboxing, and workflow patterns that hold up in real use.
be specific. define format, length, tone, audience, constraints.
give context. background, examples, and goals lift output quality.
iterate. refine, adjust, build on previous responses.
think in systems. chain prompts. break complex tasks into steps.
architecture
the hard part is not only installing tools. it is deciding where trust should live, how screenshots should work, and what a real escape hatch looks like.
- agent-stack— bondage, envchain-xtra, and nono with separate tested/current versions, secret pinning, and explicit network policy.arch
- analytics-privacy— block non-essential analytics, telemetry, experiments, and error reporting.arch
- vendor-independence— keep instructions, plugins, and security layers portable across clients.arch
- claude-to-codex-plugins— turn a Claude-first plugin into a Codex first-class target without forking the workflow.arch
- visual-inspection— accessibility tree first, localhost screenshot service when pixels matter.arch
- sandbox-profiles— shape tiers and keep active profile policy read-only from normal agents.arch
agents
run ai coding agents with the preferred stack: bondage for launch policy, optional envchain-xtra for secret release, nono for kernel sandboxing.
- claude-code— Anthropic's CLI launched through bondage with kernel sandboxing and explicit network controls.cloud
- opencode— current TypeScript multi-provider agent with env-substituted credentials and external sandboxing.cloud
- codex— OpenAI CLI with ChatGPT or API-key auth, bondage launch policy, and current nono profiles.cloud
- pi— minimal TypeScript agent with pinned Node, least-privilege credentials, current Nono network caveats, and a local ds4 side profile.cloud
local inference
set up local model runtimes and machines that can back coding agents without turning benchmark data into setup instructions.
- llama.cpp— local llm inference with explicit gpu authorization and model-path isolation.local
- ollama— local model manager with explicit gpu authorization, daemon sandboxing, and optional remote keys.local
- qwen3-tts mlx— local Apple Silicon voice generation with MLX-Audio, reference clips, Markdown chunking, inspection, and repair.local
- ds4 mbp m5-128— run DeepSeek V4 Flash locally with ds4-agent experiments, native/server distinctions, and corrected Claude auth.local
- codex-ds4 private— run Codex against a loopback-only DwarfStar server with isolated state, a scrubbed environment, and all non-local networking blocked.local
- ds4-agent setup— build native ds4-agent, use non-interactive mode, pin local or Spark paths, and keep experiments isolated.local
- ds4 wiki profile— run native ds4-agent as an opt-in LLM Wiki profile with portable paths, explicit wiki instructions, disposable fixture tests, and public-safe local defaults.local
- ds4 dgx spark— run DeepSeek V4 Flash on NVIDIA Spark with the correct native-agent and server launch paths, localhost serving, and SSH tunnels.local
- dgx-spark— set up a local nvidia box for ollama, qwen3-coder, and side profiles.local
evaluation
compare local model progress and cloud side profiles with dated runs, repeatable parameters, and hardware sizing tools.
- benchmarks— frozen comparable runs plus clearly separated Qwen3.8 dual-Spark and DeepSeek V4.1 candidate status.eval
- ds4-agent vs codex— public benchmark reality check for native ds4-agent, non-interactive mode, and Codex frontier.eval
- llm hardware calculator— model memory, kv cache, hardware fit, and single-user decode estimates.calc
workflow
get more from coding agents with better prompts, context management, and automation.
- claude-md— instruction budget, progressive disclosure, agents.md cross-tool standard.flow
- mcp-servers— connect agents to external tools via model context protocol.flow
- prompting— explore-plan-implement-commit, stepwise prompting, verification.flow
- hooks— 26 lifecycle events, 5 handler types, skills, ci/cd.flow
- context— compaction, session management, subagents, worktree isolation.flow
- agentnoise— White Noise phone control for local agents, media/wiki ingest, fake-phone tests, and stable 0.1.44 vs Dark Matter alpha installs.remote
- llm-wiki— 1.0 durable agent memory with fuzzy routing, source provenance, rehydration, adapters, Ideas, Projects, and five runtimes.flow
- llm-health— 0.0.34 local-first health hub, Assessment UI, reports, source audit, archives, and sparse genomics workflows.flow
featured
llm hardware calculator
pick any text-generation model on huggingface — see what hardware can run it, how much memory it needs, and a single-user decode tok/s estimate. moe-aware: active params drive speed, full params drive memory. covers apple silicon, dgx spark (1×–8×), rtx, amd strix halo. open the calculator →
- fetches model specs directly from huggingface (no backend)
- memory breakdown: weights + kv cache + overhead
- multi-spark factors capture the 3× pp=3 slowdown
- shareable urls (e.g.
/calculator/?model=Qwen/Qwen3-30B-A3B&ctx=131072)
local ai benchmark registry
follow measured local model progress across m5 max, dgx spark, ds4, ds4-agent, ollama, mlx, llama.cpp, sglang, and vllm. recent deployments are separated from the frozen comparable baseline so a successful install is never mistaken for a benchmark win. open benchmarks →
- daily-agent and practical-suite pass rates, not just token speed
- model/runtime settings preserved with every row
- cloud profiles labeled separately from local hardware runs
- clear defaults and rejected profiles
- downloadable scripts with privacy redaction defaults
llm-wiki
give coding agents durable, source-backed memory. llm-wiki 1.0 separates immutable evidence, compiled knowledge, operational state, and redacted session context, then routes fuzzy requests to the right workflow. read the guide →
- parallel multi-agent research from academic, technical, and contrarian angles
- thesis-driven investigation with for/against evidence scoring
- session capture and compact rehydration without full transcript storage
- private adapters, Ideas, Projects, inventories, datasets, and checkpoints
- Claude Code, Codex, DeepSeek Harness, OpenCode, and portable agents
llm-health
install the 0.0.34 local-first health intelligence workspace with a private hub, fuzzy @health input, Assessment UI, review artifacts, reports, source audit, archives, and guarded sparse genomics. read the install guide →
- homebrew install plus explicit own-risk agreement gate
- alias-only hub setup for labs, wearables, records, and self-reported context
- claude code, codex, opencode, pi, and portable agents.md surfaces
- local Assessment board, doctor/family reports, source vault, and privacy-scanned archives
- sparse local genomics matching with confirmation-first boundaries