Internal Resources for Agents