Add schema interface to base agent.