Abstract-This paper presents a bio-inspired central pattern generator (CPG) architecture for optimal control of locomotory gaits. The CPG circuit is realized as a coupled oscillator feedback particle filter. The collective dynamics of the filter are used to approximate a posterior distribution that is used to construct the optimal control input.The architecture is illustrated with the aid of a model problem involving locomotion of coupled planar rigid body systems, with two links. For this problem, the coupled oscillator feedback particle filter is designed and its control performance demonstrated in a simulation environment.