This paper investigates the distributed continuoustime optimization problem, which consists of a group of agents with variant local cost functions. An adaptive consensus-based algorithm with event triggering communications is introduced, which can drive the participating agents to minimize the global cost function and exclude the Zeno behavior. Compared to the existing results, the proposed event-based algorithm is independent of the parameters of the cost functions, using only the relative information of neighboring agents, and hence is fully distributed. Furthermore, the constraints of the convexity of the cost functions are relaxed.non convex local cost functions without the knowledge of connectivity on directed graphs.In the aforementioned papers on continuous-time DOP, the information exchanges among agents require continuous communication processes. Since the bandwidth and power of the network system are limited source in most circumstances, the event-based control strategy is raised as an effective remedy [20], [21]. Continuous-time algorithms for DOP with event-based communication mechanisms is characterized by [22], [23]. Nevertheless, as the authors mentioned in [22], [23], the algorithm parameters to be designed need to satisfy some conditions that contain global information of the network topology, which may turn out to be undesirable for some applications. Therefore, how to remove the limitation of requiring global information in the designed distributed eventbased optimization algorithm is still an open problem.