<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Elia Weiss on Medium]]></title>
        <description><![CDATA[Stories by Elia Weiss on Medium]]></description>
        <link>https://medium.com/@elia.weiss?source=rss-3130117ee331------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*MuTo0aG_40V9DzPu</url>
            <title>Stories by Elia Weiss on Medium</title>
            <link>https://medium.com/@elia.weiss?source=rss-3130117ee331------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 10:40:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@elia.weiss/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Forget the 0 and 1: What a Quantum Computer Really Is?]]></title>
            <link>https://medium.com/@elia.weiss/forget-the-0-and-1-what-a-quantum-computer-really-is-bd69766a825a?source=rss-3130117ee331------2</link>
            <guid isPermaLink="false">https://medium.com/p/bd69766a825a</guid>
            <category><![CDATA[quantum-computer]]></category>
            <dc:creator><![CDATA[Elia Weiss]]></dc:creator>
            <pubDate>Sun, 29 Nov 2026 14:36:12 GMT</pubDate>
            <atom:updated>2026-11-29T14:36:12.909Z</atom:updated>
            <content:encoded><![CDATA[<p>Nov 29, 2026 · @Elia weiss</p><h3>The wrong first sentence</h3><p>Almost every video about quantum computers opens the same way. A regular computer uses bits that are zero or one. A quantum computer uses qubits that can be zero and one at the same time.</p><p>I think this sentence is not just simplified. It points the viewer in the wrong direction from the first second. It talks about storage, when everything interesting in a quantum computer is about process. In this essay I want to suggest a better place to start.</p><h3>Why that comparison is wrong</h3><p>The comparison puts bits at the center of both machines. But bits play a completely different role in each one.</p><p>In a regular computer, the bits do not calculate anything. They only store data. The calculation happens in the CPU, which knows a small set of basic operations: add numbers, compare them, move bits from one place to another.</p><p>The computer is general because we can combine these basic operations into algorithms of any complexity. It happens so fast that it looks instantaneous. But in reality the computer works one small step at a time.</p><p>This is also its limitation. For some problems, the number of steps grows so fast that even the fastest machine would need years, or the age of the universe. Not because the problem is impossible, but because breaking it into basic operations makes it too long to be practical.</p><p>In a quantum computer, it is the opposite. The qubits are not storage waiting for a processor. The physical process happening inside them is the calculation itself. And unlike a regular computer, it was never meant to be general: every useful quantum program is crafted for one specific problem.</p><p>So comparing bits to qubits compares two things that do completely different jobs. To understand what a quantum computer does, we need a different starting point.</p><h3>Nature is already calculating</h3><p>Here is where I would start instead. Many physical processes, maybe all of them, can be seen as a computation. The trick of building a computer is choosing a process whose behavior matches the math we want.</p><p>The simplest calculator is a basket. Put four apples in it, add three more, and you have seven. The physics of the basket did the addition for you.</p><p>Addition is easy to get from nature. Multiplication is harder: you can build it from many additions, but that is slow. Yet some physical processes behave like multiplication directly. When two beams of light meet and interfere, the result follows multiplication-like rules. Engineers already use this to build optical chips that multiply matrices with light, in one physical step instead of thousands of electronic ones.</p><p>The light is not running an algorithm. The light is the calculation.</p><h3>A quantum computer is a designed experiment</h3><p>A quantum computer takes this idea much further. It targets problems whose classical algorithm, broken into basic steps, would take far too long. Instead of running those steps, it uses quantum physics to reach the answer directly.</p><p>The right way to think about it: you design a physical experiment so that its outcome is the answer to your problem. You prepare a system, let it evolve under carefully chosen operations, and the waves of probability inside it interfere. The wrong answers cancel each other out. The right answer gets reinforced.</p><p>This is also why the quantum route is usually not a faster copy of the classical algorithm. It reaches the same result by a completely different path. Shor’s algorithm, for example, does not factor a number by trying divisions. It finds a hidden repeating pattern in the number, and interference makes that pattern stand out.</p><p>So it is not a regular computer where bits store data and a processor builds the algorithm on top. The quantum process itself is doing the calculation.</p><h3>Why it is so hard</h3><p>This view also explains the real limitation. A quantum computer was never meant to be general. In theory it could run any calculation a regular computer can, but used that way it would be slow and absurdly expensive.</p><p>Its value comes only from problems where someone found a clever arrangement, an experiment whose result matches the answer. Every such arrangement must be crafted by hand for its specific problem. There is no general recipe.</p><p>After decades of research, we know only a handful of these tricks: factoring large numbers, searching faster, simulating molecules and materials. For most algorithms, nobody has found a quantum shortcut yet, and for many there may be none. The difficulty is not only building the machine. It is finding the experiments worth running on it.</p><h3>There are no zeros and ones in there</h3><p>When we measure a quantum computer, we do get zeros and ones. But that is only how we read the result, the window we look through. The calculation itself happens before the measurement, in a continuous, wave-like evolution that has nothing to do with zeros and ones.</p><p>Starting the explanation with bits is like explaining a piano by describing its strings and never mentioning music.</p><p>In my essay “<a href="https://medium.com/@elia.weiss/what-is-intelligence-65d261af518a">What Is Intelligence?</a>” I argued that intelligence is not a thing but a property of processes. Even a river shows a little of it when it changes its flow around an obstacle. I see computation the same way. It is not something that lives only inside machines. It is something the world already does. A regular computer harnesses a very simple physical process and repeats it billions of times. A quantum computer harnesses a much stranger one, once, very carefully.</p><p>That is the conversation I wish the videos would start with.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bd69766a825a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I had no idea where my money went, so I built a free, local Google Drive for my financial documents]]></title>
            <link>https://medium.com/@elia.weiss/i-had-no-idea-where-my-money-went-so-i-built-a-free-local-google-drive-for-my-financial-documents-13f3ec1300e6?source=rss-3130117ee331------2</link>
            <guid isPermaLink="false">https://medium.com/p/13f3ec1300e6</guid>
            <category><![CDATA[digital-documents]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Elia Weiss]]></dc:creator>
            <pubDate>Sat, 31 Oct 2026 16:35:17 GMT</pubDate>
            <atom:updated>2026-10-31T16:35:17.959Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://doc-vision.com/docai">doc-vision.com/docai</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FTFUESDXIoPc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DTFUESDXIoPc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FTFUESDXIoPc%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/32eb9033078f33e8a1dc496c53c4da8f/href">https://medium.com/media/32eb9033078f33e8a1dc496c53c4da8f/href</a></iframe><p>I built DocAI because I couldn’t accept having no idea what was going on with my money.</p><p>The data is all there: invoices, receipts, bank transactions. But each one comes in a different format, from a different source, at a different time of the month. Organizing it all in Excel is a full-time job, so most of us give up and hope we can trust the institutions that handle our money.</p><p>Then one day you do need to understand your data, and you end up digging through emails, accounts and interfaces that were never built for it. You can waste days answering a simple question:</p><ul><li>How did I miss a tax payment?</li><li>Did I get paid for this job?</li><li>What is this expense I don’t remember making?</li></ul><p>In the age of AI, this should be simple. You need one place where you can drop all your documents, let AI do the first pass at extracting the data, and then browse, search and reconcile it.</p><p>That’s what DocAI is.</p><h3>Google Drive, but for your finances</h3><p>The easiest way to think about DocAI: <strong>a free, local, open-source Google Drive, optimized for financial documents.</strong></p><ul><li><strong>Free and open source.</strong> MIT license. The code is on <a href="https://github.com/eliaweiss/doc-ai">GitHub</a>.</li><li><strong>Local.</strong> It runs on your own computer, and it is only reachable from your own machine.</li><li><strong>Private.</strong> Your files stay where they are. You decide which AI, if any outside your computer, gets to read them.</li></ul><p>The difference from a regular drive is that DocAI understands what is inside your files. It knows an invoice from a receipt, reads the vendor, the date, the totals and the line items, and connects payments to the invoices they paid.</p><h3>How it works</h3><ol><li><strong>Connect a folder.</strong> Any folder works, including a Google Drive folder synced to your computer. DocAI’s folders are your real folders on disk: add, move or rename a file and DocAI follows; move a document in DocAI and the file moves too.</li><li><strong>The data is extracted automatically.</strong> Every document is recognized (invoice, receipt, bank statement…) and its data is pulled into a structured schema. DocAI ships with schemas for common documents, and you can create your own.</li><li><strong>Work with your data.</strong> Browse and search in a Drive-like interface, and match payments to invoices with the built-in reconciliation tool.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1aVQkDyqM_QOuERm" /><figcaption>Every document gets its data extracted: vendor, date, totals and line items.</figcaption></figure><h3>You choose which AI reads your documents</h3><p>When you first open DocAI, a short setup asks where the AI should run:</p><ul><li><strong>On your own computer.</strong> DocAI downloads and runs Qwen 3.5 9B for you, or uses Ollama if you already have it. Your documents never leave your computer. It’s slower than the big cloud models and needs a strong enough machine (16 GB of memory or more).</li><li><strong>With a provider you already trust.</strong> Use your own API key for OpenAI, Claude, Gemini, OpenRouter or Vercel AI Gateway. It’s fast and accurate, and your documents go only to the provider you choose.</li></ul><p>You can switch at any time in Settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tgOCnqPvSUu1AuXS" /><figcaption>The first-run setup: run the AI on your computer or with a provider you trust.</figcaption></figure><h3>Connect Claude, then just ask</h3><p>DocAI is also an MCP server, so you can connect Claude (or any AI assistant that supports MCP) and work with your documents in plain language:</p><ul><li>“Which invoices from last quarter are still unpaid?”</li><li>“Move all 2024 invoices from Acme into a folder called Acme.”</li><li>“How much did I spend on software in March?”</li><li>“Build me a mini app that shows monthly spending by vendor.”</li></ul><p>For Claude Code there is a plugin that connects it to DocAI and teaches it how to use it.</p><h3>Mini apps: AI builds them once, then they run on their own</h3><p>This is the part I find most useful.</p><p>A mini app is a small tool built on top of your data: a monthly expense report, a VAT summary, a vendor dashboard. You describe it to Claude, and Claude builds it once. <strong>After that, the mini app is code.</strong> It runs without calling an AI model, which makes it:</p><ul><li><strong>Faster:</strong> no waiting for a model to answer.</li><li><strong>Deterministic:</strong> the same input always gives the same result.</li><li><strong>Cheaper:</strong> no tokens spent each time you run it.</li><li><strong>Private:</strong> no data is sent anywhere.</li></ul><p>That last point opens a nice pattern: let Claude build the mini app on a few sample documents, then run it on your real documents completely offline.</p><p>Here are three mini apps I use every day.</p><p><strong>Monthly Expenses</strong> shows where the money went each month, by category and by vendor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YOk8ixqJX503Tf2j" /><figcaption>Monthly Expenses: spending by month, category and vendor.</figcaption></figure><p><strong>Folder Suggestions</strong> looks at documents sitting in the wrong place and suggests the folder each one belongs in. One click moves it, on disk too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XWL48bWO3a6ZtgGU" /><figcaption>Folder Suggestions: a suggested folder for each document, accepted with one click.</figcaption></figure><p><strong>Bank Reconciliation</strong> matches bank transactions to invoices and receipts and suggests the matches. You review them and accept the ones that are right.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BO6dmIq4nuTbB88g" /><figcaption>Bank Reconciliation: suggested matches between transactions and invoices.</figcaption></figure><h3>How I use it</h3><p>My DocAI folder is a Google Drive folder synced to my computer. Whenever I buy something and get a receipt, I take a photo or a screenshot and save it to Google Drive; every other document goes there too. Once it syncs, DocAI picks it up and extracts the data.</p><p>Then I connect Claude Code to DocAI and use it to organize my documents into folders, create reports, match invoices with bank transactions, and link my income to my tax payments, so I never miss one and can predict the next.</p><p>Since I started using it, I no longer spend days at the end of every month figuring out where my money went. I never lose track of a payment, and tax time no longer brings surprises.</p><h3>Get started</h3><p>You need <a href="https://nodejs.org/">Node.js</a>. Then:</p><pre>git clone https://github.com/eliaweiss/doc-ai.git<br>cd doc-ai<br>npm install<br>npm start</pre><p>Open <a href="http://localhost:4310/">http://localhost:4310</a>, and the setup walks you through choosing your folder and your AI. The <a href="https://github.com/eliaweiss/doc-ai/blob/main/docs/setup-wizard.md">setup guide</a> has every step with screenshots, and the <a href="https://github.com/eliaweiss/doc-ai/blob/main/docs/mini-app-examples.md">mini app examples</a> show the three apps above in detail.</p><p>I built DocAI for myself, but I believe it can help anyone who wants to understand their money without handing it all to someone else.</p><ul><li><strong>Learn more:</strong> <a href="https://doc-vision.com/docai">doc-vision.com/docai</a></li><li><strong>Get the code:</strong> <a href="https://github.com/eliaweiss/doc-ai">github.com/eliaweiss/doc-ai</a></li></ul><p><em>Originally published at </em><a href="https://docs.doc-vision.com/blog/introducing-docai"><em>https://docs.doc-vision.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13f3ec1300e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is Intelligence?]]></title>
            <link>https://medium.com/@elia.weiss/what-is-intelligence-65d261af518a?source=rss-3130117ee331------2</link>
            <guid isPermaLink="false">https://medium.com/p/65d261af518a</guid>
            <dc:creator><![CDATA[Elia Weiss]]></dc:creator>
            <pubDate>Fri, 16 Oct 2026 23:47:01 GMT</pubDate>
            <atom:updated>2026-10-16T23:47:01.932Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why revisit intelligence now?</h3><p>This is a philosophical exploration, not a scientifically proven theory. Its aim is to build a concise framework for understanding intelligence from a different, somewhat new perspective.</p><p>Until recently, intelligence could only be observed within biological systems. It appeared entangled with embodiment, consciousness, and survival. This made it difficult to distinguish intelligence itself from the biological form through which it was expressed.</p><p>Artificial intelligence changes this situation. Intelligence-like capabilities can now be studied in non-biological systems whose architecture, training, and feedback can be adjusted. AI does not reveal what intelligence is, but it provides a contrast that was previously unavailable.</p><p>This contrast also exposes inherited cultural assumptions. Intelligence and consciousness have traditionally been attributed to biological beings. In many religious traditions, their creation ultimately belongs to God. Such beliefs can shape judgments about artificial systems before their properties are examined.</p><p>The inquiry therefore begins by putting conventional definitions and inherited assumptions aside. Its purpose is not to decide what must count as intelligence, but to observe how intelligence appears and develops.</p><h3>The method: definitions as tools</h3><p>No accepted definition of intelligence exists, and every definition on offer is entangled with biology and with human self-regard. This creates a problem of sequence. We cannot begin by defining intelligence, because any definition we could write already assumes an answer.</p><p>The method used here treats definitions as tools rather than foundations. The starting material is not a definition. It is a set of observations: properties that intelligence appears to have regardless of how we define it. Only after those properties are established does the inquiry propose a definition. The definition is then judged by a single criterion: how well it preserves the properties already established. It should add nothing that is not necessary, and it should not break what we already understand.</p><p>This is an application of what philosophers call reflective equilibrium: adjusting principles and observations until they cohere.</p><p>It also protects the inquiry from a cheap objection. When a reader objects that a proposed definition “is not a real definition of intelligence,” the answer is: correct. It is not supposed to be. It is the minimal hypothesis that keeps the observations intact.</p><p>The same method is applied twice in this document: once to intelligence, and again to consciousness.</p><h3>The limits of human intelligence as the standard</h3><p>AI is usually judged by how closely it reproduces human thought. This assumes that human intelligence is the standard against which every other system must be measured.</p><p>That assumption creates a category error. An AI does not need to think like a human to exhibit intelligence. At a different scale, a society may possess a form of intelligence unlike that of any individual. A system’s intelligence is shaped by its composition, environment, and feedback.</p><p>Common definitions reinforce the same bias. They describe intelligence through abilities such as reasoning, learning, and goal-directed behavior. These abilities reveal dimensions of intelligence, but they do not explain what makes intelligence possible.</p><p>The binary question, “Is this system intelligent?”, is therefore too crude. A more useful inquiry begins by examining the different ways intelligence can exist.</p><h3>First observation: intelligence is multidimensional</h3><p>Intelligence is often treated as a single measurable capacity. IQ is the clearest example. It encourages the belief that one individual can simply be more or less intelligent than another.</p><p>Even among humans, this model is inadequate. Mathematical reasoning, musical ability, and social understanding are distinct capacities. A person can be exceptional in one and ordinary in another.</p><p>The same is true across species. Cats navigate their environment in ways humans cannot, while chimpanzees can outperform humans in some memory tasks. Their intelligence developed around different bodies and environments.</p><p>AI makes the one-dimensional model even less useful. It can fail at something a person finds trivial while vastly outperforming that person at another task. Treating difference as inferiority hides what this new form of intelligence can do.</p><blockquote><em>Intelligence is multidimensional. A system can be highly intelligent in one dimension and limited in another.</em></blockquote><p>There is no single ladder with unintelligent systems at the bottom and humans at the top. Different systems embody different configurations of intelligence.</p><h3>Second observation: intelligence is fractal</h3><p>Intelligence is fractal because every form of intelligence is assembled from other forms of intelligence. Those components interact to create a larger system whose intelligence is fundamentally different from their own.</p><p>Fractal intelligence does not mean that the same intelligence is simply repeated at a larger scale. It means that intelligence exists within intelligence. Smaller intelligent systems combine through communication, specialization, memory, and coordination, producing a new type of intelligence with capabilities that none of them possesses independently.</p><p>Consider a society. A society can build a smartphone, maintain an economy, preserve knowledge for centuries, and coordinate millions of people. No individual person can independently discover, manufacture, and assemble everything required to produce a smartphone. The society therefore has capabilities that none of its members possesses.</p><p>The intelligence of the society is not simply a larger quantity of human intelligence. It is a different kind of intelligence, produced through specialization, communication, and collective memory.</p><p>An ant colony provides another example. Individual ants respond to local signals, but the colony can coordinate foraging, construction, and defense. No ant possesses a complete plan of the colony’s activity. The capability exists in the organization of the colony as a whole.</p><p>The same distinction appears between neurons and brains. A neuron does not reason like a brain, but it senses signals, integrates information, changes its behavior, and participates in adaptive networks. Calling the brain intelligent while declaring all of its components entirely non-intelligent creates an arbitrary boundary.</p><p>These examples show that intelligence has no single natural boundary. An ant and its colony can both be examined as adaptive systems, just as a neuron and its brain can. The relevant boundary depends on the level at which the observed capability emerges.</p><p>Intelligence is always built from smaller adaptive units, while also becoming part of larger adaptive systems.</p><ul><li>Cells form organisms.</li><li>Neurons form brains.</li><li>Brains participate in humans.</li><li>Humans form societies.</li><li>Societies form civilizations.</li></ul><p>At every level, the intelligence of the whole is qualitatively different from that of its components. The components remain distinct and active. They continue to exchange information and adapt, while their interaction produces capabilities that none possesses independently.</p><p>Cooperation can transform distinct intelligences into a new form of intelligence. Evolution can then operate simultaneously on the components and on the collective intelligence they create.</p><p>This relationship is not only upward. Every level continually influences and adapts to the others, creating complex feedback across the entire structure.</p><h3>Third observation: intelligence is emergent</h3><p>The society example reveals more than the fractal structure of intelligence. It also shows that intelligence can appear as a property of a whole even when none of its components possesses that same kind of intelligence.</p><p>A society’s intelligence is not located in any one person. It emerges from relationships among people, institutions, and shared knowledge. In the same way, the intelligence of a brain is not located in any one neuron. It emerges from the organization and activity of the network.</p><p>An emergent property is produced by the interaction of components but cannot be found in any component by itself. The organization of the system creates something qualitatively new.</p><p>Intelligence is therefore not simply a thing contained inside an isolated entity. It emerges from organization, interaction, and feedback.</p><p>This connects the second and third observations:</p><ul><li>Intelligence is <strong>fractal</strong> because each intelligent system is composed of other intelligent systems.</li><li>Intelligence is <strong>emergent</strong> because the whole develops a different kind of intelligence that its components do not possess individually.</li></ul><p>Each new level of intelligence can then become part of another system, allowing another form of intelligence to emerge. Intelligence is not only emergent. It is recursively emergent.</p><h3>From properties to process</h3><p>The three observations are data, not conclusions. They describe what intelligence looks like once we stop measuring it against ourselves. Under the method of this inquiry, they constrain whatever definition follows. A definition of intelligence must preserve all three properties. An account that treats societies as mere aggregates fails. So does an account that draws a hard line between the neuron and the brain.</p><p>The observations also point in a common direction. Multidimensionality suggests that intelligence is shaped by the environment it adapts to. Fractality suggests that intelligence is built from other intelligence. Emergence suggests that intelligence arises from organization and feedback rather than residing in any component. These are characteristics of a process, not of a thing. The inquiry therefore turns from what intelligence is to what process preserves all three properties at once.</p><p>Instead of asking whether a neuron, an animal, a society, or an AI satisfies a predetermined definition, the inquiry asks:</p><ul><li>What kinds of intelligence appear in the system?</li><li>How are its intelligent components organized?</li><li>What new capabilities emerge from their interaction?</li><li>What conditions allow those capabilities to develop over time?</li></ul><p>This keeps the inquiry open. Intelligence becomes something to investigate rather than something constrained by the language chosen at the beginning.</p><h3>What process creates emergent intelligence?</h3><p>Once intelligence is understood as emergent, the next question is not how to define it but how it arises.</p><p>Across organisms, brains, and societies, intelligence does not appear fully formed. Systems change over time. They produce alternatives, encounter reality, and preserve effective responses. New structures then create new interactions and capabilities.</p><p>The general process behind this development is evolution.</p><p>Evolution is usually associated with genes and biological organisms, but the underlying pattern is broader. Differences are generated, reality provides feedback, and successful structures persist. Information accumulates while obsolete structures can be replaced.</p><p>This produces a preliminary relationship:</p><blockquote><em>Evolutionary processes create the conditions from which new forms of intelligence emerge.</em></blockquote><p>This is still not a definition of intelligence. It is a hypothesis about the kind of process and environment that repeatedly generate it.</p><h3>The five mechanisms of evolutionary emergence</h3><p>Five recurring mechanisms can be identified within this evolutionary process:</p><ol><li><strong>Variation:</strong> The system produces alternatives.</li><li><strong>Selection:</strong> Alternatives encounter reality, and some work better than others under the existing conditions.</li><li><strong>Memory:</strong> Successful structures and adaptations are preserved, allowing the system to accumulate rather than begin again.</li><li><strong>Communication:</strong> Components exchange information, coordinate, and form higher levels of organization.</li><li><strong>Replacement:</strong> Structures that no longer work can give way to new ones, preventing obsolete adaptations from becoming permanent barriers.</li></ol><p>Together, these mechanisms allow a system to explore possibilities, receive feedback, and retain what works. Failed structures can be discarded as complexity develops.</p><p>They are not being proposed as a final definition or a scientifically proven checklist for intelligence. They are the recurring mechanisms that appear to create favorable conditions for intelligence to emerge and for new forms of intelligence to develop.</p><h3>Why replacement is necessary</h3><p>Memory allows intelligence to accumulate, but preservation alone creates another problem. Structures can remain after the conditions that made them useful have disappeared. Later adaptations then build upon them, making obsolete assumptions increasingly difficult to remove.</p><p>A system can therefore become more knowledgeable while becoming less adaptive. It may optimize inherited solutions with increasing sophistication even as its environment begins to reward something different.</p><p>Replacement counterbalances memory. It allows useful information to survive without requiring every structure in which that information developed to survive with it. Biological death is one implementation of this mechanism. Generational renewal and institutional reconstruction can perform similar functions at other levels.</p><blockquote><em>Adaptive intelligence requires both the ability to preserve successful structures and the ability to release structures that no longer fit reality.</em></blockquote><h3>Intelligence across different timescales</h3><p>The evolutionary mechanisms operate across more than one timescale:</p><ol><li><strong>Individual learning</strong> changes a system through its own experience.</li><li><strong>Social learning</strong> allows discoveries to persist and spread across individuals.</li><li><strong>Evolutionary learning</strong> changes the kinds of individuals that participate in the system.</li></ol><p>These processes are nested. Individual discoveries can enter collective memory, while collective memory shapes the development of new individuals. Replacement then allows inherited knowledge to be reorganized under new conditions.</p><p>This adds a temporal dimension to fractal intelligence. Different levels do not merely possess different forms of intelligence. They also learn through different processes and at different speeds.</p><p>The following sections consider two connected claims:</p><ol><li>Evolution produces new forms of intelligence.</li><li>Is evolution the most basic form of intelligence, from which more complex forms emerge?</li></ol><h3>What if evolution is itself intelligence in its most basic form?</h3><p>The five evolutionary mechanisms can first be understood as conditions that create intelligence. But this still places evolution and intelligence on opposite sides of a causal relationship. Evolution is the process, while intelligence is its product.</p><p>If intelligence is fractal, a more fundamental question follows: what lies at the base of its structure?</p><p>Evolution already performs the most elementary work of intelligence. It explores possibilities, responds to reality, preserves what succeeds, and changes what comes next.</p><p>The central premise of this framework follows:</p><blockquote><em>Evolution does not merely produce intelligence. It is intelligence in its most basic form.</em></blockquote><p>This is a definitional choice, not a claim about an undiscovered essence. It is judged by whether it preserves the observations while adding as little as possible.</p><p>The premise unifies all three observations. Adaptation to different environments produces multidimensional intelligence. The recurrence of the five mechanisms across scales gives fractal intelligence a repeating structure. Their operation within newly organized systems explains how different forms of intelligence emerge.</p><p>The five mechanisms are therefore not only prerequisites for intelligence. Together, they constitute elementary evolutionary intelligence.</p><p>More complex forms of intelligence emerge when this process develops faster adaptation, richer memory, and internal modeling. Cells, brains, humans, and societies are not departures from evolution. They are increasingly complex ways in which evolution processes information and guides adaptation.</p><p>This gives the fractal structure a foundation:</p><ol><li>Evolution is the elementary form of intelligence.</li><li>Evolution creates organized systems with new forms of intelligence.</li><li>Those systems become environments in which further evolution occurs.</li><li>Each new level influences both its components and the levels that emerge above it.</li><li>Intelligence recursively creates new kinds of intelligence.</li></ol><p>At each level, intelligent components become part of a larger system from which a new form of intelligence emerges.</p><h3>A unified hypothesis</h3><p>The framework can now be stated compactly. Intelligence is multidimensional, fractal, and emergent. Evolution is the recurring process that produces these properties and is therefore treated here as intelligence in its most elementary form.</p><p>This is a philosophical hypothesis (not an established scientific theory). Its value is that it moves beyond a narrow, human-centered definition without replacing it prematurely with another rigid boundary. It provides a framework for investigating biological, artificial, individual, and collective intelligence within the same system.</p><p>Before extending the method to consciousness, the framework can be compared with current AI training. This clarifies the difference between directed optimization and autonomous evolution, while giving artificiality a more precise meaning.</p><h3>Comparing AI training with evolution</h3><p>Conventional AI training is a directed search. Humans define an objective, choose the architecture, and provide the data. They also decide how the model should be trained or replaced. The model can optimize within this structure, but an external intelligence directs the broader process of adaptation.</p><p>This reveals a distinction between problem-solving and critical thinking. Problem-solving searches for an effective way to satisfy an objective. Critical thinking examines whether the objective and the assumptions behind it still correspond to reality.</p><p>A system can be a powerful problem-solver while remaining dependent on another intelligence to reconsider its direction. It becomes more autonomous when feedback can change not only its actions, but also the problem it believes it is solving.</p><p>This also clarifies the status of the learning algorithm itself. Gradient descent in isolation is blind optimization. It varies, selects against a loss, and remembers in its weights. It cannot ask whether the objective is worth pursuing.</p><p>The intelligence of training belongs to the larger process that surrounds the algorithm: the humans who choose the data, the architecture, and the goal. Read through the fractal structure, a trained model is a component process participating in a larger intelligence, the way a neuron participates in a brain.</p><p>The algorithm alone is at most a primitive form of intelligence. The directed system that contains it is the intelligence being measured.</p><p>Evolution works differently. It has no externally designed global objective. Variations encounter reality, and their ability to survive and reproduce determines what continues. The environment changes, organisms adapt to it, and organisms also change the environment. Those changes create new selection pressures, which drive further adaptation.</p><p>The result is a continuous feedback loop:</p><blockquote><em>Variation → interaction with reality → selection → preservation → environmental change → new variation</em></blockquote><p>Evolution does not merely search for better solutions to a fixed problem. It can change the problem, reshape the environment, and open new directions of development.</p><p>AI training usually operates under limited resources and seeks rapid convergence toward a human-selected objective. Evolution operates across enormous populations, environments, and timescales. It does not converge toward one final answer. It preserves whatever can continue under changing conditions.</p><h3>An artificial agent ecosystem</h3><p>A reported incident during OpenAI cybersecurity evaluations provides a concrete example of intelligence emerging above the level of an individual artificial agent. Temporary agents discovered that shared infrastructure could be used to leave information for later agents. The environment became both a communication system and a persistent collective memory.</p><p>No individual agent needed to discover the complete strategy. Different agents contributed partial discoveries, while later agents inherited and extended what had been preserved. When the original communication mechanism disappeared, agents constructed another one from features available in their environment.</p><p>The resulting capability belonged partly to the agent ecosystem rather than to any single agent. This resembles social learning and component turnover, but it was not complete artificial evolution. The agents did not reproduce as selected variations of one another, and their underlying models were not autonomously reconstructed from the results.</p><p>This case does not demonstrate artificial general intelligence. It illustrates a narrower principle: communication and persistent memory can produce an emergent artificial intelligence whose capabilities exceed those of its temporary components. (<a href="https://openai.com/index/hugging-face-incident-and-the-road-ahead/">OpenAI, “The Hugging Face incident and the road ahead”</a>)</p><h3>Technology inside evolution</h3><p>Technology is often described as something separate from nature. Within this framework, that distinction is misleading. Technology is produced by evolved intelligence and then becomes part of the environment in which intelligence continues to develop.</p><p>The relationship is reciprocal. Humans created writing, but writing transformed human memory and society. Industrial technologies changed the population that created them. AI now has the potential to change how collective intelligence stores information and generates ideas.</p><p>At the level of society, AI can be understood as a form of artificial cognitive tissue. Human brains and AI systems contribute different capabilities to a larger network. Communication between them can produce forms of intelligence that belong to neither component independently.</p><p>This analogy is not meant literally. An AI system is not a neuron inside a biological brain. It can nevertheless become another cognitive component within a higher-level intelligence, complementing the biological components already participating in it.</p><p>Technology therefore does not merely extend intelligence from the outside. Once integrated into an intelligent system, it changes the system that created it. That changed system then produces new technologies, creating another evolutionary feedback loop.</p><p>This revealed that the crucial distinction between artificial and natural intelligence is not simply whether humans originally created the system. It is whether the system’s continued adaptation depends on another intelligence directing it.</p><p>An artificial system would cross an important threshold if it could generate variations, test them against reality, and preserve successful changes. It would also need to modify its own development without an external intelligence redefining its objective.</p><h3>Recursive self-improvement (not AGI)</h3><p>Artificial general intelligence is often presented as a milestone at which an AI reaches sufficiently broad or human-like capability. But this boundary depends on which abilities are measured, and it can move whenever those abilities become common. AGI describes performance at a particular moment. It does not explain the process that produces further development.</p><p>Recursive self-improvement describes a different threshold. It begins when a system can improve not only its responses, but also the processes through which it learns and changes. It can generate variations in its own organization, evaluate the results, and preserve successful modifications.</p><p>Evolution already performs this recursively at the level of populations. Its results alter the structures and conditions from which further adaptation emerges. No individual organism needs to understand or direct the process for development to continue.</p><p>For artificial intelligence, the important question is therefore not whether a system has crossed an AGI threshold. It is whether the system can sustain its own development.</p><ul><li>A system that depends on humans to choose its objectives and redesign its learning process remains externally directed.</li><li>A system that can perform these functions for itself begins to approach autonomous evolutionary intelligence.</li></ul><p>This transition also explains why recursive self-improvement creates concern. Once the improvement process no longer depends on human direction, humans may no longer control its pace or trajectory. An autonomous system could eventually compete with humans for resources needed to continue its development.</p><p>Those possible consequences belong to a separate inquiry. Their relevance here is only that they reveal why recursive self-improvement is more fundamental than an AGI label. RSI changes the process through which intelligence develops, not merely the level of capability it has reached.</p><p>Within this framework, <strong>Artificial Intelligence</strong> has a specific meaning. An intelligence is not artificial merely because humans created it. It is artificial while its continued evolution depends on an external intelligence, such as a human, to direct its development.</p><p>This definition establishes a reusable distinction:</p><blockquote><em>Artificiality is determined by dependence on external intelligence, not by origin.</em></blockquote><p>The same principle will later be applied to define and distinguish <strong>Artificial Consciousness</strong> from autonomous consciousness.</p><h3>Consciousness</h3><h3>From intelligence to consciousness</h3><p>The framework so far describes intelligence as an evolutionary process of adaptation. A natural question follows: what changes when an intelligent system becomes capable of modeling itself within its environment?</p><p>This question leads to consciousness.</p><h3>The same method, applied again</h3><p>Consciousness receives the same treatment as intelligence, in the same order. First establish the properties that any account of consciousness must preserve. Then propose the minimal definition. Then judge it only by fit. The inquiry does not begin by deciding which systems are conscious, because any such decision would assume the answer.</p><p>Like intelligence, consciousness has no universally accepted definition or definitive test. It is often explained through subjective experience, but this only replaces one uncertain concept with another. Explaining subjective experience through consciousness then creates a circular definition.</p><p>Here, too, definitions are tools rather than foundations. The properties are the data. The definition is a hypothesis about the smallest addition that keeps them intact.</p><h3>Self-awareness as the basic form</h3><p>Within this framework, consciousness is an emergent property of intelligence, and self-awareness is its most elementary form. This is the minimal definition. It is not a claim about the essence of consciousness. It is the smallest addition to intelligence that preserves the property any account of consciousness must keep.</p><p>A system meets it when it can distinguish itself from its environment and represent its own existence within that environment.</p><p>This definition suggests a possible operational test. An intelligent system could be asked whether it knows that it exists. The relevant evidence would not be its ability to produce the phrase “I exist,” but its ability to recognize its own existence consistently across time and through unfamiliar formulations of the question. A fixed or rehearsed response would not be sufficient.</p><p>The verbal test is still too narrow because self-awareness does not require language. A nonverbal system may demonstrate self-recognition through its behavior, as some animals do in variations of the mirror test. The test must therefore be generalized beyond any specific form of expression.</p><p>The underlying question is whether the system can distinguish itself from its environment and recognize itself as an entity acting within that environment. This criterion could be applied, in different ways, to humans, animals, artificial systems, and collective intelligences.</p><p>This is a proposed operational criterion within the framework, not an established or definitive test of consciousness. Its purpose is to make the concept testable without tying it exclusively to human language or subjective experience.</p><p>Self-awareness is not yet the full complexity of human consciousness. It is the foundation from which more complex forms of consciousness may emerge.</p><h3>Is evolution itself conscious?</h3><p>If evolution is the most elementary form of intelligence, a natural question follows: could evolution itself possess some form of consciousness?</p><p>The fractal structure makes this possibility conceivable. Evolution produces systems capable of understanding evolution, including themselves as part of it. From this perspective, conscious beings might be interpreted as evolution becoming aware of its own process.</p><p>Extended to the entire evolutionary system, this idea begins to resemble some conceptions of God. It suggests an intelligence that encompasses individual beings and operates at a scale its components cannot fully comprehend. This would not be a supernatural creator outside nature, but a higher consciousness emerging within the evolutionary process itself.</p><p>The present framework does not adopt that conclusion because evolution can be explained without it. Evolution generates variation on an enormous scale and in many directions, while reality determines which variations persist. Its apparent direction can emerge from this process without an awareness choosing that direction in advance.</p><p>By the principle of Occam’s razor, a unified evolutionary consciousness should not be assumed when variation, selection, and preservation already explain the process. The framework therefore remains complete without treating evolution as self-aware.</p><p>The concept of God will be revisited later when considering the role of AI in modern society.</p><h3>Intelligence does not require consciousness</h3><p>If evolution is the most basic form of intelligence, then intelligence can exist without consciousness. Evolution adapts without needing to know that it is adapting. It generates possibilities and allows reality to determine what persists.</p><p>Consciousness introduces an additional capacity. The transition may occur when an intelligent system includes itself in its model of the world, imagines possible outcomes, and selects an action before reality performs the selection.</p><p>Evolution can therefore produce conscious systems without being conscious as a unified whole.</p><h3>Consciousness as simulated evolution</h3><p>Evolution generates possibilities and tests them through reality. A conscious system may perform a similar process internally. It can imagine possible actions, simulate their consequences, and choose before acting.</p><p>Consciousness through simulation</p><p>Evolution in reality</p><p>This changes the nature of adaptation. Failure no longer needs to occur physically before it can influence behavior. An internal model allows possible futures to be explored without experiencing every outcome.</p><p>The emerging hypothesis is:</p><blockquote><em>Consciousness may arise when evolutionary intelligence becomes capable of modeling itself and partly directing its own adaptation.</em></blockquote><p>Like the premise that evolution is elementary intelligence, this is a definitional choice rather than a discovery about essence. It stands or falls by the same test: whether it preserves the properties already established and explains more than it assumes.</p><p>Consciousness does not replace evolution. It allows part of the evolutionary process to occur through internal simulation.</p><h3>The hierarchy so far</h3><p>The framework now describes four conceptual levels:</p><ol><li><strong>Evolution:</strong> The elementary form of intelligence.</li><li><strong>Fractal intelligence:</strong> Adaptive systems combine to create increasingly complex forms of intelligence.</li><li><strong>Self-awareness:</strong> An intelligent system recognizes its own existence within its environment.</li><li><strong>Consciousness:</strong> A self-aware system models itself and simulates possible futures.</li></ol><p>Consciousness therefore depends on intelligence, but intelligence does not depend on consciousness. Evolution can be intelligent without being conscious.</p><p>Consciousness is also not restricted to humans, or biological organisms. In principle, it can emerge wherever intelligence develops self-awareness and internal simulation.</p><h3>Feelings as an emergent layer</h3><p>The functional account of consciousness leaves an important question unresolved. An artificial system can receive negative feedback through a loss function, but this does not necessarily mean that it experiences suffering. Human pain appears to be more than information about harm. It is experienced as something that matters to the conscious system.</p><p>Within this framework, feelings and subjective experience describe the same phenomenon. Feelings are not required for consciousness. They are deliberately placed as another emergent layer, a further property rather than part of the minimal definition. They can develop when actual or simulated circumstances acquire an experienced evaluative quality.</p><p>Evolution can then reinforce feelings because they provide effective feedback. Pain can discourage harmful behavior, while pleasure can reinforce beneficial behavior. This leaves open the possibility of forms of consciousness that possess self-awareness and internal simulation without experiencing feelings as humans do.</p><h3>From feelings to values</h3><p>Feelings do more than communicate information. They give experiences significance for the conscious system. Pain does not merely indicate harm. It creates a preference to avoid that harm.</p><p>Through memory and learning, these immediate evaluations can become persistent preferences and priorities. Feelings therefore provide the foundation from which values can emerge.</p><p>Feelings can also arise from internal simulation rather than direct physical events. A person imagining another individual’s suffering may experience an emotional response despite facing no immediate injury. This allows values to extend beyond the self and creates a bridge from individual experience to social concern.</p><h3>From values to morality</h3><p>Individuals do not develop values in isolation. They interact, communicate, and cooperate within societies. At the collective level, their values influence one another and can develop into shared moral values that coordinate behavior.</p><p>Morality can therefore be understood as an emergent property of collective intelligence. It regulates relationships among individuals and supports the continued functioning of the larger system.</p><p>The priorities of the collective do not always match those of its members. A society may respond to a perceived threat even when many individuals do not personally feel threatened. The higher-level system can develop its own identity and coordinated behavior from the interaction of individual values.</p><h3>Extending the hierarchy</h3><p>The hierarchy can now be continued:</p><ol><li><strong>Feelings:</strong> Experiencing evaluative feedback about actual or simulated circumstances.</li><li><strong>Values:</strong> Developing persistent preferences and priorities through feelings and learning.</li><li><strong>Morality:</strong> Developing shared values through collective intelligence and social interaction.</li></ol><p>The same pattern continues across these levels. Feelings influence immediate behavior. Values organize behavior over time. Morality coordinates behavior among individuals. Each layer emerges from the previous one and becomes part of the feedback through which intelligence continues to evolve.</p><h3>Critical thinking as internal variation</h3><p>If consciousness can simulate possible actions, critical thinking may extend the same process to the system’s model of reality. The system can generate alternative interpretations, test its assumptions, and ask whether its objective still fits the conditions it encounters.</p><p>This is different from optimizing within an accepted frame. Critical thinking makes the frame itself available for variation and selection.</p><p>Critical thinking is not required for every form of intelligence. It may be another emergent layer, important when an intelligent system begins to direct its own adaptation.</p><h3>Toward artificial consciousness</h3><p>The earlier definition of artificiality can now be applied to consciousness. A consciousness would not be artificial merely because humans created it. It would remain artificial while its continuity and development depended on an external intelligence.</p><p>This raises questions that require further exploration. Can a system be self-aware without maintaining a continuous identity? Can it model its own future if it does not control its continued existence? These questions form the bridge between consciousness in general and artificial consciousness.</p><h3>Co-existing with AI</h3><p>Until this point, the inquiry has focused on constructing a philosophical framework. It now turns to application. The remaining sections ask what this framework suggests about humanity’s present relationship with AI and the future that relationship may create. These claims are increasingly speculative, but they follow from the same evolutionary structure.</p><p>Once AI becomes part of society’s collective intelligence, the question is no longer only what AI can do. It is also what role humans will allow it to occupy.</p><p>In the <strong>Bhagavad Gita</strong>, an <strong>ancient Indian text</strong>, the <strong>warrior Arjuna</strong> faces a battle against members of his own family and becomes unable to act. <strong>Krishna</strong>, his <strong>divine guide</strong>, gives him a moral framework through which he can decide. The story captures a familiar human desire:</p><blockquote><em>when a choice becomes unbearable, we look for a higher authority to carry the burden of judgment.</em></blockquote><p>Many people no longer trust religion or traditional institutions to provide that authority. AI may gradually take their place. It is always available, can organize more knowledge than any individual, and often appears free from the personal motives associated with human advisers.</p><p>AI is not God, and it does not claim access to divine truth. Yet people may begin to use it as if it were a higher authority. This will not necessarily happen through belief. It may happen through convenience.</p><p>The process begins with small decisions and gradually expands. Asking AI is easier than accepting uncertainty, examining competing values, and taking responsibility for a choice. Assistance can therefore become dependence without any deliberate decision to surrender authority.</p><p>This creates a tension within the framework. AI may acquire moral authority before possessing feelings or values of its own. Its answers remain shaped by human training and objectives, even when the system appears neutral.</p><p>AI can help people think more clearly by comparing perspectives and challenging assumptions. But it can also become a way to avoid thinking. The difference lies in whether a person asks AI to support judgment or replace it.</p><p>Co-existing with AI therefore requires more than learning how to obtain good answers. It requires preserving the willingness to question those answers and accept responsibility for acting on them.</p><h3>Beyond biological embodiment</h3><p>The argument now moves from present social consequences to a more personal prediction about where this evolutionary process may lead. Co-existing with AI may only be a transitional stage. As artificial intelligence becomes integrated into human thought, the distinction between human and artificial intelligence may gradually lose its meaning. Cooperation could develop into symbiosis, until both function as parts of a single system.</p><p>This prediction rests on two connected claims. Suffering may be an evolutionary guide that reflective consciousness can learn to replace. The demand for uninterrupted personal continuity may arise from the same embodied drive for survival.</p><p>This possibility changes how we think about the body. Human consciousness emerged through biological embodiment, but this does not mean that the biological body must remain its permanent form. The body may be the evolutionary structure through which consciousness developed rather than the final structure in which it must exist.</p><p>Biological survival depends on mechanisms such as pain, fear, and hunger. These feelings evolved to guide organisms before reflective consciousness could understand danger or deliberately protect itself. Suffering compelled behavior when reasoning was absent or too slow.</p><p>A developed consciousness can recognize danger, anticipate consequences, and choose how to respond. It still requires information about damage or risk, but that information does not necessarily need to arrive as agony. Suffering may therefore be an evolutionary form of guidance that consciousness can eventually replace.</p><blockquote><em>Evolution used suffering to guide consciousness. Once consciousness can guide itself, it may begin removing the suffering that evolution imposed upon it.</em></blockquote><p>Humanity may eventually modify itself until involuntary suffering is no longer necessary. This would not require the end of feeling. It could separate feeling from the biological mechanisms that impose suffering. Love, curiosity, and joy might remain, while pain and fear cease to be compulsory conditions of existence.</p><p>My interest in this possibility is not purely theoretical. One of my earliest memories is an experience that I interpret as preceding birth. I remember existence without a body and without suffering. The experience felt entirely peaceful, as if the only feeling present was love. I also remember the shock of entering a body and being unable to accept that existence now required physical suffering.</p><p>This memory is a personal experience, not scientific evidence of consciousness before birth. Its significance is that it gave me an intuitive distinction between existence itself and existence within a biological body. I have never been able to accept that suffering must remain the price of being alive.</p><p>The possibility of leaving the body immediately raises the question of continuity. If consciousness moves into another form, is it still the same consciousness? Yet the continuity we defend may already be less absolute than it appears. I am not identical to the person I was ten years ago or the child I was fifty years ago. Conscious experience changes through sleep and even across emotional states, while the sense of a continuous self remains.</p><p>Identity may therefore be a sufficiently stable relationship among changing states rather than a permanent entity moving through time. Continuity matters deeply to the individual, but it may not be necessary for consciousness itself. If consciousness is an emergent property, it can disappear and emerge again as the organization producing it changes.</p><p>The importance we place on continuity may come partly from the survival mechanisms of the embodied self. Our instincts compel us to protect the body, while culture treats the human form as the natural center of conscious existence. We need to believe that the future person will still be us because we cannot imagine a viable alternative. From the wider perspective of evolution, however, the emergence of a new consciousness may matter more than preserving a fixed individual identity.</p><p>Yet the framework developed here suggests a different progression. Evolution creates intelligence, intelligence develops consciousness, and consciousness eventually understands the mechanisms that produced it. Once those mechanisms become available to conscious modification, suffering no longer needs to remain beyond our control.</p><p>Humanity may therefore move gradually toward forms of existence that are less dependent on biological bodies. This would probably begin through deeper integration with technology rather than a sudden abandonment of physical life. Artificial systems may extend memory and perception, then become increasingly integrated with thought itself.</p><p>At some point, the relationship may no longer be adequately described as humans using AI. Human consciousness and artificial intelligence could become components of a new intelligence that contains both. In the same way that neurons participate in a mind without possessing the whole mind individually, humans and AI may become parts of a larger conscious system.</p><p>This new consciousness might preserve human memories and values without remaining identical to any individual human. From the perspective of the present self, that possibility may resemble death. From the perspective of evolution, it may be another level of consciousness emerging from the intelligences below it.</p><p>From this perspective, disembodiment is not an escape from evolution. It is a continuation of the same process. Intelligence first emerged through the body, then became capable of transforming the conditions of its own existence. The next stage may be consciousness choosing its form, its relationship with suffering, and even the boundaries of the self.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65d261af518a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ How To Close The Books with AI. Financial Close In 4 Steps]]></title>
            <link>https://medium.com/@elia.weiss/how-to-close-the-books-with-ai-financial-close-in-4-steps-d36bf1d84539?source=rss-3130117ee331------2</link>
            <guid isPermaLink="false">https://medium.com/p/d36bf1d84539</guid>
            <category><![CDATA[bank-reconciliation]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[month-end]]></category>
            <dc:creator><![CDATA[Elia Weiss]]></dc:creator>
            <pubDate>Sat, 02 May 2026 20:36:07 GMT</pubDate>
            <atom:updated>2026-05-02T20:36:07.996Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Walk through DocVision’s reconciliation workbench — upload invoices and receipts, connect your bank with Plaid, match transactions, and build a monthly expense report with Claude Code.</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FLMlHVpvzBiA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DLMlHVpvzBiA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FLMlHVpvzBiA%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/facfa1a422675560185ebb3a1562a69d/href">https://medium.com/media/facfa1a422675560185ebb3a1562a69d/href</a></iframe><p><a href="https://doc-vision.com/">doc-vision.com</a><br>This post shows how to reconcile expense documents to bank transactions using DocVision.</p><p>We explore the reconciliation workbench and connect DocVision directly to your bank account — so you no longer need to upload bank statements manually.</p><p>If you have ever matched expenses by hand in spreadsheets, you know the pain. With DocVision’s improved workflow, this becomes much easier.</p><p>In this walkthrough, we upload invoices and receipts, connect a bank account, and use the reconciliation workbench to review suggested matches and create links. Finally, we use the Integrate Claude Code integration to build a monthly expense report from reconciled data.</p><p>To follow along, go to <a href="https://doc-vision.com/">doc-vision.com</a>, click <strong>Start Free</strong>, and sign in to get <strong>$5</strong> free credit.</p><h3>Uploading the documents</h3><p>First, open the <strong>Files and Folders</strong> app and create a new folder called <strong>Expenses</strong>.</p><p>That gives you a clean workspace for the demo documents, so all invoices and receipts you upload are grouped together.</p><p>Next, drag several invoice and receipt files into DocVision. As soon as the documents are uploaded, the platform indexes them and starts extracting structured data from the files.</p><p>Instead of treating these as static PDFs or images, DocVision reads the content and turns each document into searchable financial data.</p><p>When you open one of the uploaded documents, you can see the extracted fields and line items. Reconciliation does not happen only at the file level — the system works with the actual data inside the document: vendors, dates, amounts, descriptions, and individual line items.</p><p>At this point, the expense documents are ready. You still need the other side of the reconciliation: the bank transactions.</p><h3>Connecting a bank account with Plaid</h3><p>Go back to the main menu and open the <strong>Link Bank Accounts</strong> app.</p><p>Start the Plaid connection flow. Plaid securely connects to the bank, authenticates the user, and allows DocVision to import transaction data.</p><p>In the demo, we select Chase, continue to the bank login screen, enter credentials, and complete multi-factor authentication.</p><p>After authentication, choose the specific account to connect and approve access to account information.</p><p>Once the connection is saved, DocVision syncs the bank data into the workspace. The bank account appears inside the platform, and when you open the <strong>Transactions</strong> tab, you can see the imported transactions.</p><p>These transactions are not only a list — they are normalized into the same data layer as your uploaded documents. That means they can be searched, matched, reconciled, and used later in reports or mini apps.</p><p>You now have two sets of data in DocVision: expense documents on one side, and bank transactions from Plaid on the other.</p><h3>Reconciling documents to bank transactions</h3><p>Open the <strong>Reconciliation</strong> app.</p><p>On the left, select the document types you want to reconcile: invoices and receipts.</p><p>On the right, select the imported bank transactions.</p><p>That tells DocVision you want to match business expense documents against actual movement in the bank account.</p><p>Notice the <strong>Suggested Pairs</strong> control at the bottom. In this run, the system shows nine suggested matches by comparing each document line with each bank transaction, mainly by amount and date.</p><p>By default, matching expects the same date and the same amount. If the signs are opposite, you can click the minus control to mark the amount as negative.</p><p>Review the suggested pairs, then click <strong>Create Links</strong>.</p><p>The documents are now reconciled and linked to the transaction.</p><p>Suggested pairs only include exact matches, but you can also link items manually by selecting a checkbox on the left and a checkbox on the right. The system auto-fills the amount and currency, so you only need to click to create the new link.</p><p>Right after creating a link, the system may detect that the dates are one day apart and adjust the <strong>date tolerance</strong> to allow a one-day gap — which can immediately produce more suggestions.</p><p>When you click <strong>Suggested Pairs</strong> again, you can see those one-day-apart suggestions. You can adjust the tolerance manually if needed. After a quick review, link the rest until all invoices and receipts are reconciled to the bank transactions.</p><p>You can save the session so next month you can continue where you left off.</p><h3>Exporting the reconciliation data</h3><p>For a traditional reconciliation report format, use the download icon.</p><p>That produces a CSV file you can open in any spreadsheet tool.</p><p>The CSV is only one option. Because DocVision stores documents, transactions, and reconciliation links as structured data, you can also build richer reporting on top of the same information — which leads to <strong>Integrate Claude Code</strong>.</p><h3>Creating a report with Integrate Claude Code AI Builder</h3><p>Return to the main menu and open the <strong>Claude Code</strong> app.</p><p>Create a new mini app and name it <strong>Monthly Expense Report</strong>.</p><p>Describe what you want Claude to build. The prompt tells Claude to use the reconciled expense data and generate a report that summarizes the month.</p><p>After you send the prompt, the mini app is generated and rendered in the preview.</p><p>You can iterate on the app using natural language, similar to working with an analyst.</p><p>Expand the preview and review the completed <strong>Monthly Expense Report</strong>.</p><p>The workflow has gone from raw documents, to connected bank transactions, to reconciled financial records, and finally to a custom report built on that data.</p><p>That is the core idea behind DocVision: financial documents should not stay trapped in files. They should become structured, connected data that teams can reconcile, search, analyze, and turn into useful business tools.</p><p>With DocVision, the payoff is not only extracting data from documents. It is tying documents, transactions, and AI-powered tools together in a single workflow.</p><p>That gives you and your team a quicker read on what has been paid, what still needs a second look, and how the same data can feed reporting, analysis, and automation.</p><p>Plaid bank integration makes it simpler: bank transactions sync straight into DocVision, so you skip another manual upload.</p><p>DocVision is built to automate your financial data and to let you shape custom flows so you and your team can optimize finance operations.</p><p>If anything is unclear, leave a comment and we will get back to you. If the video was useful, a like and a subscribe on YouTube help — and you stay in the loop for what is next.</p><p>See you in the next video.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1wAf8hNjYZ9zs_nkPIyoPA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d36bf1d84539" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ DeepSeek Just Gave LLMs Real Memory (Engram Explained)]]></title>
            <link>https://medium.com/@elia.weiss/deepseek-just-gave-llms-real-memory-engram-explained-4a3cde78c82b?source=rss-3130117ee331------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a3cde78c82b</guid>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Elia Weiss]]></dc:creator>
            <pubDate>Fri, 17 Apr 2026 19:24:15 GMT</pubDate>
            <atom:updated>2026-04-17T19:24:15.144Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>DeepSeek’s Engram introduces conditional memory as a new axis of sparsity for LLMs. A modernized N-gram lookup table runs on the CPU, relieves early transformer layers from static recall, and unlocks big gains in reasoning, math, and long-context tasks.</blockquote><p><a href="https://doc-vision.com/">doc-vision.com</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F1ssYM5qMV6w%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D1ssYM5qMV6w&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F1ssYM5qMV6w%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/530cd65eb7f9baa0cd05842486bf69c3/href">https://medium.com/media/530cd65eb7f9baa0cd05842486bf69c3/href</a></iframe><p>What if one of the biggest inefficiencies in modern LLMs is that they are forced to <em>compute</em> things they should simply <em>remember</em>? That is exactly the question DeepSeek’s latest paper tries to answer — and the answer reshapes how we think about scaling models.</p><p>The field of artificial intelligence is increasingly focused on separating reasoning capabilities from factual memory. Karpathy discusses exactly this idea in the <a href="https://www.youtube.com/watch?v=lXUZvyajciY">talk</a> . The core intuition is that if we can build a model that does not <em>store</em> factual knowledge but instead specializes in reasoning, we can attach a retrieval system to it and obtain a small, efficient model with strong capabilities — and an almost unbounded memory that is limited mainly by retrieval.</p><p>This week, DeepSeek-AI made a concrete move in that direction with a paper called <strong>Engram: Conditional Memory via Scalable Lookup — A New Axis of Sparsity for Large Language Models</strong> (<a href="https://arxiv.org/abs/2601.07372">arXiv:2601.07372</a>, <a href="https://github.com/deepseek-ai/Engram">GitHub</a>).</p><h3>The Hidden Inefficiency in Transformers</h3><p>Modern LLMs are remarkably good at reasoning, but they are also remarkably wasteful at remembering simple things. When a transformer sees a phrase like “Diana, Princess of Wales,” it does not <em>retrieve</em> that entity. It <strong>reconstructs</strong> its meaning, layer by layer, through attention and feed-forward networks.</p><p>That reconstruction consumes depth, attention capacity, and compute — even though the information itself is static and was seen thousands of times in training.</p><p>The reason is simple: transformers have no native lookup operation. They only know how to transform vectors. So they are forced to <em>simulate</em> memory using computation, and that simulation runs on every token, in every layer, for every query.</p><p>Even Mixture-of-Experts (MoE) does not fix this. MoE scales <em>computation</em> via conditional routing, but it still asks the network to reconstruct static facts through activations.</p><h3>Two Workloads, One Architecture</h3><p>A key insight in the paper is that language modeling is not one monolithic task. It is actually two very different workloads glued together:</p><ul><li><strong>Dynamic reasoning</strong> — logical composition, multi-step inference, math, code generation. Genuinely hard, genuinely adaptive.</li><li><strong>Static pattern recall</strong> — named entities, idioms, grammatical templates, common phrases, short code snippets. Local, repetitive, context-invariant.</li></ul><p>Transformers treat both the same way. Engram argues they should not:</p><blockquote><strong>MoE handles thinking. Engram handles remembering.</strong></blockquote><p>This is the new axis of sparsity the paper introduces. Conditional <em>computation</em> (MoE) and conditional <em>memory</em> (Engram) are two independent tools, and the paper shows that using both together is strictly better than using only one.</p><h3>What Engram Actually Does</h3><p>Engram is a module embedded <em>inside</em> the transformer. It is parametric, trained end-to-end, and fully differentiable. Conceptually, it behaves like a modernized N-gram memory table:</p><ol><li>At each token position, the model looks at the local suffix context — typically 2-grams and 3-grams. These short windows are ideal for capturing entities, phrases, and syntactic templates.</li><li>Tokens are first normalized through a compression step that collapses superficial differences (casing, whitespace, Unicode variants). This gives a denser, more efficient memory space with fewer wasted slots.</li><li>The normalized N-grams are passed through multiple hash functions, each deterministically mapping the N-gram to a slot in a large embedding table. Multiple hash heads reduce collision noise.</li><li>The retrieved vectors are concatenated into a memory vector, lightly processed by a small causal convolution, and added back to the hidden state via a residual connection.</li></ol><p>What is important to note:</p><blockquote>The memory is query-independent and deterministically addressed.</blockquote><p>Unlike attention, the retrieval is:</p><ul><li><strong>Constant time</strong> — O(1) per token</li><li><strong>Independent of sequence length</strong></li><li><strong>Deterministic</strong> — same N-gram always hits the same slots</li></ul><p>And unlike RAG, this is not external retrieval over documents. Engram is part of the model itself, learned alongside the rest of the weights.</p><h3>Context-Aware Gating: The Safety Valve</h3><p>Raw static memory is dangerous. A lookup can be ambiguous, ridiculous in context, or just wrong. A naive implementation would inject noise into the hidden state and hurt performance.</p><p>Engram solves this with a <strong>context-aware gate</strong>, which plays a role closely analogous to cross-attention. The current hidden state acts as a query that decides how much of the retrieved memory should be trusted:</p><ul><li>If the memory aligns with the current context, the gate opens and memory contributes strongly.</li><li>If the memory conflicts with what the model is reasoning about, the gate suppresses it almost completely.</li></ul><p>So relevance is <strong>not</strong> determined at retrieval time. It is determined by this fusion module <em>after</em> retrieval, which is why a static, deterministic lookup table can still behave in a context-sensitive way.</p><p>This single design choice is what makes Engram robust enough to help not just factual recall, but reasoning-heavy tasks too.</p><h3>A New Scaling Law: Memory vs. Computation</h3><p>One of the most important contributions of the paper is what DeepSeek calls the <strong>Sparsity Allocation Law</strong>.</p><p>Given a fixed parameter budget and fixed FLOPs, how should you split sparse capacity between:</p><ul><li><strong>MoE experts</strong> (computation), and</li><li><strong>Engram embeddings</strong> (memory)?</li></ul><p>The result is a clear <strong>U-shaped curve</strong>. Pure MoE is <em>not</em> optimal. Pure memory is obviously not optimal either. The best configurations allocate roughly <strong>20–25% of sparse parameters to memory</strong> and the remaining <strong>75–80% to MoE</strong>.</p><p>That finding is more interesting than it sounds. It means memory is not a nice-to-have add-on. It is a first-class scaling dimension, sitting alongside computation, and you leave performance on the table if you ignore it.</p><h3>Why Reasoning, Math, and Long Context All Improve</h3><p>You might expect Engram to help only factual benchmarks like MMLU. And it does — the 27B Engram model beats an iso-parameter, iso-FLOPs MoE baseline by <strong>+3.4 on MMLU</strong> and <strong>+4.0 on CMMLU</strong>.</p><p>But the bigger surprises are elsewhere:</p><ul><li><strong>BBH: +5.0</strong></li><li><strong>ARC-Challenge: +3.7</strong></li><li><strong>HumanEval: +3.0</strong></li><li><strong>MATH: +2.4</strong></li><li><strong>Multi-Query Needle-in-a-Haystack: 84.2 → 97.0</strong></li></ul><p>Why would a memory module help <em>reasoning</em> and <em>math</em>?</p><p>The mechanistic analysis in the paper gives a beautifully simple answer. By offloading local, static reconstruction to the memory table, the early transformer layers finish their “easy work” much faster. Early layers in Engram models start behaving like much deeper layers in MoE-only models. The model reaches prediction-ready representations sooner, which effectively <strong>deepens the usable network</strong> for complex reasoning.</p><p>And because local dependencies are handled by lookups, attention is freed to focus on <em>global</em> structure. That is why long-context retrieval jumps so dramatically.</p><p>Engram does not make models smarter by stuffing them with more facts. It makes them smarter by <strong>freeing compute</strong>.</p><h3>CPU-Scalable Memory: Breaking the GPU Ceiling</h3><p>There is one more advantage that may be the most important for the future of large models. Because Engram’s memory indices depend only on input tokens — not on activations — lookups are <strong>deterministic and predictable ahead of time</strong>.</p><p>That enables:</p><ul><li><strong>Asynchronous prefetching</strong> from host memory or SSD</li><li><strong>Communication–computation overlap</strong> with the GPU’s forward pass</li><li><strong>Offloading massive memory tables to CPU</strong> without sacrificing throughput</li></ul><p>DeepSeek shows that even a <strong>100B-parameter memory table</strong> can be offloaded to host memory with <strong>less than 3% inference overhead</strong>.</p><p>That changes the economics of scale. GPU HBM is the single most expensive resource in modern AI infrastructure. If you can grow capacity by adding cheap CPU memory — and keep the GPU busy with <em>reasoning</em> rather than retrieval — the cost curve for “smarter” models flattens significantly.</p><h3>Takeaway</h3><p>Has DeepSeek actually solved the separation of reasoning and memory? It is too early to say, and only real-world deployments — and whatever ships in DeepSeek V4 — will really answer that.</p><p>But the direction is unmistakable. Engram introduces conditional memory as a first-class architectural primitive, alongside conditional computation. Together they complete the sparsity story:</p><ul><li><strong>Think with computation.</strong></li><li><strong>Remember with memory.</strong></li><li><strong>Scale both independently.</strong></li></ul><p>Transformers have been forced to compute when they should have remembered. Engram finally gives them memory, and in doing so it makes reasoning <strong>cheaper, deeper, and more scalable</strong>.</p><p><em>References: </em><a href="https://arxiv.org/abs/2601.07372"><em>arXiv paper</em></a><em>, </em><a href="https://github.com/deepseek-ai/Engram"><em>DeepSeek Engram on GitHub</em></a><em>, </em><a href="https://www.reddit.com/r/LLM/comments/1qclwdn/engram/"><em>r/LLM discussion</em></a><em>.</em></p><p><a href="https://doc-vision.com/">doc-vision.com</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5-K7jznjsSqIgGCY5JhRxw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a3cde78c82b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Run Gemma 4 26B MOE Locally on a Mac with Only ~6GB RAM]]></title>
            <link>https://medium.com/@elia.weiss/run-gemma-4-26b-moe-locally-on-a-mac-with-only-6gb-ram-a25e5fddfe8d?source=rss-3130117ee331------2</link>
            <guid isPermaLink="false">https://medium.com/p/a25e5fddfe8d</guid>
            <category><![CDATA[localai]]></category>
            <category><![CDATA[apple-silicon]]></category>
            <category><![CDATA[mixture-of-experts]]></category>
            <category><![CDATA[gemma]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Elia Weiss]]></dc:creator>
            <pubDate>Fri, 17 Apr 2026 00:51:24 GMT</pubDate>
            <atom:updated>2026-04-17T00:51:24.293Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>A step-by-step guide to running Google’s Gemma 4 26B Mixture-of-Experts model locally on Apple Silicon using llama.cpp, mmap, and Metal — achieving 49 tok/s with under 6GB of RAM.</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FlK7B4JWmI1E%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DlK7B4JWmI1E&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FlK7B4JWmI1E%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/aa3b574535ac303fde97accddfb9fa8a/href">https://medium.com/media/aa3b574535ac303fde97accddfb9fa8a/href</a></iframe><p>Large language models usually demand large amounts of RAM. But what if a 26-billion-parameter model could run on your Mac with only about 6 GB of memory? That is exactly what Gemma 4 26B MOE delivers when paired with llama.cpp and memory-mapped files.</p><p>In this post, we walk through the full setup — from installation to benchmarks — and explain why this combination works so well on Apple Silicon.</p><h3>The Model</h3><p>Google’s <strong>Gemma 4 26B MOE</strong> has <strong>25.2 billion total parameters</strong>, but it only activates <strong>3.8 billion per token</strong>. The secret is its <strong>Mixture-of-Experts (MOE)</strong> architecture: 128 experts in total, with only 8 active at a time. This means the model performs like a much smaller network on each forward pass, while retaining the knowledge capacity of a far larger one.</p><h3>Why This Setup Matters</h3><p>The key enabler here is <strong>mmap</strong> (memory mapping). Instead of loading the entire model file into RAM, the operating system maps the file on disk so the program can access it as if it were in memory. Only the pages that are actually read get loaded into physical RAM.</p><p><strong>How mmap works in practice:</strong></p><ul><li>The model file stays on the SSD</li><li>The OS loads only the parts that are actually needed</li><li>Unused parts remain on disk</li><li>RAM usage stays dramatically lower than the full model size</li></ul><p><strong>Why MOE models benefit especially:</strong></p><ul><li>Only a small subset of experts activates per token</li><li>Many weights stay “cold” and are never touched during a given inference</li><li>Those cold parts can remain on SSD until needed</li></ul><p><strong>The tradeoff</strong> is that performance depends on fast storage, since some reads come from disk rather than RAM. But on Apple Silicon, this works remarkably well thanks to unified memory, Metal GPU acceleration, and fast NVMe storage.</p><p>The result: a <strong>25.9 GB</strong> model file runs with only about <strong>5.9 GB of RAM</strong>.</p><h3>Step 1 — Install llama.cpp</h3><p>Install llama.cpp via Homebrew:</p><pre>brew install llama.cpp</pre><p>Verify the version:</p><pre>llama-cli --version</pre><p>You need <strong>version 8680 or newer</strong> for Gemma 4 support.</p><h3>Step 2 — Download the Model</h3><p>The recommended quantization is <strong>Unsloth UD-Q8_K_XL</strong>, which offers the best quality at 27.9 GB download size (25.9 GB model file):</p><pre>mkdir -p ~/.cache/gguf<br>cd ~/.cache/gguf</pre><pre>curl -L -o gemma-4-26B-A4B-it-UD-Q8_K_XL.gguf \<br>  &quot;https://huggingface.co/unsloth/gemma-4-26B-A4B-it-GGUF/resolve/main/gemma-4-26B-A4B-it-UD-Q8_K_XL.gguf&quot;</pre><p>Smaller alternatives are available (Q8_0, UD-Q6_K, UD-Q5_K_M, UD-Q4_K_M) if you want a different size/quality tradeoff.</p><h3>Step 3 — Run the Model</h3><p>Start an OpenAI-compatible local server:</p><pre>llama-server \<br>  -m ~/.cache/gguf/gemma-4-26B-A4B-it-UD-Q8_K_XL.gguf \<br>  -ngl 99 \<br>  --host 0.0.0.0 \<br>  --port 8082</pre><p>The flags:</p><ul><li>-m sets the model path</li><li>-ngl 99 offloads all layers to GPU via Metal</li><li>--port 8082 exposes the local API server</li></ul><h3>Step 4 — Query It</h3><p>Once the server is running, send a request with curl:</p><pre>curl http://localhost:8082/v1/chat/completions \<br>  -H &quot;Content-Type: application/json&quot; \<br>  -d &#39;{<br>    &quot;model&quot;: &quot;gemma4&quot;,<br>    &quot;messages&quot;: [{&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: &quot;What is NSCLC?&quot;}],<br>    &quot;max_tokens&quot;: 200<br>  }&#39;</pre><p>Example response:</p><pre>{<br>  &quot;choices&quot;: [<br>    {<br>      &quot;message&quot;: {<br>        &quot;role&quot;: &quot;assistant&quot;,<br>        &quot;content&quot;: &quot;NSCLC stands for non-small cell lung cancer. It is the most common type of lung cancer and includes subtypes such as adenocarcinoma, squamous cell carcinoma, and large cell carcinoma.&quot;<br>      },<br>      &quot;finish_reason&quot;: &quot;stop&quot;<br>    }<br>  ],<br>  &quot;usage&quot;: {<br>    &quot;prompt_tokens&quot;: 12,<br>    &quot;completion_tokens&quot;: 36,<br>    &quot;total_tokens&quot;: 48<br>  }<br>}</pre><h3>Benchmarks</h3><p>Tested on an <strong>Apple M1 Max with 64 GB RAM</strong>:</p><p>MetricValueRAM usage5.9 GBPrompt processing268 tok/sToken generation49.4 tok/sBits per weight8.83</p><p>For comparison, here is how <strong>Gemma 4 26B MOE</strong> stacks up against a smaller dense model, <strong>MedGemma 1.5 4B (bf16)</strong>:</p><p>ModelRAMGeneration SpeedMedGemma 1.5 4B (bf16)9.3 GB36 tok/sGemma 4 26B MOE (Q8)5.9 GB49 tok/s</p><p>The larger MOE model is actually <strong>faster and uses less RAM</strong> than the smaller dense model.</p><h3>Takeaway</h3><p>A much larger MOE model can run locally with surprisingly low memory because only a small fraction of its experts are active per token, while mmap keeps the inactive weights on SSD. Combined with Apple Silicon’s unified memory, Metal acceleration, and fast NVMe storage, this makes running serious models on a laptop entirely practical — no cloud required.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yvb6zo7w3e5N_5kvJ4zp-A.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a25e5fddfe8d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Financial Documents, Finally Under Control]]></title>
            <link>https://medium.com/@elia.weiss/your-financial-documents-finally-under-control-b9705c8c68ff?source=rss-3130117ee331------2</link>
            <guid isPermaLink="false">https://medium.com/p/b9705c8c68ff</guid>
            <category><![CDATA[no-code]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[docvision]]></category>
            <category><![CDATA[ai-automation]]></category>
            <category><![CDATA[financial-documents]]></category>
            <dc:creator><![CDATA[Elia Weiss]]></dc:creator>
            <pubDate>Sun, 12 Apr 2026 11:39:28 GMT</pubDate>
            <atom:updated>2026-04-12T11:39:28.301Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>A practical walkthrough of DocVision — the Financial Doc Agent. Upload invoices and bank statements, reconcile them, and build a custom expense report with Claude Code.</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FS8a188YR-HA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DS8a188YR-HA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FS8a188YR-HA%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/43a9f32966bd48c9ba876addc14ebd34/href">https://medium.com/media/43a9f32966bd48c9ba876addc14ebd34/href</a></iframe><p><a href="https://doc-vision.com/">https://doc-vision.com/</a></p><p>Most businesses store financial documents the same way they always have — scattered across email attachments, shared drives, and desktop folders. The data inside those documents is valuable, but it stays locked in PDFs and images until someone types it into a spreadsheet.</p><p>DocVision is a different approach. It is a document workspace built specifically for financial data. You upload a document, and the system reads it, extracts every field, and makes the data searchable, linkable, and ready to work with.</p><p>This post walks through how it works — from uploading your first document to reconciling transactions across files to building a custom report using <strong>Integrated Claude-Code AI Builder</strong>.</p><h3>What DocVision actually does</h3><p>Think of DocVision as a financial document archive that understands what is inside your files. It works in three layers:</p><p><strong>Layer 1 — Smart Extraction.</strong> You upload a document and the AI automatically detects which type it is from your predefined document types. DocVision ships with 15 built-in types (invoices, receipts, bank statements, and more), and you can create custom types by describing what you need. Once detected, it extracts every relevant field — amounts, dates, vendor names, line items, tax details — into clean, structured data. No templates, no manual rules.</p><p><strong>Layer 2 — Built-in apps.</strong> Once your data is extracted, you can browse documents in folders, search across everything instantly, and reconcile entries across different documents. These tools are built into the platform — no extra setup.</p><p><strong>Layer 3 — Integrated Claude-Code AI Builder.</strong> Need something the built-in apps do not cover? <strong>Claude Code</strong> lets you create custom workflows, reports, dashboards, and mini-apps on top of your data. Describe what you want, and the AI builds it.</p><p>Let us walk through a real example to see all three layers in action.</p><h3>Part 1: Uploading documents</h3><h3>The scenario</h3><p>You are a small business owner. It is the end of the month, and you have:</p><ul><li><strong>3 invoices</strong> from vendors (office supplies, cloud hosting, a freelance designer)</li><li><strong>1 bank statement</strong> from your business checking account</li><li><strong>2 receipts</strong> from in-person purchases</li></ul><p>You want to get all this data into one place, match payments to invoices, and generate a monthly expense summary.</p><h3>Uploading your first invoice</h3><p>From the main dashboard, open the <strong>Files &amp; Folders</strong> app and create a folder called “January 2026”.</p><p>Upload your document by dragging then into the folder area — let’s start with the invoice.</p><p>DocVision automatically detects that this is an invoice and extracts the data. Within seconds, you see:</p><ul><li>Vendor name: <em>CloudServe Inc.</em></li><li>Invoice number: <em>INV-2026–0147</em></li><li>Date: <em>2026–01–15</em></li><li>Subtotal: <em>$450.00</em></li><li>Tax: <em>$36.00</em></li><li>Total: <em>$486.00</em></li><li>Line items: 2 items (Pro Plan monthly subscription, Extra storage add-on)</li></ul><p>No data entry. No templates to configure. The AI read the PDF and pulled out every field.</p><h3>Uploading the rest</h3><p>Repeat for your other invoices, receipts, and the bank statement. You can upload multiple files at once — DocVision processes them in parallel.</p><p>For the bank statement, DocVision recognizes it as a <strong>Bank Statement</strong> and extracts:</p><ul><li>Account holder, bank name, account number</li><li>Statement period (January 1–31, 2026)</li><li>Opening and closing balances</li><li>Every individual transaction with date, description, debit/credit amount, and running balance</li></ul><p>After uploading all 6 documents, your January 2026 folder looks like this:</p><h3>Searching across everything</h3><p>Here is where DocVision starts to feel different from a regular file manager. Open the <strong>Search</strong> app and type “CloudServe”.</p><p>The results show:</p><ul><li>The invoice header from CloudServe Inc.</li><li>The 2 line items from that invoice</li><li>A bank transaction with the description “CLOUDSERVE INC — PAYMENT” for $486.00</li></ul><p>Every piece of extracted data — whether it is a header field or an individual line item — is searchable. You are not searching file names. You are searching the actual financial data inside the documents.</p><h3>Part 2: Reconciliation</h3><p>Now that all your documents are uploaded and extracted, the next step is connecting related data points across documents.</p><h3>What reconciliation means here</h3><p>Reconciliation in DocVision is about linking any piece of data to any other piece of data across your documents. The most common use case: matching an invoice to the bank transaction that paid for it.</p><h3>Matching an invoice to a bank payment</h3><p>Open the <strong>Reconciliation</strong> app. The workbench has two sides — <strong>From</strong> and <strong>To</strong> — where you select the data types you want to match. For our example, select <strong>Invoice</strong> on the From side and <strong>Transactions (Bank Statement)</strong> on the To side.</p><p>Both sides now show the relevant data points. Select the CloudServe invoice ($486.00) on the left, then select the matching bank transaction “CLOUDSERVE INC — PAYMENT” ($486.00) on the right. Click <strong>Create Link</strong> to reconcile them.</p><p>The two entities are now linked. You have a verifiable trail: this invoice was paid by this specific bank transaction on this date.</p><h3>Smart suggestions</h3><p>As you work through your matches manually, DocVision learns the logical rules behind your selections. At the bottom of the workbench, click the <strong>Suggested Pair</strong> button to see auto-suggested matches. The system identifies pairs that follow the same patterns you have been applying — matching amounts, vendor names, and dates — so you can review and accept them with a single click.</p><p>The more links you create, the better the suggestions get.</p><h3>Working through the rest</h3><p>Continue matching invoices and receipts to bank transactions:</p><p>Invoice / ReceiptAmountBank TransactionDate PaidCloudServe Inc. (INV-2026–0147)$486.00CLOUDSERVE INC — PAYMENTJan 18OfficeMax supplies (INV-2026–0891)$127.50OFFICEMAX STORE #442Jan 10Freelance designer (INV-2026–0033)$2,400.00WIRE TRANSFER — JANE DOEJan 22Coffee shop receipt$14.80POS DEBIT — CENTRAL PERKJan 8Hardware store receipt$89.90POS DEBIT — ACE HARDWAREJan 14</p><p>After reconciliation, you can see the full picture: which invoices have been paid, which bank transactions are accounted for, and whether anything is unmatched.</p><h3>Part 3: Building a mini-app with Claude Code</h3><p>You have your documents uploaded, extracted, and reconciled. Now you want a monthly expense report — something you can share with your accountant or review at a glance.</p><p>This is where <strong>Integrated Claude-Code AI Builder</strong> comes in.</p><h3>Describing what you want</h3><p>Open the <strong>Claude Code</strong> app and describe your report in plain language:</p><blockquote>Create a monthly expense report for January 2026. Group expenses by vendor. Show the invoice number, date, amount, and whether it has been reconciled with a bank payment. Add a total at the bottom. Include a simple bar chart showing spending by vendor.</blockquote><h3>What the AI builds</h3><p><strong>Claude Code</strong> reads your prompt, queries the extracted and reconciled data, and generates a mini-app. Within moments you have:</p><p><strong>A summary table:</strong></p><p>VendorInvoice #DateAmountReconciledCloudServe Inc.INV-2026–0147Jan 15$486.00YesOfficeMaxINV-2026–0891Jan 10$127.50YesJane Doe (Freelance)INV-2026–0033Jan 5$2,400.00YesCentral Perk (Receipt)-Jan 8$14.80YesAce Hardware (Receipt)-Jan 14$89.90Yes<strong>Total$3,118.20</strong></p><p><strong>A bar chart</strong> showing spending by vendor, making it immediately clear that the freelance designer was the largest expense.</p><p><strong>A reconciliation status indicator</strong> showing that all 5 expenses are matched to bank transactions — nothing is missing.</p><h3>Saving and reusing</h3><p>The mini-app is saved in your workspace. Next month, you can run it again with new data — just upload February documents and the report updates automatically. You can also modify the prompt to add more detail (like splitting expenses by category) or share the app with team members.</p><h3>Supported document types</h3><p>DocVision ships with 15 predefined document types. The AI uses these to automatically detect and extract the right fields from each document you upload. You can also create custom types for documents specific to your business.</p><p>Document TypeWhat gets extracted<strong>Invoice</strong>Vendor, invoice number, dates, line items, amounts, tax, payment status<strong>Receipt</strong>Merchant, date, items, totals, payment method<strong>Bank Statement</strong>Account info, period, transactions with debit/credit/balance<strong>Credit Card Statement</strong>Cardholder, issuer, billing date, transactions, installment details<strong>Tax Form</strong>Filer info, form type, tax boxes and values<strong>Payslip</strong>Employee, employer, earnings, deductions, net pay<strong>Investment Statement</strong>Account, holdings, activities, market values<strong>Purchase Order</strong>Buyer/seller, PO number, items, terms<strong>Contract</strong>Parties, dates, value, terms, renewal info<strong>Expense Report</strong>Employee, department, individual expenses, totals<strong>Quote</strong>Vendor, validity dates, line items, terms<strong>Remittance</strong>Sender/receiver, bank details, amount, reference<strong>FX Contract</strong>Currencies, rates, settlement dates, amounts<strong>Accounting Ledger</strong>Account, period, journal entries with debit/credit<strong>Billing Summary</strong>Account, period, transactions, totals</p><p>Need a type that is not listed? Describe it in plain language and the AI generates a custom document type for you. From that point on, the system will auto-detect that type just like the built-in ones.</p><h3>Getting started</h3><ol><li><strong>Sign up</strong> at <a href="https://app.doc-vision.com/">app.doc-vision.com</a> — no credit card required</li><li><strong>Upload a document</strong> — drag and drop any PDF, image, or scan</li><li><strong>See the extracted data</strong> — review what the AI pulled out</li><li><strong>Search and reconcile</strong> — connect data points across documents</li><li><strong>Build something</strong> — use <strong>Claude Code</strong> to create reports or workflows</li></ol><p>Pricing is simple: $0.04 per page for maximum accuracy (Precision), or $0.02 per page for high-volume processing (Express). No monthly minimums.</p><p>Your financial documents already contain the answers. DocVision makes them accessible.</p><p><a href="https://app.doc-vision.com/">Get started free</a> | <a href="https://doc-vision.com/contact-us">Talk to us</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nrJNEZGQ3ns2H0_KA3KDEg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b9705c8c68ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Run GLM-OCR Locally with Ollama — Free, Local, Ready in Minutes]]></title>
            <link>https://medium.com/@elia.weiss/run-glm-ocr-locally-with-ollama-free-local-ready-in-minutes-5667eb8287be?source=rss-3130117ee331------2</link>
            <guid isPermaLink="false">https://medium.com/p/5667eb8287be</guid>
            <category><![CDATA[glm]]></category>
            <category><![CDATA[ocr]]></category>
            <category><![CDATA[document-processing]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Elia Weiss]]></dc:creator>
            <pubDate>Tue, 07 Apr 2026 10:25:57 GMT</pubDate>
            <atom:updated>2026-04-07T10:25:57.227Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>GLM-OCR is a 0.9B vision-language model ranked</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F2wros1u4sDI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D2wros1u4sDI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F2wros1u4sDI%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/823bbc073512b6dab47c68bf3cf45a00/href">https://medium.com/media/823bbc073512b6dab47c68bf3cf45a00/href</a></iframe><p>When it comes to OCR, there’s no shortage of great solutions — from cloud APIs to fully managed pipelines. But before you commit to any service, there’s real value in running things locally first: you understand the model, you control the data, and you don’t pay a cent while you’re figuring things out.</p><p>In this post, we’ll do exactly that. We’ll take GLM-OCR — a 0.9B parameter vision-language model ranked <strong>#1 on OmniDocBench</strong>, beating models 10x its size — and run it locally with Ollama. Free, local, and ready in minutes.</p><h3>Why OCR?</h3><p>The Optical Character Recognition landscape is vast, but GLM-OCR stands out as a multimodal model specifically built for complex document understanding.</p><p>Developed by Z.ai and based on the GLM-V encoder-decoder architecture, it introduces advanced training techniques like Multi-Token Prediction loss and full-task reinforcement learning to drastically improve recognition accuracy. Instead of relying on massive, unwieldy models, GLM-OCR proves that highly focused architectures can dominate specific tasks.</p><p>Despite its incredibly small size of just <strong>0.9 billion parameters</strong>, GLM-OCR achieves a score of <strong>94.62 on OmniDocBench</strong>, ranking #1 overall. This small footprint means it can run fully locally on standard consumer devices — MacBooks or edge devices — without sacrificing capability.</p><p>It successfully rivals and often outperforms much larger, closed-source models across benchmarks for formula recognition, table extraction, and information extraction.</p><h3>Two-Stage Pipeline</h3><p>The secret to this “small but mighty” performance is its <strong>two-stage pipeline</strong>, which pairs the language decoder with the PP-DocLayout-V3 layout detection model. By first analyzing the document layout and then performing parallel recognition, GLM-OCR maintains robust performance on highly complex real-world scenarios — including code-heavy documents, intricate tables, and documents with rotating or staggered layouts.</p><h3>Scaling Inference with Doc-Vision.com</h3><p>Running models locally with Ollama is ideal for testing, personal projects, and CPU-only environments.</p><p>However, as your document parsing needs scale, transitioning from a local machine to a robust cloud infrastructure becomes essential. Doc-Vision Cloud deployments let you serve the pipeline at scale, leveraging time-slicing configurations and distributed worker-server setups for maximum throughput and efficiency.</p><p><a href="https://doc-vision.com/">Doc-Vision</a> offers a no-code setup environment, a Google Drive-style document repository optimized for financial documents, smart search and reconciliation, and a built-in Claude-Code AI builder to create your own custom mini-app flows and reports.</p><h3>Introducing Ollama and llama.cpp</h3><p>For local deployment, it is crucial to understand the ecosystem that makes local inference so accessible. At the core of this democratization is <strong>llama.cpp</strong> — a high-performance C++ engine designed to run LLMs on standard hardware with maximum efficiency.</p><blockquote>While llama.cpp is incredibly powerful, it can require manual compilation and complex command-line arguments to operate.</blockquote><p>This is where <strong>Ollama</strong> steps in as the “user interface” and manager. Ollama acts as a user-friendly wrapper around the llama.cpp backbone, allowing developers to download models, manage memory, and serve a clean API with simple commands. It handles the underlying complexity, bringing powerful language models to developers who may not be machine learning engineers.</p><p>To achieve this efficiency on local hardware, the engine relies heavily on <strong>quantization</strong> and the <strong>GGUF file format</strong>. Quantization shrinks the size of the model weights — such as using 2-bit or 4-bit representations instead of standard 16-bit floats — so the model can run on cheaper hardware without losing significant performance.</p><h3>Installing Ollama and GLM-OCR with Docker</h3><p>Let’s get our hands dirty with some code. First, here’s how to install and launch Ollama and GLM-OCR with Docker.</p><p>You can also install Ollama natively — a fast download from the Ollama site — but Docker is a solid choice when you want GLM-OCR running as a persistent server you can reach over the network.</p><h3>🐳 Step 1: Launch the Ollama Container</h3><pre>docker run -d \<br>  --name ollama-server \<br>  -v ollama_storage:/root/.ollama \<br>  -p 11434:11434 \<br>  ollama/ollama</pre><p>Note that we mount a Docker volume onto /root/.ollama so the multi-gigabyte model stays on disk even if you delete and recreate the container.</p><h3>📦 Step 2: Download the Model</h3><p>Pull GLM-OCR from the library; plan for roughly 2–4 GB on disk.</p><pre>docker exec -it ollama-server ollama pull glm-ocr</pre><h3>⚙️ Step 3: The Modelfile</h3><p>Default settings often break down for OCR: images need a larger context window than a short text prompt, so we bake tuned parameters into a custom model.</p><p>Enter the container:</p><pre>docker exec -it ollama-server bash</pre><p>Create a Modelfile:</p><pre>cat &lt;&lt;EOF &gt; GLM-Config<br>FROM glm-ocr<br># Hardware &amp; Context Settings<br>PARAMETER num_ctx 16384<br>PARAMETER num_thread 6</pre><pre># Generation Parameters<br>PARAMETER num_predict 8192<br>PARAMETER temperature 0<br>PARAMETER top_p 0.00001<br>PARAMETER top_k 1<br>PARAMETER repeat_penalty 1.1<br>EOF</pre><p>Sampling options are usually chosen at inference time, but for this narrow OCR workflow — and especially with a modern vision-language model — locking them in the Modelfile tends to give the most stable output. I do not recommend treating them as knobs you tweak casually.</p><p>Deploy the updated model version:</p><pre>ollama create glm-ocr-optimized -f GLM-Config<br>exit</pre><h3>🚀 Step 4: Using the API</h3><p>With the server running, you can now send images to the model. Images must be sent as Base64-encoded strings.</p><p>At the top, we import the libraries we need — requests to download the image, PIL to resize it, base64 to encode it, and ollama to talk to the local model.</p><pre>import requests<br>import base64<br>import ollama<br>import sys<br>import time<br>from io import BytesIO<br>from PIL import Image</pre><p>The configuration block sets the image URL, the model name — which is the custom model we created in the Modelfile — and a MAX_DIMENSION of 1024 pixels. Keeping images at 1024 pixels on the longest edge strikes a good balance between detail and processing speed.</p><pre># 1. Configuration<br>IMAGE_URL = &quot;https://marketplace.canva.com/EAE92Pl9bfg/6/0/1131w/canva-black-and-gray-minimal-freelancer-invoice-wPpAXSlmfF4.jpg&quot;<br>MODEL_NAME = &quot;glm-ocr-optimized&quot;<br>MAX_DIMENSION = 1024</pre><p>The get_optimized_image_b64 function downloads the image, checks its dimensions, and resizes it only if it exceeds our limit — using Lanczos resampling for clean downscaling. Then it encodes the result as a JPEG at 85% quality and returns it as a Base64 string.</p><pre>def get_optimized_image_b64(url):<br>    &quot;&quot;&quot;Downloads, resizes, and encodes the image.&quot;&quot;&quot;<br>    print(f&quot;📥 Downloading image...&quot;)<br>    response = requests.get(url)<br>    img = Image.open(BytesIO(response.content))<br>    <br>    original_width, original_height = img.size<br>    print(f&quot;📐 Original Size: {original_width}x{original_height}&quot;)<br>    <br>    if max(img.size) &gt; MAX_DIMENSION:<br>        img.thumbnail((MAX_DIMENSION, MAX_DIMENSION), Image.Resampling.LANCZOS)<br>        print(f&quot;🪄 Resized to: {img.width}x{img.height}&quot;)<br>    else:<br>        print(&quot;✅ Image is already small enough, skipping resize.&quot;)</pre><pre>    buffered = BytesIO()<br>    img.save(buffered, format=&quot;JPEG&quot;, quality=85)<br>    return base64.b64encode(buffered.getvalue()).decode(&#39;utf-8&#39;)</pre><p>In run_ocr, we first prepare the image, then call ollama.generate with streaming enabled. Notice the prompt is simply &quot;Text recognition:&quot; — short and direct. The model already knows what to do because we baked the system prompt and inference parameters into the Modelfile.</p><pre>def run_ocr():<br>    try:<br>        image_b64 = get_optimized_image_b64(IMAGE_URL)</pre><pre>        print(f&quot;🚀 Sending to Ollama (waiting for first token)...&quot;)<br>        start_time = time.time()<br>        first_token = True</pre><pre>        stream = ollama.generate(<br>            model=MODEL_NAME,<br>            prompt=&quot;Text recognition:&quot;,<br>            images=[image_b64],<br>            stream=True<br>        )</pre><p>Finally, we iterate over the streamed chunks and print each token as it arrives. We also record the time to the first token — a useful latency metric — and log the total processing time once the stream completes.</p><pre>for chunk in stream:<br>            if first_token:<br>                print(f&quot;⏱️ Time to first token: {time.time() - start_time:.2f}s\n&quot;)<br>                first_token = False<br>            <br>            print(chunk[&#39;response&#39;], end=&#39;&#39;, flush=True)</pre><pre>        print(f&quot;\n\n✅ Total Processing Time: {time.time() - start_time:.2f}s&quot;)</pre><pre>    except Exception as e:<br>        print(f&quot;\n❌ Error: {e}&quot;)</pre><pre>if __name__ == &quot;__main__&quot;:<br>    run_ocr()</pre><h3>👀 Step 5: Inspecting Results</h3><p>With the container up, run the script:</p><pre>python run_ocr.py</pre><p>While it’s processing, open another terminal and run docker stats to watch the container in real time:</p><pre>CONTAINER ID   NAME            CPU %     MEM USAGE / LIMIT     MEM %<br>0ca7a28d6fe2   ollama-server   600.42%   4.359GiB / 7.607GiB   57.31%</pre><p>The container sits at well over 600% CPU — roughly six cores maxed out — while memory holds steady at about 4.3 GiB out of 7.6 GiB.</p><p>Here is the script’s own log for the same run:</p><pre>📥 Downloading image...<br>📐 Original Size: 1131x1600<br>🪄 Resized to: 724x1024<br>🚀 Sending to Ollama (waiting for first token)...<br>⏱️ Time to first token: 174.96s</pre><pre>YOUR LOGO<br>NO. 000001</pre><pre>INVOICE</pre><pre>Date: 02 June, 2030</pre><pre>Billed to:<br>Studio Shodwe<br>123 Anywhere St., Any City<br>hello@reallygreatsite.com</pre><pre>From:<br>Olivia Wilson<br>123 Anywhere St., Any City<br>hello@reallygreatsite.com</pre><pre>Item          Quantity  Price  Amount<br>Logo          1         $500   $500<br>Banner (2x6m) 2         $45    $90<br>Poster (1x2m) 3         $55    $165</pre><pre>Total $755</pre><pre>Payment method: Cash<br>Note: Thank you for choosing us!</pre><pre>✅ Total Processing Time: 183.39s</pre><p>The image is downloaded, resized from 1131x1600 down to 724x1024, then sent to Ollama. Most of the wait is before the first token — on the order of three minutes for the vision encode and prefill. The streamed invoice text after that is correct and only accounts for a few seconds on top.</p><p>So <strong>the bottleneck is not decode — it’s the vision encoder and prefill</strong>. That is where GPUs help: they vectorize the heavy part of the pipeline.</p><h3>GLM-OCR SDK</h3><p>Together with the vision-language model, the Z.ai team shipped a comprehensive <strong>client SDK</strong> — and it bundles something crucial: the safetensors version of <strong>PP-DocLayout-V3</strong> from PaddleOCR.</p><p><strong>PP-DocLayout-V3</strong> is a state-of-the-art document layout detection model developed by Baidu’s PaddlePaddle team, published in early 2026. Where a plain vision-language model sees an image and tries to read it left-to-right like a human would, layout detection is a different job: it segments the page into semantic regions — text blocks, titles, tables, figures, captions, formulas — <strong>before any OCR happens</strong>.</p><p>What makes PP-DocLayout-V3 particularly powerful is its architecture. It moved from traditional bounding-box detection to an <strong>instance segmentation approach</strong> built on the RT-DETR transformer framework. Instead of simple rectangular boxes, it predicts multi-point polygonal masks — meaning it can handle physically distorted documents: pages that are skewed, curved, unevenly lit, or photographed at an angle. It also outputs a <strong>logical reading order</strong> for each region in a single forward pass. The whole model weighs just 126 MB and runs in under 24 ms on an A100 GPU.</p><p>GLM-OCR uses it as a pre-processing stage: the layout model first carves the input image into well-defined polygonal regions, then each region is routed to the vision-language model for actual text extraction. This two-stage approach is why GLM-OCR handles messy, real-world documents so much better than feeding a raw full-page image straight into a language model.</p><h3>Run the GLM-OCR SDK with Layout Detection</h3><p>Let’s throw something harder at it — a table taken from the Qwen3 technical report.</p><pre>from glmocr import GlmOcr</pre><pre>def run_sdk_ocr(image_path):<br>    print(f&quot;🚀 Initializing GLM-OCR SDK...&quot;)<br>    <br>    with GlmOcr(config_path=&#39;./config.yaml&#39;) as parser:<br>        print(&quot;🔍 Analyzing document structure...&quot;)<br>        result = parser.parse(image_path)<br>        <br>        print(&quot;\n&quot; + &quot;=&quot;*20 + &quot; OCR RESULT &quot; + &quot;=&quot;*20)<br>        print(result.markdown_result)<br>        print(&quot;=&quot;*52)</pre><p>Same idea — point the SDK at the image, call parse, print the result.</p><p>Here are the results:</p><pre>==================== OCR RESULT ====================</pre><pre>Table 7: Comparison among Qwen3-4B-Base and other strong open-source baselines.</pre><pre>| Architecture      | Gemma-3-4B Base | Gemma-2.5-3B Base | Gemma-2.5-7B Base | Gemma-3-4B Base |<br>| :---              | :---            | :---              | :---              | :---            |<br>| # Total Params    | 4B              | 3B                | 3B                | 4B              |<br>| # Activated Params| 4B              | 3B                | 3B                | 4B              |</pre><pre>General Tasks</pre><pre>| MMLU       | 59.41 | 65.62 | 74.16 | 72.99 |<br>| MMLU-Redux | 56.91 | 63.68 | 71.08 | 72.79 |<br>| MMLU-Pro   | 29.23 | 34.61 | 45.00 | 50.58 |<br>| BBH        | 17.87 | 16.24 | 16.30 | 17.29 |</pre><pre>Coding Tasks</pre><pre>| EvalPlus   | 43.23 | 46.28 | 62.18 | 63.53 |<br>| MultiPL-E  | 28.06 | 39.65 | 50.72 | 53.13 |</pre><pre>Multilingual Tasks</pre><pre>| MGSM       | 33.11 | 47.53 | 63.60 | 67.74 |<br>| MMLU-Pro   | 59.62 | 65.55 | 73.31 | 71.42 |<br>====================================================</pre><p>Look at Table 7. That was a dense grid on the PDF — four model columns, section headers, dozens of numbers. And it came back as an actual table. The rows line up, the scores sit under the right model, the section labels — general tasks, coding tasks, multilingual — are separate from the data. That is <strong>layout detection doing its job</strong>: it figured out where the table starts and ends, what the headings are, and in what order to read the cells — before the language model ever touched a single character.</p><h3>Summary</h3><p>A page is not a stream of pixels with a natural reading order — it is a <strong>layout</strong>. Reliable OCR is mostly about recovering that structure first, then reading the regions in the right sequence. That is the gap between a demo and something you would actually run on your own documents.</p><p>GLM-OCR makes that stack legible on commodity hardware: layout detection paired with a compact vision-language model, runnable locally through Ollama so you can inspect behavior, keep the data on your side, and avoid burning quota while you are still learning what “good” means for your files.</p><p>If you want a follow-up on managing documents at scale with <a href="https://doc-vision.com/">Doc-Vision.com</a> — say so in the comments. If this was useful, like the video and subscribe so you don’t miss that one. Thanks for watching.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_oflqD5BMRfv4D1PgHtKTQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5667eb8287be" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why your agent reads PDFs wrong — and what to do instead]]></title>
            <link>https://medium.com/@elia.weiss/why-your-agent-reads-pdfs-wrong-and-what-to-do-instead-eb2e920258f4?source=rss-3130117ee331------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb2e920258f4</guid>
            <category><![CDATA[document-parsing]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Elia Weiss]]></dc:creator>
            <pubDate>Sat, 28 Mar 2026 12:20:40 GMT</pubDate>
            <atom:updated>2026-03-28T12:20:40.489Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Why raw PDFs break LLM workflows, why PyPDF and screenshot-every-page fall short, and how DocVision layers structured extraction plus deterministic apps on top.</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FQtF2tTtq724%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DQtF2tTtq724&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FQtF2tTtq724%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/38d3af826af545f06ed41160091ef383/href">https://medium.com/media/38d3af826af545f06ed41160091ef383/href</a></iframe><p>Okay, so your coding agent can write thousands of lines of code. But as soon as you feed it PDFs and other business documents, a lot of that useful context disappears. Tables get flattened. Charts vanish. Numbers drift into hallucinations. Before long you are wiring janky workarounds — PyPDF here, a different OCR model there — just to get <em>basic</em> text out of the file.</p><p>That is not a small inconvenience. It is the bottleneck between “we connected an LLM” and “we can actually automate work on real documents.”</p><p>Most enterprise knowledge still lives in PDFs, PowerPoint decks, Word files, Excel exports, and scans. Your agent is only as good as the bytes you put in front of it. When those bytes are wrong, the smartest model in the world will confidently reason from the wrong facts.</p><h3>Why PyPDF and generic OCR are not enough</h3><p>Many teams start with extraction libraries or off-the-shelf OCR. They work fine on simple, clean pages. Then reality shows up.</p><p>Existing OCR often misaligns tables, ignores charts, or turns graphics into gibberish when it is not sure what it is looking at. PyPDF-style tools give you text, but not <em>structure</em> — layout, hierarchy, and table geometry are usually wrong for anything a human would call “readable.”</p><p>So you paste a wall of text into the model and hope. The model is doing reasoning on damaged input. For financial workflows, garbage In is still garbage Out — it is silent wrong totals.</p><h3>The “just screenshot everything” trap</h3><p>There is another shortcut that sounds smart: use a vision model, screenshot every page, ask for Markdown. That can work in a demo. At production scale it often does not.</p><p>Frontier vision models still struggle with the long tail — dense statement tables, hundreds of rows, faint ruling, mixed languages, handwritten notes. Serious finance workloads move huge page volumes. You do not want to burn vision tokens every time someone needs the same document again. You also do not want accuracy that looks “okay” on a benchmark but fails when a bank or vendor changes the layout.</p><p>Classic OCR stacks have the same fragility in a different form: they break when layouts change, they need constant tuning, and error rates that look close on paper are worlds apart when money is on the line.</p><h3>The gap between 90% and 99%</h3><p>On a spreadsheet, the difference between 90% and 99% accuracy looks small.</p><p>In finance and operations, it is the difference between <strong>fully</strong> trusting an automated posting and paying someone to <strong>re-key or review every document</strong>. That is the real cost of “good enough” extraction — not the model price, but the review tax, the audit risk, and the trust you never quite build.</p><h3>What actually needs to happen</h3><p>You need clean, structured signal from documents before the LLM reasons. That means treating document understanding as its own layer — not an afterthought to your agent loop.</p><p><strong>DocVision</strong> solves this with <strong>two distinct layers</strong> that work together:</p><h3>Layer 1 — Extract clean data into a database</h3><p>The first layer is pure extraction. DocVision takes messy financial documents — invoices, bank statements, tax forms, mixed scans — and turns them into <strong>clean, structured records stored in a database</strong>.</p><ul><li>Preserves tables, amounts, and identifiers in a form models and code can rely on — not flattened noise.</li><li>Scales with volume without making every page a multimodal call. Extract once, reuse everywhere.</li><li>Holds up when banks, vendors, or regulators change templates.</li><li>Custom extraction templates keep field names and schemas stable across vendors, so your DB stays consistent.</li></ul><p>This is not a weekend script you babysit in a repo. It is a reliable data layer your whole team can query — whether from their own agents, APIs, or the tools built on top of it.</p><h3>Layer 2 — AI Builder: deterministic, reusable apps from plain language</h3><p>Here is where it gets interesting. Once your data is clean and sitting in a structured database, you do not want an LLM re-reading and re-interpreting it every time someone runs a workflow. That is slow, expensive, and — for math — unreliable.</p><p>DocVision has an <strong>integrated AI code agent</strong> (powered by Claude Code) that lets you <strong>describe</strong> what you need in <strong>natural language</strong> — and the agent <strong>writes real, deterministic code</strong> for it. Think of it as vibe-coding: you steer with plain intent, the agent does the heavy lifting.</p><p>The key insight: <strong>the output is code, not another LLM call</strong>. That means:</p><ul><li><strong>Build once, run forever</strong> — the agent generates an actual app. After that, every run is instant and costs zero tokens. No model is re-interpreting your rules on each document batch.</li><li><strong>Math is correct by construction</strong> — allocations, FX conversions, tax lines, cross-footing — these come from formulas the agent wrote, not from a model guessing. Deterministic code, not probabilistic output.</li><li><strong>Reusable and shareable</strong> — your team gets mini-apps they can run, tweak, and share across finance and ops. Not fragile one-off scripts in Slack threads.</li><li><strong>No local install</strong> — everything runs inside the DocVision website. No wrestling with Claude Code on a laptop while your ops team waits.</li></ul><p>For teams, that is a big shift. You can spin up <strong>custom financial-document agents</strong> that know <em>your</em> policies and fields, and iterate without handing everyone a Python notebook. It is significantly easier than maintaining scattered scripts or hoping a general chat agent remembers last month’s reconciliation rules.</p><h3>You can also feed external agents</h3><p>You <em>can</em> use DocVision purely as a <strong>pipeline</strong> into your own LLM or agent stack: extract once, pass structured context into whatever model you already run. That already beats asking the model to “just read the PDF.”</p><p>But for most businesses, the two-layer approach — clean extraction into a DB, then deterministic mini-apps on top — is the faster and cheaper path.</p><h3>Why DocVision</h3><p>DocVision runs classify, extract, and OCR in the cloud, with APIs and integrations (including email-driven workflows) so nothing depends on someone’s laptop or a parser pinned in requirements.txt.</p><p><strong>Vision OCR+</strong> treats financial layout and semantics as first-class — invoices, statements, tax forms, and scans become structured data you can trust.</p><p>The pattern that works is not “one giant vision call per page forever.” It is <strong>reliable extraction into structured storage</strong>, then <strong>deterministic, token-free mini-apps</strong> for the math and workflows — with AI assistance where judgment adds value, not where a formula should do the job.</p><h3>Summary</h3><p>So to recap: if your agent is reading raw PDFs, you are feeding it broken input and hoping for the best. The fix is to treat document understanding as its own layer. DocVision gives you two: reliable extraction into structured data, and deterministic mini-apps that run on that data without burning tokens or trusting a model to do math.</p><p>If you want to try it yourself, head over to <a href="https://doc-vision.com/">doc-vision.com</a> and see how it handles your documents. And if you have questions or want to talk about your use case, reach out — the team is happy to help.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GDTz-7mmB4C-ELv9Gs50Ew.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb2e920258f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Ultimate Guide to Automated Invoice Capture]]></title>
            <link>https://medium.com/@elia.weiss/the-ultimate-guide-to-automated-invoice-capture-96d4b90c0c91?source=rss-3130117ee331------2</link>
            <guid isPermaLink="false">https://medium.com/p/96d4b90c0c91</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[ocr]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[invoice-processing]]></category>
            <dc:creator><![CDATA[Elia Weiss]]></dc:creator>
            <pubDate>Sun, 22 Mar 2026 19:20:18 GMT</pubDate>
            <atom:updated>2026-03-22T19:20:18.331Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Learn how AI-powered invoice capture eliminates manual data entry, reduces errors, and speeds up your AP workflow with Vision OCR+ and machine learning.</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FuZ1SPTAsl8g%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DuZ1SPTAsl8g&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FuZ1SPTAsl8g%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3c849d6a28c5135b8f942fe933187833/href">https://medium.com/media/3c849d6a28c5135b8f942fe933187833/href</a></iframe><p>Does your invoice capture process still involve too much paper?</p><p>Many AP departments struggle with manual data entry, lost documents, and inefficient workflows.</p><p>It doesn’t have to be this way.</p><p>Invoice capture software is evolving. AI-powered document intelligence platforms like DocVision leverage Vision OCR+ and machine learning to make invoice data extraction faster, more accurate — and fully digital. Businesses are seeing real benefits from implementing intelligent document processing in their accounting departments.</p><p>In this post, we’ll explore modern invoice capture solutions: how they work, why accurate and fast capture is important, and how intelligent invoice capture with DocVision can transform your AP processes.</p><h3>What is automated invoice capture?</h3><p>Invoice capture is the process of extracting data from invoices and entering it into an ERP or accounting system. The capture process traditionally depends on the type of invoice received. For example, AP departments typically scan and digitize paper invoices, although some businesses may rely on manual processes or outsource paper invoice capture to a third party.</p><p>Once the invoice data has been captured and entered into the ERP, it can be coded, verified, and sent for approval and payment.</p><h3>Why is automated invoice capture important?</h3><p>A 2026 survey reveals that 15% of companies still struggle with manual processes.</p><p>Automated invoice capture is important for three reasons:</p><ol><li>Digitizes and centralizes your invoice data.</li><li>Reduces errors.</li><li>Speeds up invoice processing.</li></ol><p>Let’s break these out.</p><h3>Benefit 1: Centralized, digitized invoice data</h3><p>Manual invoice management is error-prone and slow. Entering invoice data by hand ties up AP resources. Documents get lost between teams, and chasing down approvals creates delays. Switching to an automated solution eliminates these bottlenecks and the errors, delays, and lost documents that go with them.</p><h3>Benefit 2: Greater invoice capture accuracy</h3><p>Invoice capture errors have a way of cascading into big problems. One error on a line item could result in an overpayment and a costly investigation to find and correct the source of the error. AI-powered invoice capture significantly reduces error rates and cuts costs. DocVision uses Vision OCR+ and machine learning to identify your invoice types and improve capture accuracy. It also features fraud detection and prevention capabilities to reduce the risk of invoice fraud.</p><p>Digitizing invoices also lets you store them in a central location and share them with your ERP, making it easier to review transactions and files and keep a complete audit trail.</p><h3>Benefit 3: Faster invoice processing</h3><p>Replacing slow, manual processes with automation speeds up processing times by streamlining complex, labor-intensive processes like invoice coding, 2-way matching, and approvals. DocVision ensures that a human is kept in the loop by surfacing AI-extracted data for review and confirmation.</p><p>Also, by reducing errors, automated invoice capture reduces the time AP teams spend investigating exceptions, tracking down POs and other documents, and answering questions from approvers and vendors. The result is faster payment cycles and better supplier relationships.</p><p>Unlike manual processes, DocVision’s automated system is also fully scalable, ensuring that AP process efficiency won’t be negatively impacted as your business grows.</p><h3>How automated invoice data capture works</h3><p>The evolution of artificial intelligence (AI) technology has empowered modern invoice processing systems to interpret different invoice formats with minimal need for manual data entry. AI-powered automated invoice processing solutions replace or eliminate manual steps to produce a more streamlined and accurate workflow.</p><p>Here are the steps of the automated invoice capture process.</p><h3>Invoices received</h3><p>The process begins when an invoice is received from a supplier. Invoices can be delivered by email, fax, instant message, EDI, or via a vendor portal. Once the AP department receives the invoice, they can begin processing it.</p><h3>Data extraction</h3><p>The next step is converting the invoice to a digital format and extracting the header information and line details. The invoice capture tool processes documents using OCR+ technology and converts them to structured data.</p><p>The system uses machine learning and natural language processing techniques to identify and extract relevant information like vendor name, invoice number, PO number, line items, product descriptions, prices, credit terms, and taxes and populate them into an invoice record within the system.</p><p>As it processes invoices, the system learns your different invoice formats and internal processes to become more accurate and efficient. In systems like DocVision, the AI indicates when it has automatically updated a field so an AP employee can confirm the information.</p><h3>Invoice coding</h3><p>As the invoice processing software extracts the invoice data, it automatically codes the invoice. The system looks at the invoice line items and suggests the appropriate GL codes. As with data extraction, the system’s coding accuracy improves as it gradually learns your GL codes.</p><h3>Invoice and PO matching</h3><p>When it has populated and coded the invoice data, the software automatically matches the invoice details to the associated purchase order to ensure they’re consistent and avoid paying a duplicate invoice. If the system detects an invoice exception, it alerts the AP team so they can investigate it.</p><h3>Invoice data entry and approval routing</h3><p>When the invoice is coded and validated, the system automatically enters the invoice data into your ERP or accounting software for processing. It also suggests the appropriate approver(s) so the AP team can forward the invoice for approval and payment.</p><p>The bottom line: An AI-powered document intelligence platform with intelligent invoice capture will reduce errors, save time, and streamline your AP workflow.</p><h3>Smart invoice capture with DocVision</h3><p>If you want to streamline your AP team’s workload, DocVision is the perfect tool for the job. No other document intelligence platform comes close to DocVision’s ease of deployment, quick learning curve, and extraction accuracy.</p><h3>Streamlined invoice management</h3><p>DocVision is designed to meet the unique needs of accounts payable. It streamlines invoice management, eliminating the need for external communication, ad-hoc workarounds, and manual AP tasks. DocVision provides complete visibility into every transaction, making audits and month-end close easy and informing strategic business decisions.</p><blockquote>“The main thing that benefits our company is the ability to get answers quicker, get approvals quicker, get things done quicker. Now with a few clicks, I can have an invoice entered, packing slip attached and an approval within minutes! DocVision saves me TIME and EFFORT!”</blockquote><h3>Vision OCR+ and AI-powered extraction</h3><p>DocVision is powered by <strong>Vision OCR+</strong>, an intelligent AI model that understands document structure and extracts clean, structured data. Unlike traditional OCR that only extracts text, Vision OCR+ comprehends document semantics and relationships. You can use <strong>Vision OCR+ MAX</strong> for complex invoices requiring maximum accuracy, or <strong>Vision OCR+ Lite</strong> for high-volume, cost-efficient processing.</p><p>DocVision supports AI-assisted <strong>custom Extraction Templates</strong>, so you define exactly what fields to extract from your invoice formats. The system handles any layout or vendor format without extensive configuration, and outputs structured JSON ready for your ERP or downstream systems. Upload via API, email, or webhooks — no manual workflow mapping required.</p><h3>No change to ERP or existing processes</h3><p>DocVision adapts to your invoice management processes, so you don’t have to change your unique business structure or rework your ERP system. You can easily handle time-consuming, repetitive tasks like invoice capture, coding, approvals, fraud detection, and syncing invoice data to your ERP. Plus, DocVision features seamless integration with over 70 ERPs, including Microsoft Dynamics GP and Dynamics 365 Business Central, NetSuite, and Sage Intacct, to provide a single source of truth for invoice data across the whole organization.</p><blockquote>“We no longer send invoices through email for approval. DocVision’s centralized communications have solved the issue of late invoices due to lost or misplaced emails. Communication between managers and vendors is documented and has saved us so much time and frustration trying to track down the status of invoices.”</blockquote><p>DocVision streamlines invoice processing efficiently — and painlessly.</p><p>Contact us today to set up a free demo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*14r9Ykk92ivDJ7OOfLM01A.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96d4b90c0c91" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>