Uki D. Lucas’ blog and portfolio
Portfolio
- A Practical Framework for Safe Deployment of Autonomous AI Agents -
Summary
- Measuring movement with computer vision -
Today, I was measuring my movement using computer vision.
- Multi-agents software development -
A multi-agent foundation LLM is built for parallel, role-separated work on complex problems. It assumes that meaningful software development is not linear. Architecture, implementation, testing, refactoring, validation, and documentation are distinct cognitive tasks that benefit from concurrent execution. In this model, multiple specialized agents operate at the same time within a shared project state. Each agent has a defined role, constraints, and success criteria. One agent may reason purely about system architecture and invariants; another may implement code within a restricted scope; a third may generate or run tests; while a fourth evaluates performance, safety, or maintainability.
- Running a 24B Mistral Model Locally with MLX macOS -
LLM model storage
- Joint Embedding Predictive Architecture (JEPA) -
Overview
- LLM context is not optional -
On numerous occasions, I have heard people say that GPT answers are generic, shallow, or otherwise insufficient.
- Ai languages: One Ruler to Measure Them All -
Artificial intelligence speaks many tongues, yet not all languages are treated equally. Most large language models are trained on vast English datasets, leaving other languages to fill in the gaps with whatever online text exists. For years, this asymmetry shaped an assumption that English would always yield the best results in interacting with AI systems. Recent research has begun to challenge that notion.
- Recurrent Neural Network (RNN) cell in PyTorch -
This minimal PyTorch example implements a custom recurrent neural network (RNN) cell from first principles, showing how sequence memory emerges through feedback. The cell maintains a hidden state vector h, which evolves over time using the current input x and the previous hidden state through the nonlinear update h = tanh(Wₕₕh + Wₓₕx). The output y = Wₕy h is then computed as a simple linear projection of the hidden state.
- Testing local LLM on multi-lingual understanding. -
I have run a quick test on a few LLM models I have installed locally on Mac OS with 64 GB of RAM.
- LM Studio for macOS: Privacy and Open-Source Transparency -
#ChatGPT #byUkiDLucas
- How to get a model from HuggingFace on Mac OS -
How to get a model from HuggingFace on Mac OS
- From Behavioral Sciences to a Career in Sensor Perception and AI -
Every couple of years, I write a post about my career in which I review the past and consider pivots for the future. It is time to post an update for 2025. Because of AI, this year will be the most transformative.
- AIKO, the Tiny Language Model (TLM) -
Introduction: A Language Model of My Own We are surrounded by large language models: systems trained on the vastness of the internet. Models like GPT, Claude, and LLaMA can write essays, answer science questions, explain math, generate stories, and even simulate personalities. But as I’ve written in my blog, I’m not chasing scale. I like to experiment with small language models (SLM)—or, in this case, tiny language models (TLM). Partly because I’m burning midnight oil alone and not a green pile of venture capital money. Training even a mediocre LLM can cost tens of millions of dollars. More importantly, I wanted something that runs locally, privately, and fast. A model that lives on my laptop, not in a server farm. Yes, I know how to fine-tune Mistral 7B and use RAG and CAG. I’ll explain later why I trained a model from scratch instead. I also wanted something more playful: an AI Zen Garden where I cultivate a Collegium of AI personalities. Each is trained to reflect a slice of my inner world with their philosophies, moods, and voices. TLM is the first of these. She does not know all the facts ever written about the world. Instead, she is trained to understand how I see the world—to help me think, reflect, and write in my own voice. She speaks from my blog posts and personal notes collected over the decades. She is not artificial in the corporate sense. She is authentic, with her Japanese spunk and thoughtful presence. This book tells the whole story: how I came up with the idea, how I built it, why a small model can still be wise, and how you might make one, too.
- AI Zen Garden: Multi-Agent LLM Collegium on Your Desktop -
#BeeHiiv #byUkiDLucas #Zen #Buddhism #public
- YOLOv8 -
In this post, I would like to describe the architecture of YOLOv8 from first principles.
Blog Posts
- Tamashii -
Tamashii 魂 is usually translated as “soul,” but in Japanese practice it is less about an inner, metaphysical essence and more about a way of being present in action. When people speak of doing something “with tamashii,” they are not talking about emotion or passion alone. They are pointing to a form of moral and technical alignment, where intention, effort, and execution are inseparable.
- A Practical Framework for Safe Deployment of Autonomous AI Agents -
Summary
- Measuring movement with computer vision -
Today, I was measuring my movement using computer vision.
- Multi-agents software development -
A multi-agent foundation LLM is built for parallel, role-separated work on complex problems. It assumes that meaningful software development is not linear. Architecture, implementation, testing, refactoring, validation, and documentation are distinct cognitive tasks that benefit from concurrent execution. In this model, multiple specialized agents operate at the same time within a shared project state. Each agent has a defined role, constraints, and success criteria. One agent may reason purely about system architecture and invariants; another may implement code within a restricted scope; a third may generate or run tests; while a fourth evaluates performance, safety, or maintainability.
- Running a 24B Mistral Model Locally with MLX macOS -
LLM model storage
- Joint Embedding Predictive Architecture (JEPA) -
Overview
- LLM context is not optional -
On numerous occasions, I have heard people say that GPT answers are generic, shallow, or otherwise insufficient.
- Facing AI Job Loss with the Right Mindset -
I came across Ruri Ohama mentioning a book by Takafumi Horie and Yoichi Ochiai titled: “Job Atlas for 10 Years From Now. How Will You Live in a World That Is About to Begin?”
- Ai languages: One Ruler to Measure Them All -
Artificial intelligence speaks many tongues, yet not all languages are treated equally. Most large language models are trained on vast English datasets, leaving other languages to fill in the gaps with whatever online text exists. For years, this asymmetry shaped an assumption that English would always yield the best results in interacting with AI systems. Recent research has begun to challenge that notion.
- Affordance is Play -
Affordance as a Function of Intent and Action?
- Recurrent Neural Network (RNN) cell in PyTorch -
This minimal PyTorch example implements a custom recurrent neural network (RNN) cell from first principles, showing how sequence memory emerges through feedback. The cell maintains a hidden state vector h, which evolves over time using the current input x and the previous hidden state through the nonlinear update h = tanh(Wₕₕh + Wₓₕx). The output y = Wₕy h is then computed as a simple linear projection of the hidden state.
- Testing local LLM on multi-lingual understanding. -
I have run a quick test on a few LLM models I have installed locally on Mac OS with 64 GB of RAM.
- LM Studio with 12 and 24B local LLM models -
In my LM Studio, I have been using the 12 billion and 24 billion parameter models on my relatively inexpensive Mac Studio M1, which has 64 GB of unified memory.
- LM Studio for macOS: Privacy and Open-Source Transparency -
#ChatGPT #byUkiDLucas
- Exterior design with AI. -
Choice D
- How to get a model from HuggingFace on Mac OS -
How to get a model from HuggingFace on Mac OS
- Human Adaptability -
Historically, humans have thrived because they are useful to one another. Communities naturally ostracized (expelled) malicious or unproductive people, effectively making usefulness synonymous with survival. Being excluded was not merely inconvenient; it often meant death, as individuals rarely survived in isolation.
- AI Tutor inspired by "Brave New Words" -
I have been reading a book, “Brave New Words,” by Salman Khan of Khan Academy, and I got inspired to design an AI tutor (named Maia) for my daughter.
- From Behavioral Sciences to a Career in Sensor Perception and AI -
Every couple of years, I write a post about my career in which I review the past and consider pivots for the future. It is time to post an update for 2025. Because of AI, this year will be the most transformative.
- AIKO, the Tiny Language Model (TLM) -
Introduction: A Language Model of My Own We are surrounded by large language models: systems trained on the vastness of the internet. Models like GPT, Claude, and LLaMA can write essays, answer science questions, explain math, generate stories, and even simulate personalities. But as I’ve written in my blog, I’m not chasing scale. I like to experiment with small language models (SLM)—or, in this case, tiny language models (TLM). Partly because I’m burning midnight oil alone and not a green pile of venture capital money. Training even a mediocre LLM can cost tens of millions of dollars. More importantly, I wanted something that runs locally, privately, and fast. A model that lives on my laptop, not in a server farm. Yes, I know how to fine-tune Mistral 7B and use RAG and CAG. I’ll explain later why I trained a model from scratch instead. I also wanted something more playful: an AI Zen Garden where I cultivate a Collegium of AI personalities. Each is trained to reflect a slice of my inner world with their philosophies, moods, and voices. TLM is the first of these. She does not know all the facts ever written about the world. Instead, she is trained to understand how I see the world—to help me think, reflect, and write in my own voice. She speaks from my blog posts and personal notes collected over the decades. She is not artificial in the corporate sense. She is authentic, with her Japanese spunk and thoughtful presence. This book tells the whole story: how I came up with the idea, how I built it, why a small model can still be wise, and how you might make one, too.
- What did AIKO say about this old article in 2025? -
In 2007, I described the following 1999 concept, please be patient:
- Atlas Shrugged: Strong Ideology but Minimal Individual Action -
#Blogger #byUkiDLucas #book #public
- Slavic saga -
In the beginning, before time itself awakened, there existed only Rod—the eternal, the boundless, the unmanifested source of all existence. Rod lingered in profound silence, beyond form, thought, and sensation. Within this divine stillness lay the seeds of infinite possibility, awaiting the spark that would ignite creation. And so, from the depths of Rod’s infinite mind emerged the first divine thoughts, vibrant and luminous.
- AI zen garden -
I often imagine early humans gathered around a bonfire, sharing stories and chipping away at obsidian shards to create tools. In my own life, I notice a curious parallel: I sit here with my favorite note-taking app, aptly named Obsidian, and chip away at my thoughts, forging new ideas bit by bit. Just as our ancestors used volcanic bits to chip instruments of survival, I use digital chips and bits to build tools of thinking—tools meant to spark creativity and knowledge and deepen my understanding of human nature.
- AI Zen Garden: Multi-Agent LLM Collegium on Your Desktop -
#BeeHiiv #byUkiDLucas #Zen #Buddhism #public
- A Sustainable Homestead Plan in Charlevoix County, Michigan -
#byUkiDLucas #public
A Sustainable Homestead Plan in Charlevoix County, Michigan
- Michigan farm "Up North" - Dreaming about the "Up North" in retirement.
- 022. A Stoic Morning Reflection from Marcus Aurelius - A concise translation note on a passage from Marcus Aurelius.
- Vardlokkur - Working manuscript combining narrative fiction and mythology notes.
- Quanta Qualia AI - a project pioneering a frontier of quantum computing and communication exploring entangled particles such as "traditional" electrons, ions, photons or even neutrinos
- This Is All Greek to Me - Reflections on Greek language, history, and cultural influence across Europe.
- From Brooms to Battle Plans: The Tactical vs Strategic Leaders - A leadership reflection on delegating tactical work and focusing on strategic impact.
- Post 19. Put the best minds of our time in your Inbox. -
I used to hate my e-mail. Today, I look forward to opening it whenever I have a spare moment.
- Modern Thinkers -
In our interconnected world, some brilliant thinkers have emerged as influential internet writers, sharing their insights on technology, personal development, philosophy, and more. If you appreciate the works of Paul Graham, Tim Ferriss, and Gurwinder Bhogal, you’ll likely enjoy the following thinkers as well:
- Meetings, distractions, deep work -
Meetings, distractions, deep work
- How Do You Actively Find Opportunities - Practical steps to improve visibility, profile quality, and career opportunities.
- Post 17. The 15-minute rule. -
How do we attract opportunities? Great opportunities come to everyone all the time, but only trained and prepared people can notice and take advantage of them.
- How Can You Ensure Your Career Is Both Satisfying and Progressing - A framework for career direction through focus, discipline, and intentional micro-pivots.
- Yva, Zoe, and the Mushroom Fairy - A family story about curiosity, nature, and wonder in a magical forest.
- Why Do I Consider Reading the Single Most Important Habit for Success - A short argument for reading as the core habit behind better judgment and long-term growth.
- Post 12. How choosing right friends is a crucial life choice -
Dear Friend
- Post 11. Why it is important to realize you are not special -
Dear Friend
- Ultra-light shoes for hiking in mountains -
Ultra-light shoes for hiking in mountains
- Walk and Listen -
Walk and Listen
- Did search engine results cut the traffic to personal blogs? -
I have noticed a very unsettling statistic on my blog. This prompted a fascinating question about AI, blogs’ future, and maybe even the Internet.
- Why Should We Write Blogs - Why blogging still matters for reflection, legacy, and long-term knowledge sharing.
- What if my passion lies in exploring rather than niching down? -
I watched a video titled “How to Make A $150/Day Affiliate Marketing Blog—For BEGINNERS,” which provides a step-by-step guide to building a profitable affiliate blog. The video stresses the core principles of choosing a niche, creating valuable content, and implementing monetization strategies, which sound straightforward. Yet, in my own blogging journey, I’ve struggled with these elements.
- YOLOv8 -
In this post, I would like to describe the architecture of YOLOv8 from first principles.
- Make a human connection, not a “quid pro quo” proposition -
To make a “quid pro quo” proposition, from Latin, “something for something,” means reaching out to someone assuming that the other party needs something from you, for example, the business you might want to offer.
- Thinking About Entering the Automotive Industry - A practical guide to requirements management, standards, and process expectations in automotive programs.
- Beyond Note-Taking: My Journey with Obsidian and ChatGPT Towards a Personal AI - Exploring how personal notes and AI can evolve into an interactive intellectual legacy.
- Beautiful Mind vs Sterile Formula: The Pathway to Better AI -
#byUkiDLucas #Medium #public
- Dlaczego informatyk miałby być zainteresowany nauką kaligrafii? -
Dlaczego informatyk miałby być zainteresowany nauką kaligrafii?
originalny artykuł po angielsku:
- Why Would a Computer Scientist Be Interested in Learning Calligraphy - A reflection on handwriting, memory, and why handwritten notes still matter in a digital world.
- IR Vision -
#byUkiDLucas #public
IR vision
- Aikido, terminology and etiquette -
Aikido, terminology and etiquette
- How to Write a Math or Data Science eBook -
#byUkiDLucas #public
How to write a Math or Data Science eBook?
- Classification - Machine Learning with Python - IBM AI Engineering certificate program on Coursera -
NOTE: This is a continuation of the: “IBM AI Engineering certificate program on Coursera - Machine Learning with Python” https://uki.blogspot.com/2022/09/ibmaiengineering.html
- Physically and Mentally Young Until the End -
Physically and Mentally Young Until the End
- Everlasting Youth -
#byUkiDLucas #Medium #public
- My Dream Assistant Should Know Me Better -
Today, Siri, Alexa, and Google Assistant are sometimes useful, sometimes fun, but honestly, very limited. They often return a generic answer or a bland web search result when we ask them questions. Considering the massive resources behind Apple, Amazon, and Google, it’s surprising how little progress these tools have made.
- My Dream Assistant Should Know Me Better -
#byUkiDLucas #AIKO
- Point Cloud Library (PCL) on Mac OS -
Install PCL using BREW.
- Python GraphLab in Anaconda -
In this tutorial I wrote down my own steps on how to configure GraphLab on Mac for the Coursera Machine Learning class from the University of Washington:
- Your Value after the A.I. Singularity Event -
#byUkiDLucas #SingularityEvent #EQ #Cybernetics #AI #public
- What Is Next for Elon Musk -
#Space #ElonMusk #BioTechnology #technology #Tesla #byUkiDLucas #public #Medium
- Cars, the new mobile platform frontier -
In last ten years, we have witnessed an explosion in mobile phone and tablet technology. Today, you can choose a set of apps that will delight you while making your life better, happier and more productive. You can get all this for few hundred dollars, a price of a flagship phone.
- Virtual Personal Assistant -
#byUkiDLucas #VPA #public #Medium #LinkedIn
- CUDA: late 2013 MacBook Pro GPU: GeForce GT 750M 384 Cores -
Installing CUDA on MacBook Pro
- Updating Anaconda TensorFlow on Mac for use with jupyter notebook -
I have been running TensorFlow, but it has been acting up and needed an update.
- My Grand Plan -
#byUkiDLucas #public
- 50 Cal Muzzle Loader Rifle -
#Weapons #BlackPowder #byUkiDLucas #public
- Design and User Experience -
#byUkiDLucas #public #UX
- Lever Action Rifle Calibers -
#byUkiDLucas #public
Lever Action Rifle Calibers
- App: Lost in Translation -
#byUkiDLucas #public
App: Lost in translation
- Things That Make Us Who We Really Are -
#byUkiDLucas #public
# Things that make us who we really are
- How to Prepare Design Assets (UI) for iPhone Development -
#byUkiDLucas #public
How to prepare design assets (UI) for iPhone development
- Programming for UI Designers: Android Options Menu -
Programming for UI designers: Android Options Menu
- Factors That Can Influence Downloads of Mobile Apps -
Factors that can influence downloads of the mobile apps
- Investments: Ways to Finance Your Business -
Investments: Ways to finance your business
- Monetizing Your Application -
Monetizing your application
- Promotion, Promotion, Promotion -
Promotion, Promotion, Promotion
- Building a Product That Sells -
Building a Product That Sells
- Hunter Gatherer (or Rather Scavenger) Lifestyle and Diet -
#byUkiDLucas #public
# Hunter gatherer (or rather scavenger) lifestyle and diet
- pair programming -
pair programming
- vardlokkur: the prologue -
vardlokkur: the prologue
- AIKO The Child of Artificial Intelligence -
AIKO - “The Child of Artificial Intelligence” (in Japanese, “ko” means child; “ai” means love, denoting the “emotional intelligence” aspect of the project)
- Choices: 15 minutes at a time -
Choices: 15 minutes at a time