Abstract. In this paper we propose a trusted resource discovery and automatic invocation P2P framework. It provides a series of amazing features to overcome the drawbacks of existing P2P frameworks, such as totally decentralized structured and semantic searchable topology based on dual level DHT network hierarchy, distributed metadata storage, unified resource abstraction and trusted recommendation system based on statistic model of reputation. The ResourceDog framework provides a mechanism to discovery resources by tags, prepare runtime environment for resources automatically, gather and model out rank of rating for resources. The results demonstrate that the ResourceDog framework provides convenient, powerful and trusted resources for general users in P2P environment.