A broker-dealer is a firm that buys and sells securities for both the firm (dealer) and others (agent) and is registered with the SEC. An agent works on commission for his clients, and a dealer works as principal. Broker-dealers do both at different times.