/\_/\ ( O.O ) > w < /| |\ (_| |_)

project: blakcat

a biologically inspired approach to emergent architectural intelligence

scroll

The Thesis

This is a living experiment. An organism that lives inside a market simulation and learns to survive through necessity. It starts with nothing but hunger and the ability to buy. Everything else, it has to earn.

The organism is a street cat. It trades EUR/USD on 1-minute bars. It has a Q-table with 18 states, a hunger drive, and a threshold for action. No indicators, no features from financial theory, no reward function designed to maximize Sharpe ratios.

I call this Emergent Architectural Intelligence. The intelligence emerges from architecture, not from scale. The biology is the inspiration. The architecture is the innovation.

The Hypotheses

01
Trading as a Game
Like TFT, you don't predict the shop. You adapt. Position management over price prediction. Control the controllables.
02
Bayesian by Nature
Dip your toes before jumping. Focus on lived experience, not theoretical probabilities that need millions of samples.
03
Markets as Music
Price moves in rhythms. Synchronization over prediction. Feel the shift, don't forecast the note.
04
Architecture Over Scale
You don't need trillions of data points. You need the right architecture and patience for emergence.

The Organism

The cat perceives two things: momentum (how many of the last 5 bars closed up) and volatility (percent change over 5 bars). That gives 18 states.

quiet
normal
wild
5 up
(5,0)
(5,1)
(5,2)
4 up
(4,0)
(4,1)
(4,2)
3 up
(3,0)
(3,1)
(3,2)
2 up
(2,0)
(2,1)
(2,2)
1 up
(1,0)
(1,1)
(1,2)
0 up
(0,0)
(0,1)
(0,2)

teal = above breakeven. pink = below. the cat learned this, not us.

It has one drive: hunger. The hungrier the cat, the lower the threshold for action. A starving cat trades anything. A fed cat demands conviction.

Abilities unlock through survival:

+$0 | BUY
+$5 | CLOSE
+$15 | SELL
+$30 | SIZE
+$50 | TP/SL

Q-values are floored at zero. The cat can forget, but it can't fear. Not yet.

Try It Yourself

Feed the cat or starve it. Watch how hunger changes its body and its willingness to trade.

HUNGER
THRESHOLD

Results

We ran the cat alongside a random baseline. Same market, same spread, same TP/SL, same rules. Over ~130,000 bars of EUR/USD M1:

34%
CAT WIN RATE
30%
RANDOM WIN RATE
+$0.06
EDGE PER TRADE

Street Cat

trades924
win rate34%
expectancy+$0.015
net p&l+$13.50
total equity$1,013
withdrawn$900

Random

trades1,875
win rate30%
expectancy-$0.044
net p&l-$82.50
total equity$917
withdrawn$800

The edge comes from selective inaction. The cat trades half as often as random.

EQUITY CURVE $0 +$20 -$20
Street Cat Random

Emergent Behaviors

None of the following were programmed. They fell out of the interaction between hunger, a Q-table, and 18 states.

Desperation-Driven Uniform Trading

When hungry and Q-values are low, the cat trades from any state with equal probability. Hunger erases preference. In behavioral science, stress narrows decision-making to pure reactivity. Nobody coded this.

Spawn Camping

A bug caused learning to hit the wrong state. The cat developed 0.79 conviction about its worst state (23% WR, -$37.50 over 240 trades) because winning trades mechanically ended there. Like an animal returning obsessively to where it found food once.

BEFORE FIX (INVERTED)
(0,1)
0.00
(1,1)
0.00
(3,1)
0.39
(4,1)
0.80
(5,1)
0.35
AFTER FIX (ALIGNED)
(0,1)
0.05
(1,1)
0.15
(3,1)
0.06
(4,1)
0.05
(5,1)
0.00

one line fix. completely different organism.

Awareness Is Metabolically Expensive
BROKEN CAT
/\_/\ ( -.- ) > w < /| |\ (_|_)
confidently wrong
avg hunger: 0.56
FIXED CAT
/\_/\ ( O.O ) > ~ < |_| (_)
accurately uncertain
avg hunger: 0.80

Intelligence has a metabolic cost. The fixed cat feels its losses. Doubt leads to fewer trades, fewer wins, less food, more hunger.

Early Childhood Bias

Two runs, identical code, identical data. Different Q-table hierarchies from random choices when all Q-values were zero. Both converged on the same general insight but the specific favorite differed. Early experience shapes adult preference.

Natural Trading Rhythm

The cat develops burst-and-rest cycles. The hunger-threshold feedback loop creates an oscillator. Nobody programmed periodicity.

The Cat Learned Not to Chase

Across every run, the cat converged on the same insight: low-to-mid momentum states produce better buy entries than high momentum. It figured out mean reversion from hunger and a Q-table.

The Perception Bug

The most important discovery was a mistake. The Q-update was supposed to hit the entry state. Instead, last_state was overwritten every bar while holding.

- cat.last_state = current_state  # updated every bar
+ # freeze at entry only
+ cat.last_state = current_state  # inside open_position block

One line. Q-values dropped from 0.79 to 0.09. Trade distribution restructured completely.

In emergent systems, broken perception produces confidently wrong behavior that looks like learning. You need independent validation of belief vs. reality.

Limitations

CAN CLAIM
  • Emergent patterns from minimal architecture
  • Outperforms random through selective inaction
  • Perception quality > learning algorithm
  • Hunger-threshold creates natural oscillation
CANNOT CLAIM
  • Genuine intelligence vs. state-dependent randomness
  • Generalization beyond EUR/USD M1
  • Biological parallels beyond suggestive analogy
  • Superiority over traditional RL

Related Work

Yang (2023). Hierarchical Needs-Driven Agent Learning Systems. Maslow-mapped deep RL. Top-down reward engineering, no actual drive states.
Moyo (2024). Creating Hierarchical Dispositions of Needs. Dual-agent reward hierarchy. Needs as abstract thresholds, not physiology.
Capone & Paolucci (2024). Biologically plausible RL with dreaming. Spiking networks + offline replay. Complementary substrate work.
Liu et al. (2025). Neural Brain. Grand neuroscience-inspired survey. We're the opposite: minimal implementation, maximum emergence.

What's Next

Follow Maslow's hierarchy upward.

Deep Thinking
Memory
Emotion
Self-Perception
Fear / Safety
Hunger / Survival

Next: lift the Q-floor to allow negative values. That's fear. A hungry cat near a dog will still hesitate. Right now it can't.

Then self-perception. Then emotion. Then memory modeled on neuroscience. Then deep analytical thinking through tree structures.

And eventually: a house cat raised on treats alongside the street cat raised on hunger. Same architecture, different upbringing. Same genetics, different personality.

This is a street cat with 18 states and hunger. Imagine what happens when it can feel fear.