Build sharper paths through AI, knowledge & complex systems. An independent systems studio at the edge of AI and the built world — shipping from the terminal, not hype.
The latest articles
Long-form essays on AI engineering, knowledge management, agentic systems, and the built world. Each piece is researched, source-cited, and built to be useful — not a hot take, not a thread-bait.
- Context Engineering: The Discipline That Ate Prompt Engineering · 2026-09-18 · 31 min
Prompt engineering asked what words; context engineering asks what configuration of context is most likely to produce the desired behavior — curated every turn, because the window is a budget. The full map: the 2025 coining, the measured evidence, the four levers, a 14-pattern playbook with code, and the honest counter-theses.
- Zero Data Retention: Using Cloud AI Without Leaving Your Data Behind · 2026-09-16 · 18 min
Frontier models only run in the cloud — but does that mean handing your business secrets to a provider? Zero Data Retention is the answer. This article breaks down the technology, compares the policies of Ollama Cloud, OpenAI, Gemini, and Anthropic against their own documentation, shows the risks that ZDR does not solve, and delivers a verifiable due-diligence plan for companies.
- Gradio: the #1 interface for machine learning — one line between a model and the world · 2026-09-13 · 17 min
A model nobody can use is just a liability. Gradio is the interface layer that made machine learning usable: wrap any Python function in a browser UI with one line, from a single gr.Interface to full multi-page Blocks apps and ChatInterface LLM frontends — then share it with a public URL or deploy it to Hugging Face Spaces, the home of ML demos. Created by Abubakar Abid at Stanford and stewarded by Hugging Face, Gradio has become the default way the world touches AI. This is the complete tour.
- Open WebUI: the self-hosted AI command center every organization needs · 2026-09-13 · 15 min
Your teams are already using AI — a dozen SaaS subscriptions, data leaking at every boundary, and zero governance. Open WebUI is the antidote: one self-hosted, provider-agnostic command center that connects local Ollama models and cloud APIs, wraps them in SSO, RBAC, audit logging and RAG, and runs entirely inside your own perimeter. Here is why organizations from Samsung Semiconductor to Astellas Pharma are deploying it — and how you can be running it tonight.
- Streamlit: the fastest path from a Python script to a live data app · 2026-09-13 · 18 min
Streamlit turns plain Python scripts into interactive web apps without writing a single line of HTML, CSS, or JavaScript. Here is an exhaustive tour: how its rerun architecture works, every widget type, caching and session state, multi-page apps, custom components, theming, deployment, security, and how it compares to Dash, Gradio, and Panel.
- Graphiti: the temporal knowledge graph that gives agents a memory of time · 2026-09-09 · 14 min
Most knowledge graphs are a snapshot frozen at index time. Graphiti is built for the opposite: facts that change, get superseded, and need to be queried as they were true. Here is how temporal context graphs work, why they beat static GraphRAG for agents, and a working Docker Compose stack to run one tonight.
Tutorials that ship
Hands-on, real, source-verified lessons. A fresh tutorial lands here every day — a Linux command in the morning, a pandas method an hour later — plus deep-dives into the stack that runs this site. Each one comes with a working example, a CLI-reference cheat table, and the honest pros and cons of using it in production.
- alias — give commands safe, memorable shortcuts · 2026-09-19 · 4 min
Rename the commands you type daily into two keystrokes — and learn why your scripts ignore them.
- gr.ChatInterface — a full chat UI in one line · 2026-09-19 · 4 min
One Python function in, one chatbot web app out: ChatInterface wraps Blocks, Chatbot, Textbox and buttons into a ready-made chat demo.
- pandas sort_values() — order rows by one or more columns · 2026-09-19 · 4 min
Sort a DataFrame by column values: top-N reports, two-key ordering, NaN handling, stable ties, and the key= trick for messy codes.
- ln — create hard and symbolic links · 2026-09-18 · 5 min
Point one name at another file or directory with hard and symbolic links — version a config, alias a binary, or keep two trees in sync with nothing more than a pointer.
- gr.load() — one line to a working UI for any HF model or Space · 2026-09-18 · 5 min
Point gr.load() at a Hugging Face model or Space and get a rendered Gradio app back — plus the .load() event for page-open hooks.
- pandas to_parquet() — write DataFrames as fast columnar Parquet files · 2026-09-18 · 4 min
Write typed, compressed columnar files your future self can load in milliseconds — with optional Hive-style partitioning.
- which — where is that program, really? · 2026-09-17 · 4 min
Answers the oldest sysadmin question — where does a command live on disk — and is the tiny tool that catches half your 'command not found' mysteries.
- gr.Blocks — freeform app layout with full control over data flow · 2026-09-17 · 5 min
Gradio's low-level layout API: mix any components, wire any event, and build multi-step apps that Interface can't express.
- pandas to_csv() — write DataFrames to CSV exactly the way the recipient needs them · 2026-09-17 · 5 min
The export half of every pandas workflow: index control, European decimals, filtered subset reports, on-the-fly gzip, and the traps that bite.
- env — set, strip, and run commands in a custom environment · 2026-09-16 · 4 min
The quiet utility that injects, unsets, and wipes environment variables around a single command — and the engine behind every #!/usr/bin/env shebang.
- gradio launch() — the call that turns your Blocks into a running web app · 2026-09-16 · 5 min
One call boots a FastAPI server, opens the queue, hands back (app, local_url, share_url) — with tunnel, auth and MCP as switches.
- pandas nlargest(keep=...) — win the tie-break instead of losing it · 2026-09-16 · 4 min
The keep parameter nobody sets decides who survives a tie: the first row, the last, or all of them. Same query, different row.
- crontab — schedule recurring jobs · 2026-09-15 · 6 min
Run commands on a schedule: every hour, every day at 3am, every Monday. The original Unix scheduler.
- gradio Blocks layouts — Row, Column, Tabs, Accordion, Group and Sidebar · 2026-09-15 · 5 min
The with-blocks that turn a component pile into an interface: rows, columns, tabs, accordions, groups and a collapsible sidebar.
Tools that ship
Single-purpose agent tools, composable like unix pipes. Each one is published to npm, versioned honestly, and built to be run from a terminal — no dashboards, no marketing sites, just throughput.
- kmailai v0.2.1 · stable
the Kmail AI coding agent, in your terminal
- kmail-memo-agent v1.0.0 · stable
unified memory + semantic grep for AI agents
- kmail-save-tokens v0.1.3 · stable
translate coding-agent prompts into token-efficient instructions
- eu-ai-act v1.0.0 · stable
navigate, understand and apply the EU AI Act from your terminal
- bim-execution-plan v0.1.0 · stable
author, version and validate ISO 19650 BIM Execution Plans
- ascii-studio v3.0.0 · stable
turn any image into ASCII art, right in your browser
- mermaid-canvas v1.0.0 · stable
write Mermaid code, watch the graph render live
Knowledge management, the discipline
Turn what an organization knows into what it ships. A field guide to knowledge management — its concepts, its process, its methods, and the technology that powers it today. Each topic lives on its own page so you can go as deep as you want, and five interactive tools (SECI spiral, knowledge tree, knowledge audit, tacit-knowledge wizard, and a RAG pipeline) let you put the theory to work.
- Core concepts
Tacit, explicit & implicit knowledge, the DIKW staircase, SECI, ba, absorptive capacity, communities of practice — the foundational vocabulary of the discipline, with citations and real examples.
- The 5-phase process
Identify → Collect → Secure → Transfer → Use. The cycle that turns scattered knowledge into a working organizational capability, with pitfalls and best practices at every step.
- Methods & techniques
After-action reviews, knowledge audits, peer assists, Knowledge Cafés, storytelling — the proven techniques for moving tacit know-how into organizational memory.
- Technology
Knowledge graphs, vector search, RAG, docs-as-code, semantic search, agent memory, MCP, GraphRAG — the modern stack that powers knowledge systems in 2026.
- The knowledge tree
Watch knowledge grow — from tacit roots to a trunk of record, branches of practice, leaves of outcomes. A visual model of how knowledge scales inside an organization.
- A practical KM method
A working, industry-proven method for keeping knowledge alive — built around the knowledge document and a four-phase process you can run Monday morning.
→ open the field guide · → glossary
One engineer, three pillars
Mohammed Kmail trained as an architect at TU Wien and has worked on real places — hotels in the Emirates, the Grand Hyatt, the full arc of planning, design, and execution — before the drawing board taught him that buildings are also data. From there, parametric design in 2014, BIM and the BIM manager role, and the move into data and programming. Today he works at the public sector on the class of agentic AI development: systems that don’t just learn, but plan, act, and build.
The three pillars of this site are knowledge management (the discipline of making what an organization knows work harder than the people who happen to hold it right now), AI expertise (machine learning and agentic AI engineered end-to-end, with the arc now pointed at systems that think), and architectural design & BIM (the built world origin that grounds the rest — buildings were the first problems to teach him systems thinking).
Everything on this site is shipped from a terminal, not from a marketing site. Tutorials, tools, a full knowledge management field guide, and the long-form essays that pin the work to the people who care about it. The build, the deploy, and the daily lessons are open — read them, fork them, and ship from the terminal too.