Former “Cosby Show” star Keshia Knight Pulliam got on Tyler Perry’s “House of Payne” this season making $20k per episode then fired her agents that put the whole deal together…and of course now they are suing reports TMZ.

Greene & Associates Talent Agency says she signed on with them in 2007 and got a lead role on Tyler Perry TV show earning between $7,500 to $20k per episode … including $20k per for all of the 2011-12 season.

The problem is Keshia fired G&A in July and never any commission to the agency.

The agency is suing for over $100k in back payments plus more than $250k for future commissions.