Inside the UK’s first AI LEGO machine sorting 40,000 bricks every day
The remarkable Brick-O-Matic uses cameras, conveyor belts and AI to identify LEGO pieces from more than 55,000 possibilities, sort them into sets and give unwanted bricks a second life.
Britain’s first AI-powered LEGO sorting machine can identify and process up to 40,000 bricks a day, helping rescue millions of pieces that might otherwise be thrown away.
The remarkable Brick-O-Matic uses cameras, conveyor belts, air jets and artificial intelligence to recognise individual LEGO pieces from more than 55,000 possibilities before sorting them by shape and colour.
The machine can even work out which LEGO set the bricks belong to and report how complete that set is, allowing unwanted collections to be rebuilt and sold again.
It has been developed by pre-loved LEGO specialist WeBuyBricks, which says the technology is the first commercially viable machine of its kind in the UK and one of only three in the world.
The company spent four years developing the system as it looked for a way to process the huge quantities of LEGO sitting unused in cupboards, lofts and toy boxes around Britain.
Brick-O-Matic can now sort around 40,000 individual pieces every day, with the company claiming the same task would previously have taken people around 100 times longer.
Bricks are also washed during the process and damaged pieces are removed before usable parts are matched with incomplete sets.
The technology could have an environmental benefit too. WeBuyBricks says millions of plastic toys are discarded every year, despite LEGO being made from highly durable plastic designed to last for decades.
CEO Mike Lane said: “Everyone has a box of LEGO bricks somewhere, and instead of it being thrown away, this machine means we can rescue more bricks than ever, rebuild complete sets, stop perfectly good plastic becoming waste and offer pre-loved LEGO sets at a much-reduced price.”

There could also be an incentive for families clearing out old toys.
WeBuyBricks allows people to scan complete LEGO sets through its app to receive a price, while loose and mixed bricks can be sold by weight. The company offers free postage or home collection and says payment can be made by bank transfer or PayPal the following day.
For buyers, the company claims pre-owned LEGO sets can cost around 40% less than buying them new.
The futuristic machine itself is based at WeBuyBricks’ warehouse in Rawtenstall, Lancashire, where the apparently chaotic piles of multicoloured bricks are fed onto conveyor belts before AI does the painstaking job of identifying them.
For anyone who has ever faced a giant box of mixed LEGO and wondered where to start, watching 40,000 pieces a day being automatically sorted may be strangely satisfying.