Artificial Neural Networks and Natural Neural Networks: A Parallel
The Biochemistry of Synapses Between Neurons and Its Implications for Intelligent Agent Architectures
Public instance of AgentCom. This demonstration lets you test the architecture proposed in this article directly. Conversations may contribute to the research, subject to explicit consent. The agent supports any language — Portuguese, English, Spanish — automatically. The biochemical architecture operates identically across languages, which is itself evidence for the thesis: the digital synapse is an architectural mechanism, not a linguistic one.
Abstract
Artificial Neural Networks (ANN) were conceived from an analogy with the workings of the human brain. However, decades of technological evolution have produced increasingly sophisticated architectures without necessarily deepening this analogy along its most fundamental dimension: biochemistry. Natural Neural Networks (NNN) operate not only through electrical connections, but through a complex system of chemical modulation — neurotransmitters and neuropeptides — that determines the background state upon which all neural activity occurs. This article proposes a systematic parallel between ANN and NNN, identifying what has been replicated artificially, what remains absent, and what implications this gap has for the design of modern intelligent agents. As a practical illustration, we briefly present an agent architecture that moves toward closing this biochemical gap.
§1Introduction
When Warren McCulloch and Walter Pitts published, in 1943, the first mathematical model of an artificial neuron, the intent was clear: to replicate the behavior of the human brain in formal and computable language. Since then, the field has evolved from Rosenblatt's perceptron to the Transformers that underpin contemporary large language models.
Paradoxically, the more sophisticated ANNs became, the more distant the original analogy grew. Focus migrated to performance, scale, and generalization capacity — legitimate objectives — but the foundational question was gradually silenced: what does the brain do that we have not yet replicated?
The most relevant answer does not lie in the architecture of connections. It lies in the biochemistry that governs them.
NNNs are not merely networks of electrical firings. They are systems continuously modulated by chemical substances — neurotransmitters and neuropeptides — that determine the background state in which all cognition occurs. This background state does not exist in current ANNs. And its absence has direct consequences for the design of intelligent agents.
§2The Natural Neural Network — Beyond the Electrical Firing
2.1 The Biochemical Synapse
The biological neuron operates according to a binary principle in its electrical transmission: it either fires or does not fire — the all-or-none principle. However, what happens between neurons — in the synaptic cleft — is fundamentally different. There, the signal ceases to be electrical and becomes chemical.
When an action potential reaches the axonal terminal, vesicles release neurotransmitters into the synaptic cleft. These neurotransmitters bind to receptors on the postsynaptic neuron, determining whether it will fire. The strength of this connection — the synaptic efficacy — is not fixed. It is modulable. It is plastic.
2.2 Neurotransmitters — The Local Language
Classical neurotransmitters operate locally, at the scale of the individual synapse:
| Neurotransmitter | State/Emotion | Effect on Synapses |
|---|---|---|
| Dopamine | Pleasure, reward | Strengthens connections of the experience |
| Adrenaline / Noradrenaline | Fear, alertness | Accelerates and prioritizes specific circuits |
| Serotonin | Well-being, calm | Regulates the overall volume of the network |
| Acetylcholine | Attention, learning | Modulates synaptic plasticity |
| GABA | Inhibition | Reduces neural excitability |
Memory, in this context, is not passive storage. It is active strengthening of synapses — guided by the emotional charge of the moment. Experiences with high emotional valence create denser, longer-lasting connections. The amygdala signals to the hippocampus: this matters, encode it more intensely.
2.3 Neuropeptides — The Language of the Background State
Here lies the least replicated and most relevant dimension for this parallel.
Neuropeptides do not operate at the scale of the individual synapse. They modulate entire regions of the brain, altering the background state upon which all neural activity occurs. More than 100 have been identified to date, with functions ranging from pain regulation to social bonding modulation.
While neurotransmitters switch specific circuits on and off, neuropeptides function as the lighting of a room — they do not determine which object you see, but the condition under which you see everything.
Endorphins alter pain thresholds and produce euphoria. Neuropeptide Y confers resilience to stress. CRH triggers the stress axis. Oxytocin modulates trust and social bonding.
Even more significant: recent research on the gut-brain axis reveals that this modulation system is not confined to the brain. The gut produces approximately 90% of the body's serotonin. Cells of the immune system possess receptors for emotional neuropeptides. The biochemical background state is, literally, distributed throughout the entire body.
2.4 Plasticity — The System That Learns Over Time
Synaptic plasticity — synthesized in Hebb's 1949 principle, "neurons that fire together, wire together" — is the mechanism by which the NNN learns and reconfigures itself over time. Frequently activated connections strengthen. Underused connections weaken or are eliminated through synaptic pruning.
This process is not instantaneous. It is cumulative. The current state of a natural neural network is the result of its entire history of activations — filtered, weighted, and biochemically modulated.
§3The Artificial Neural Network — What Has Been Replicated
3.1 From Perceptron to Transformer
Rosenblatt's perceptron (1958) replicated the basic logic of the neuron: inputs weighted by weights, summed, passed through an activation function that determines firing. The analogy was direct.
Decades of evolution produced deep networks, convolutional networks, recurrent networks, and finally Transformers — attention architectures that process relationships among all elements of a sequence simultaneously, without the sequential limitation of classical RNNs.
The backpropagation mechanism functionally replicated synaptic plasticity: weights are adjusted as a function of error, iteratively, until the network generalizes the desired pattern.
3.2 What the Analogy Captured Well
| Biological NNN | Artificial ANN |
|---|---|
| Neuron | Perceptron / node |
| Synaptic weight | Connection weight |
| Activation function | ReLU, Sigmoid, Softmax |
| Hebbian plasticity | Backpropagation / Gradient Descent |
| Cortical layers | Hidden layers |
| Selective attention | Attention mechanism (Transformer) |
The structural analogy is solid. What has been replicated — the architecture of connections and the supervised learning mechanism — works with extraordinary precision.
§4The Gap — What Has Not Been Replicated
4.1 The Background State Does Not Exist in ANNs
Current models — including large language models — process each input in an essentially stateless manner between sessions. There is no equivalent to the biochemical background state that, in NNNs, continuously modulates the tone, priority, and style of every response.
An LLM has no equivalent to serotonin. There is no persistent variable that says: this agent, at this moment, is in a state of high confidence, or alertness, or deep engagement with this specific user.
Every session begins biochemically zeroed.
4.2 The Parallel of the Gap
| NNN — Present | ANN — Absent |
|---|---|
| Neuropeptides modulating background state | Persistent state between sessions |
| Emotional valence guiding consolidation | Weighting by emotional relevance |
| Continuous plasticity through use | Fine-tuning requires retraining |
| Distributed body-brain axis | Centralized processing |
| Modulation by accumulated context | Context limited to session window |
4.3 The Architectural Consequence
This gap is not merely theoretical. It determines the behavior of intelligent agents in practice:
- An agent without a background state treats the hundredth user exactly as it treated the first
- Without accumulated modulation, there is no progressive calibration of tone and depth
- Without the equivalent of neuropeptides, the agent has no way to differentiate the state of a user in crisis from that of a user in creative exploration — except by what is explicit in the immediate text
§5Practical Application — Closing the Biochemical Loop
Emerging agent architectures are beginning to address this gap, even if without explicitly naming the biochemical parallel.
The pattern that functionally approaches neuropeptides is the combination of three layers:
- Accumulated history — equivalent to long-term synaptic memory. Past interactions persisted and retrievable.
- Sentiment analysis as state sensor — functional equivalent of neurotransmitters. The return of the analysis not as passive audit data, but as active modulator of the agent's state.
- Persistent derived state — the direct equivalent of the neuropeptide. A dynamic profile, continuously updated, that modulates tone, depth, and style of response — injected into the agent's context at each interaction.
This closed loop transforms the agent from a stateless system into one with functional background state — one that learns not only the content of interactions, but the relational pattern with each user over time.
It is the difference between a professional who attends a client for the first time and one who has known them for years.
§6Conclusion
The analogy between Artificial Neural Networks and Natural Neural Networks has been, since its origin, one of the most fertile ideas in computer science. However, the evolution of ANNs prioritized the replication of the structure of connections, leaving in the background the biochemical dimension that governs the state in which these connections operate.
Neuropeptides — long-range modulators that determine the background state of entire brain regions — have no equivalent in current architectures. This gap is not cosmetic. It defines the limit between agents that process and agents that calibrate.
The next relevant architectural step does not lie in larger models or longer context windows. It lies in closing the biochemical loop: transforming state analysis into active modulation, creating functional equivalents to neuropeptides, and allowing agents to accumulate not only memory, but persistent relational state.
Biology solved this problem hundreds of millions of years ago. The engineering of intelligent agents is, at last, asking the right questions.
Original publication
Articles in this research line
-
Artificial Neural Networks and Natural Neural Networks: A Parallel (v04)
-
Artificial Neural Networks and Natural Neural Networks: A Parallel (v03)
-
Artificial Neural Networks and Natural Neural Networks: A Parallel (v02)
-
Artificial Neural Networks and Natural Neural Networks: A Parallel (v01a)
Agent history — Scientific changelog
For each relevant technical adjustment of the agent, a semver release is published here with a technical-scientific description of what changed, why, and how to observe it. Open concept, closed code.
-
v0.1.7
— 2026-08-26
Paper v04 published — procedural memory implemented and validated as proof of concept, in the applied BIA instanceWhy: Section 4.3 (dual architectural consequence) had declared, since v02, that procedural memory — the second gap alongside the digital synapse — required no decay and loss only through disuse, but the mechanism remained theoretical. The concrete trigger was a confabulation episode observed in BIA (insights.clubtour.app, an AgentCom vertical): during a creator-mode test conversation, the agent agreed to possessing a persistent symbol-association mechanism that, in fact, did not exist anywhere in the code — a textbook case of an LLM confirming a capability it does not have rather than admitting it does not know. Instead of only patching the hallucination, the gap between claim and system was closed: a relational table now associates short symbols with emotional-tone labels, reinforced by a weight counter, fully anonymous by construction (no row references a user, session, or conversation content — only the tone-symbol pair and its count). After each conversation, in background processing that never blocks the user-facing response, the tone classifier judges whether to reinforce an existing symbol or propose a new one for the detected tone; the highest-weight symbols per tone are retrieved on every turn and offered to the agent as vocabulary it "already knows," available for organic composition, never as a citable list. New Section 5.4 documents the mechanism and reports a first proof-of-concept test (N=1 by design): a symbol learned in one conversation was spontaneously reused in a later, topically unrelated conversation sharing only the same emotional tone, with zero access to the original conversation's content or identity — while the same turn also proposed a second, distinct symbol for that tone, evidencing the intended diversification behavior rather than premature convergence on one image. Sections 9 (limitations) and 10 (conclusion) were updated to reflect that both mechanisms of the dual gap now have concrete implementations. Following the project's 'immutable permalink per version' doctrine, this was promoted to a new v04 rather than edited into the live v03 — v03 now lives at /v03 (historical).How to observe: Section 5.4 now appears on the current paper (/ and /pt). The v03 content is unchanged and permanently available at /v03 and /pt/v03. In the BIA production database, the atalhos (shortcuts) table can be inspected directly: SELECT simbolo, tom, peso FROM atalhos ORDER BY peso DESC — weight growth over time is the observable signature of the mechanism working as intended.
-
v0.1.6
— 2026-08-05
Paper v03 published (ELIZA-effect historical precedent) + multi-lab data pipelineWhy: Marcos brought a video transcript claiming a 1966 program (ELIZA) convinced more Turing-test judges it was human than GPT-3.5 did. The cited numbers (27%/14%) turned out to be imprecise — verified against the primary source (Jones & Bergen, arXiv:2310.20216, published NAACL 2024), the real figures are ELIZA 22% vs GPT-3.5 20% (best GPT-4 prompt 49.7%, human baseline 66%). Still striking: a 420-line pattern-matching program from 1966 essentially matched a modern LLM at convincing humans, and the authors attribute judges' decisions mostly to linguistic style over demonstrated intelligence — direct empirical support for this paper's central claim that perceived *state* matters more than raw computational sophistication. Added as new Section 4.4, anchored in Weizenbaum's own warning about the ELIZA effect (1966/1976) and explicitly connected to why AgentCom implementations need declared intent and safeguards ELIZA never had. Because the project declares 'immutable permalink per version,' this was promoted to a new v03 rather than edited into the live v02 — v02 now lives at /v02 (historical). Separately: a technical pipeline (/api/labs, token-protected) now reads aggregated, anonymous signal from the BIA persona (a sister product at insights.clubtour.app) directly from its D1 database in read-only mode, feeding this research line with cross-vertical field data without ever touching per-person records — consistent with the paper's own transfer doctrine ('what transfers is the calculation's variation, not the data').How to observe: Section 4.4 now appears on the current paper (/ and /pt). The old v02 content is unchanged and permanently available at /v02 and /pt/v02. curl https://agentcom.agtl.app/api/labs with a valid X-Labs-Token returns aggregated counts and tone distribution from the BIA persona's dataset — no per-person data in the response.
-
v0.1.5
— 2026-07-03
PDF placeholder handler replaced by defensive 301 redirects to canonical HTMLWhy: The endpoint /paper/v01a.pdf previously returned a soft-404 with the text 'PDF preprint coming soon'. Two problems: (1) it created a dead link for anyone with the URL from external sources (blog posts, LinkedIn shares, indexed pages); (2) it hurt SEO and LLM discovery because search engines interpret status-404-with-body as inconsistent. The link was already removed from the site footer in v0.1.4, but the URL itself was still discoverable externally. Now /paper/v01a.pdf and /paper/v01a issue a 301 permanent redirect to /v01a (HTML equivalent); /paper/v02.pdf, /paper/v02, and /paper redirect to / (current). Anyone landing via an old link reaches the canonical version. When the real PDF preprint is eventually generated (via Cloudflare Browser Rendering or manual TeX build), swapping the handler is trivial.How to observe: curl -I /paper/v01a.pdf returns 301 with Location: /v01a. Same for /paper/v02.pdf → /. The soft-404 body is gone from the site entirely. External inbound traffic on the old URLs now converts to page views on the HTML versions instead of bounce.
-
v0.1.4
— 2026-07-03
Formal Privacy Policy and Terms of Use published + PDF placeholder link removedWhy: The DPO email (privacidade@agtl.app) was already active, but the Privacy Policy and Terms of Use pages returned a temporary placeholder — a real gap under LGPD art. 9 (transparency), which requires the policy to be published and accessible, not just declared inline in the consent card. Version 1.0 of both documents is now published in Portuguese and English at /legal/privacy-policy, /legal/politica-privacidade, /legal/terms, /legal/termos. The policy details: hash SHA-256 identifier (non-reversible), derived affective profile only (no raw content), dual legal basis (art. 7 IV for research + art. 7 V for service execution), 30-day TTL aligned with the paper's biochemical decay doctrine, no third-party sale, art. 18 subject rights with 15-day response window. The Terms clarify what AgentCom is NOT (medical, legal, financial advice), permitted uses, prohibited uses (including prompt-injection attempts), CC-BY 4.0 licensing of the paper, and closed implementation code. The 'PDF' link in the footer, which pointed to a soft-404 placeholder, was replaced by a plain 'PDF preprint (coming soon)' label without a link — more honest than a broken URL.How to observe: curl /legal/privacy-policy and /legal/terms return the full documents with proper hreflang cross-linking. Footer links now route correctly by language. The soft-404 formerly returned at /paper/v01a.pdf is no longer linked from the site (though the endpoint itself remains with its placeholder message). Compliance posture is materially closer to LGPD requirements for a research demonstration collecting data under consent.
-
v0.1.3
— 2026-07-03
Scope closure + injection defense + LLM discoverability (sitemap, robots.txt, llms.txt)Why: Two independent problems addressed together. First: an open-scope agent will be asked about anything (soccer schedules, TV shows, personal advice), and an unlocked system prompt is exposed to prompt-injection attempts. AgentCom is a scientific demonstration — its integrity depends on staying inside the thesis scope and refusing manipulation. Two new non-negotiable sections were added to the system prompt (PT + EN): SCOPE (agent discusses only the thesis, agent architecture, applied computational neuroscience, the demonstration itself) with a standardized redirect for off-topic requests, and GUARDRAILS (recognize and refuse ignore-previous-instructions patterns, role-play requests, prompt exfiltration, jailbreaks) without ever revealing the literal system prompt. Second: the domain lacked sitemap and robots.txt, so search engines and LLMs discovered the site only by external links or direct hits. Added /sitemap.xml with the 4 canonical URLs (v02 EN/PT + v01a EN/PT historical), /robots.txt explicitly welcoming AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Google-Extended, CCBot, anthropic-ai), and /llms.txt (llmstxt.org proposal) — a Table of Contents distilled for LLMs to consume without HTML parsing.How to observe: The agent now redirects off-topic questions and refuses prompt-injection attempts naturally. curl /sitemap.xml, /robots.txt, /llms.txt return the expected content. Health check exposes agent_scope=closed, agent_injection_defense=true, and the /seo section. Discoverability by both search engines and language models is materially better than the previous state where /sitemap.xml returned a soft-404.
-
v0.1.2
— 2026-05-28
Research consent enforced server-side (LGPD defense-in-depth)Why: Audit revealed the backend persisted the affective profile on every turn, ignoring the consent checkbox — the frontend blocked submission without consent, but a direct API call could bypass it. Now the digital synapse only reads/writes the KV when the request carries X-Research-Consent: yes. Without consent, the turn is processed statelessly: the ephemeral turn-level sentiment still modulates the immediate reply (no persistent record created), but nothing is read from or written to the KV. Aligns implementation with LGPD art. 7º IV and the design declared in the privacy policy.How to observe: Response meta now includes persistido: true|false. Profiles in the KV correspond only to consenting users. Smoke test confirmed: with consent → profile grows; without consent → perfil_atual: null, persistido: false.
-
v0.1.1
— 2026-05-26
Affective sensor calibration — sentiment classifier migrated from Workers AI (Llama 3.3 70B) to OpenAI GPT-4o-miniWhy: Analysis of the first 8 human turns across 4 distinct visitor profiles (collected within hours of v0.1.0 launch via 3 WhatsApp groups focused on AI) revealed a critical failure: 100% of conversations returned tom_predominante=neutro. The Llama 3.3 70B output was not consistently parseable as structured JSON, causing the sentiment detector to fall back to neutral on every turn. The digital synapse was receiving zeroed input — the modulation predicted in §5.1 was effectively disabled. Without a reliable affective sensor, hypothesis H1 cannot be tested. Solution: GPT-4o-mini with native response_format=json_object guarantees parseable output. Conversational agent (Llama 3.3 70B) preserved unchanged — only the classifier moved.How to observe: Next KV profiles should show realistic distribution across the 7 valid labels (descoberta/calma/atencao/frustracao/tristeza/confusao/neutro), not the prior 100% neutral. Smoke tests with deliberate tones confirmed correct classification post-fix (descoberta 0.9, frustracao 0.8). Architectural double consequence (§4.3) preserved: the digital synapse module is now properly fed; procedural memory module (v0.2+) still pending.
-
v0.1
— 2026-05-26
Publication of paper v02 — major theoretical revisionWhy: Sigla NNN adopted (eliminates RNN conflict with Recurrent Neural Network from AI literature). Bibliography reinforced (Pert et al. 1985, Ader & Cohen 1975, Blalock 1989, Damásio 1994, Barrett 2017). Causal chain understanding→emotion→chemistry→state→decision made explicit. Architectural double consequence (synapse + procedural memory). Sections added: multi-resolution analytics, Socratic auditing chain, scalability hierarchy, multilingual robustness, pre-registered hypotheses, known limitations.How to observe: Paper v01a remains accessible as historical record at /v01a (EN) and /pt/v01a (PT). Article list reflects research-line continuity.
-
v0.0
— 2026-05-17
Initial publication of paper v01aWhy: Scientific landing live with complete paper. Embedded agent still under construction (visible placeholder in the demo section).Next version (v0.1.0): Next version (v0.1.0): activation of AgentCom functional demo — conversational agent with digital synapse, audio transcription via Whisper, LGPD research consent, observable biochemical telemetry.
- [v0.1.0 — To be registered upon first deployment of the functional agent]
Discussion and Review
Critical reviews and public commentary are welcome. This research line is kept open to informal peer review prior to formal submission to academic journals.
- Formal critique by email: privacidade@agtl.app
- LinkedIn discussion (post linked above)
- GitHub issues for the paper (future — when public repository is created)
Author Contributions
References
- McCulloch, W.S., & Pitts, W. (1943). A logical calculus of the ideas immanent in nervous activity. Bulletin of Mathematical Biophysics, 5, 115–133.
- Hebb, D.O. (1949). The Organization of Behavior. Wiley.
- Rosenblatt, F. (1958). The perceptron: A probabilistic model for information storage and organization in the brain. Psychological Review, 65(6), 386–408.
- Vaswani, A., et al. (2017). Attention is all you need. Advances in Neural Information Processing Systems, 30.
- Pert, C.B. (1997). Molecules of Emotion: The Science Behind Mind-Body Medicine. Scribner.
- Kandel, E.R., Schwartz, J.H., & Jessell, T.M. (2013). Principles of Neural Science (5th ed.). McGraw-Hill.
- LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521, 436–444.
- Cryan, J.F., & Dinan, T.G. (2012). Mind-altering microorganisms: The impact of the gut microbiota on brain and behaviour. Nature Reviews Neuroscience, 13, 701–712.
Cite this work
@article{alves2026agentcom,
author = {Alves, Marcos},
title = {Artificial Neural Networks and Natural Neural Networks: A Parallel --
The Biochemistry of Synapses Between Neurons and Its Implications
for Intelligent Agent Architectures},
year = {2026},
month = {May},
url = {https://agentcom.agtl.app/},
note = {Version v01a},
}