Skip to content
Cwmbrân, Torfaen, Wales

Vibe coding and AI agents classes in Cwmbran

Where are the best vibe coding and AI agents classes for Cwmbran?

The ONS built-up area of Cwmbrân held 47,090 usual residents at the 2021 census, within a county borough of Torfaen that held 92,276. Croesyceiliog, Llantarnam, Pontnewydd, Fairwater, Greenmeadow, Coed Eva and more than a dozen other gazetteer suburbs fall inside that built-up area. Modern Age Coders teaches vibe coding, AI agents, Python, coding and maths to learners in Cwmbran aged six to 67, live on video with tutors in India, as private lessons or in groups of five to ten at one level. Learners build things and then question what they built. A free trial lesson comes first, then a course recommendation. In the Cwmbran project a learner programs 4,000 route-choosing agents, opens a shortcut on a model road network, and watches every journey get longer. Fees after the trial: USD 100 monthly in a group, USD 150 monthly one-to-one.

Picture a navigation agent in every car, each one told to get its own driver home as fast as possible. Now the council opens a new link road. Surely journeys get shorter? In 1968 the German mathematician Dietrich Braess showed a network where the opposite happens: every agent, acting sensibly for itself, takes the new link, and everyone arrives later than before. It sounds like a riddle. In Python it takes a few dozen lines to reproduce, and it is one of the clearest lessons there is about what happens when many AI agents chase the same goal at once.

Facts last verified 30 September 2026. Teaching is online; no Cwmbran branch is claimed.

Recommended starts

Vibe coding and AI agents courses for Cwmbran learners

Pick by age. Each course opens with a free live lesson, and no card is asked for.

Browse the course atlas for more than one hundred options and use the coding roadmap to check prerequisites.

The four we are known for

Python, AI, vibe coding and agentic coding

These run underneath everything above. Every one is live and online, placed by ability rather than by age, and the first class is free.

Cwmbran in numbers

Cwmbran, Croesyceiliog, Llantarnam and Pontnewydd

Census counts for the built-up area and the county borough, and how people in Torfaen got to work.

Census 2021 (ONS)
MeasureCount
Usual residents, Cwmbrân built-up area47,090
Usual residents, Torfaen92,276
Torfaen residents in work the week before the census40,654
Of those, driving a car or van to work25,181

Torfaen also includes Pontypool and Blaenavon, so the borough and town rows are separate counts. The census was taken in March 2021, when many people worked from home, so the travel figure describes that week rather than a typical one. On postcodes.io, Croesyceiliog, Llantarnam, Pontnewydd, Fairwater, Henllys, Oakfield, Coed Eva, Greenmeadow, Thornhill, St Dials, Two Locks, Llanyrafon, Northville, Southville, Old Cwmbran, Ty Canol, Hollybush, Pontrhydyrun and Upper Cwmbran are all suburban areas in NP44 whose nearest postcode is inside the Cwmbrân built-up area. Schools follow the Curriculum for Wales, so we place learners by Welsh school year and use WJEC names for GCSE and A level; lessons are taught in English.

South Wales pages

See Newport, Blaenau Gwent, the Torfaen page and our WJEC GCSE Computer Science help. Why thinking comes before tools is argued in learn to think, not just use AI tools.

The Cwmbran project

Four thousand agents and a shortcut that slows everyone down

A model road network, agents that each want the quickest trip, and a count of the minutes lost.

The network is invented and has nothing to do with Cwmbran's real roads; it is the textbook example used to explain Braess's result. Four thousand drivers travel from Start to End. The top route runs Start to A, which takes one minute for every hundred cars on it, then A to End, a fixed 45 minutes. The bottom route mirrors it: Start to B, a fixed 45, then B to End at one minute per hundred cars. The learner writes each driver as a small agent with one job: look at yesterday's journey times and, if another route was quicker, consider switching to it.

With only the two routes, and one agent in ten on a slower route switching each round, the crowd settles near 2,000 on each route and every trip takes about 65 minutes. Then the learner adds a free link from A to B that takes no time at all. A driver can now go Start to A, across, then B to End. Nobody is forced to use it.

After the free link opens, one slower agent in ten switches each round, our Python run
RoundAgents using the shortcutAverage trip
0065.00 min
142564.70 min
51,58066.15 min
102,57670.07 min
49, settled3,97479.77 min

The first switchers really do gain, and for one round the average trip is slightly shorter. But each car on the shortcut also loads both busy halves of the network, and as more agents follow, the other routes get slower too, which pushes even more agents onto the shortcut. By round 49 almost everyone uses it and the average trip is 79.77 minutes, nearly 15 minutes worse than before the link existed. No agent can do better by switching back alone, so nothing changes from there. Economists call such a state a Wardrop or Nash equilibrium.

Two more runs finish the lesson. If a single coordinator assigned routes, a grid search finds that sending 500 cars over the shortcut and 1,750 along each other route gives 64.69 minutes, better than either result above. The ratio between the selfish outcome and the coordinated one is the price of anarchy. And if every agent reacts to the same information at the same moment, the crowd lurches: with no shortcut and everyone switching at once, all 4,000 cars pile onto one route, then all onto the other, and every trip takes 85 minutes, round after round.

Ages 8 to 11

A classroom game: everyone picks one of two paths, and the busier path costs more points.

Ages 11 to 15

Code the two-route network in Python and count journey times for any split of cars.

Ages 15 and up

Write the agents, add the shortcut, vary how many switch per round, and search for the coordinated split.

Where this comes from

The network follows Braess (1968), translated into English by Braess, Nagurney and Wakolbinger (2005). The Torfaen travel figures are from the ONS Census 2021 table TS061 via Nomis. The agents, the random seed (20260930) and every number in the table are from our own run.

Agents and vibe coding

What selfish agents teach about building AI agents

An agent that does its own job well can still leave the whole system worse off.

From model traffic to real AI agents
What the simulation showedWhat it means for agent builders
Each agent chose sensibly, all were slowerJudge agents by the whole system, not one run
Early switchers gained, then everyone lostA short test can reward the wrong behaviour
A coordinator reached 64.69 minutesSometimes agents need shared rules or a planner
Everyone reacting at once made the crowd lurchStagger or randomise how agents update
The network was invented and said soLabel models as models

This is where vibe coding meets agents. A learner can describe the whole simulation to an AI and get working Python back in a minute, and many Cwmbran learners do exactly that. The real work starts afterwards: reading the update rule, spotting that it lets every agent move at once, and changing one number to watch the crowd settle instead of lurch. That habit of checking what a system of agents does, not just one agent, is what we build towards. Agent-building projects start when a learner's Python is strong without help, most often in sixth form or adulthood, and anything in Copilot Studio is taught one-to-one only. Further reading: how we teach agents to UK students and understand the code, don't copy-paste.

Neither the Office for National Statistics nor postcodes.io has any link with Modern Age Coders. We used their open data for context; the simulation is ours.

Growing with us

From path games at seven to agent simulations at seventeen

The trial lesson sets the starting point, with the Welsh school year only as a first guess.

Years 2 to 6

Rules and choices

Games, patterns and instructions, often acted out before coding.

Problem Solving and Computational Thinking for KidsScratch Coding for Kids
Years 4 to 8

Making with AI

Scratch games built with an AI, then the step into Python.

Vibe Coding for KidsPython and AI for Kids
Years 9 to 13

Simulations in Python

Loops, randomness and many small agents, checked against expectations.

Vibe Coding for TeensPython for Teens
Adults

Agents in practice

Python for real work, then agents designed with the whole system in view.

Python MasterclassData Structures & Algorithms Course
Agents and networks

What is Braess's paradox, and why does it matter for AI agents?

Braess's paradox is the finding that adding a link to a network can make every journey slower when each traveller picks the fastest route for themselves, and it matters because many AI agents pursuing their own goals in one system can produce the same collective loss.

In our model 4,000 agents averaged 65.00 minutes before a free shortcut opened and 79.77 minutes once they had all adopted it, while a coordinated split with the shortcut managed 64.69.

Learners who have produced those numbers look past whether one agent works to what happens when many of them run together.

For a Cwmbran teenager, seeing a whole system and not just one clever agent is what lets them direct AI rather than be carried along by it, and the way in is writing the code yourself. The longer argument is in the case for learning to code in 2026.

How classes work

A typical lesson for a Cwmbran learner

Classes are live video sessions. A computer with a keyboard is needed; a tablet alone will not do for Python.

Code typed, not watched

The learner writes and runs everything, with the tutor asking questions throughout.

Placement by trial

The first lesson shows the learner's level before we suggest a course.

No cost to try

The trial lesson is free, with no card required.

Five to ten in a class

Classmates share a level and join from across the UK.

Around eight a month

Usually two lessons a week in term, with Torfaen holidays left clear on request.

Welsh time kept

Your lesson stays at the same UK time when the clocks go forward or back.

Why the lessons are online

Gathering five to ten learners at one exact stage is far easier across the whole UK than in one valley. Video lets them learn together without travelling.

Fees

Prices for Cwmbran families

Cwmbran learners pay what everyone outside India pays.

First classUSD 0

First lesson: free and full length, with a course suggestion to finish.

Group tuitionUSD 100

Group class, around eight lessons a month.

Private tuitionUSD 150

Private one-to-one lessons, around eight a month.

All fees are in US dollars; we publish no pound figure. You are not charged for the trial, and billing starts only once a course and a regular time are agreed. See the pricing page for holidays, missed lessons and switching between group and private classes.

Reviews

Families in Wales and across Britain, reviewing us on Google

Rated 4.9 across 547 Google reviews. These are real reviews, reproduced as written.

★★★★★

"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."

Ria Mukherjee

Parent

★★★★★

"Modern Age Coders has been a game-changer for me. I struggled to grasp IT concepts and coding before joining, but their classes transformed everything. I can now confidently write complex programs with ease."

Samriddha Mondal

Student

★★★★★

"One of the most wonderful education centres out there. Education is not limited to school syllabus but focuses on skill development."

Vansh Agarwal

Student

★★★★★

"My child Dhairya is really enjoying the Modern Age Coders classes. This is his first online class and he eagerly looks forward to it. I can already see his improvement, and the teachers are very cooperative."

Sonam Oswal

Parent of Dhairya

★★★★★

"Modern Age Coders have wonderful teachers who teach in a clear, easy and practical way. The teacher boosts students' confidence and inspires them to learn without hesitation."

Sonu Goyal

Parent

★★★★★

"I highly recommend this computer coding class! The teachers are incredibly knowledgeable and passionate about coding."

Ritu Kedia

Parent

Free placement class

Book a free Cwmbran lesson

Let us know the learner's age or school year and what they enjoy. The trial might be a path-choosing game, an AI-built Scratch game, a first Python program, or a first agent simulation.

+44

FAQ

Cwmbran questions

The agent project, Braess's paradox, vibe coding and how lessons work.

How many people live in Cwmbran?

The ONS counted 47,090 usual residents in the Cwmbrân built-up area at the 2021 census. Torfaen county borough had 92,276.

Are there vibe coding and AI agents classes for Cwmbran?

Yes. Classes run live online for ages 6 to 67 in Cwmbran, Croesyceiliog, Llantarnam, Pontnewydd and the rest of Torfaen.

What is a Nash equilibrium in traffic?

A pattern of route choices in which no single driver can get home sooner by changing route alone. In traffic it is often called a Wardrop equilibrium.

What happened in the Cwmbran simulation?

On an invented network, 4,000 agents averaged 65.00 minutes. After a free shortcut opened they drifted onto it until the average was 79.77 minutes, even though a coordinated plan with the shortcut gave 64.69.

Is the road network real?

No. It is the standard textbook network for Braess's paradox, and we say so. Only the census figures describe Torfaen.

What is vibe coding?

Vibe coding is building software by describing it to an AI, then running, reading and correcting the code. We teach it with typed Python so learners can judge the result.

When do learners build their own AI agents?

Once their Python is solid without help, typically in sixth form or as adults. Copilot Studio agents are one-to-one only.

Does this help with WJEC GCSE computer science?

Algorithms, simulation and programming run through WJEC GCSE and A level courses, and we cover them carefully. We do not promise any grade.

How much do classes cost?

The trial lesson is free. Group classes then cost USD 100 a month and private lessons USD 150 a month.

What about school holidays?

Tell us the Torfaen holiday dates and lessons stop for those weeks.

Neighbouring pages

More pages for South Wales

Browse Newport, Blaenau Gwent and Torfaen, plus WJEC GCSE Computer Science help. The Wales page and the UK hub list everything else.

Free classPriority demoCall us

Keep exploring Modern Age Coders

Coding classes in nearby places

Learn more

Free resources

From the blog

Start here