The Little Clay Cart is a long Sanskrit drama in ten acts, set in the city of Ujjayini and built around two figures: Charudatta, a generous Brahman merchant who has given his wealth away and now lives in poverty, and Vasantasena, a rich and beautiful courtesan who has fallen in love with him. The play opens with Charudatta lamenting how former friends now pass his door, and with Vasantasena fleeing the unwanted advances of the king's vulgar brother-in-law, Sansthanaka. She takes refuge in Charudatta's house and leaves a casket of gems there for safekeeping.
That casket sets the plot turning. A thief named Sharvilaka breaks through the wall of Charudatta's house and steals it, meaning to buy the freedom of Vasantasena's maid Madanika, whom he loves. The gems pass back to Vasantasena, who uses the affair as an excuse to draw closer to Charudatta. A great storm forces her to spend the night at his house, and their love deepens. Around this central pair, the play crowds in gamblers, a shampooer who turns monk, servants, policemen, and conspirators, drawn from every layer of society.
The danger comes from Sansthanaka. By accident Vasantasena climbs into his bullock-cart instead of Charudatta's, and when he finds her he renews his insulting offers. She refuses him, so he strangles her and leaves her for dead, then accuses Charudatta of the murder. The same swapped cart has also carried the escaped prisoner Aryaka, whom Charudatta quietly helps, weaving the love story together with a brewing rebellion against the unjust King Palaka.
The ninth act is the trial. The judge describes at length what an upright judge should be: learned, fearless, free of greed, defending the weak and confounding the knave. Yet he is caught between truth and the king's favor. Circumstantial evidence piles up, the gems meant to buy Charudatta's son a toy cart fall to the floor and seem to prove a motive, and Charudatta is condemned to death despite his innocence.
The tenth act brings the rescue from outside the law. As the headsmen prepare to execute Charudatta, Vasantasena, revived by the Buddhist monk who is the former shampooer, appears and halts the proceedings. News arrives that Aryaka has killed and replaced the old king, that he wishes to reward Charudatta, and that he has freed Vasantasena from the life of a courtesan. Charudatta, asked to sentence the man who tried to ruin him, pardons Sansthanaka. The play closes with order restored through loyalty, love, and revolt rather than through the court that nearly killed an innocent man.