Homebrew			
	  Living Codex CR: 2
  
	
    		
          Medium construct, unaligned 
      
      Armor Class: 15
      Hit Points: 40 (8d8 + 8)  8d8+8 
      Speed: 
              20 ft
                    , fly: 40 ft
                    , burrow: 0 ft
                    , swim: 0 ft
                    , climb: 0 ft
                    , can hover
            
 
      
      
      
              Saving Throws: Int +6 Wis +4
                    Skills: Investigation +6
                    Damage Vulnerabilities: Fire
                    Damage Resistances: Psychic; Bludgeoning, Piercing, and Slashing from Nonmagical Attacks
                          Condition Immunities: Paralyzed, Poisoned
                    Senses: darkvision 60 ft passive perception 12
                    Languages: Understands the languages its creator speaks but can't speak
                    Challenge Rating: 2
        ( 450 XP)
                
                    Proficiency Bonus: +0
           
    		
       
  
      
        
      
At will: The Living Codex has advantage on Intelligence (Investigation) checks and can read the surface thoughts of creatures within 30 feet.
    
        
      
1/day: Summon Book Golems. The Living Codex summons two book golems to aid it in battle from nearby books it deems of lesser value.
 
https://www.worldanvil.com/sheet/1517384/view (book golem sheet)
    
              Actions
    Ink Blast. Ranged Spell Attack: +5 to hit, range 30/60 ft., one target. Hit: 10 (2d6 + 3) force damage. The target is pushed 5 feet away.
 
Quill Swipe. Melee Weapon Attack: +5 to hit, reach 5 ft., one target. Hit: 8 (1d8 + 4) slashing damage.
 
        Bonus Actions
    Pages of Knowledge (Recharge 5–6). As a bonus action, the Living Codex can flip open to a specific page, gaining one of the following effects until the start of its next turn:
Arcane Insight: Advantage on its next spell attack or saving throw.
Defensive Tactic: Resistance to all damage.
Elemental Lore: Its next Ink Blast deals an additional 2d6 fire, ice, or lightning damage.
 
The Living Codex has advantage on Intelligence (Investigation) checks and can read the surface thoughts of creatures within 30 feet.
 
        Reactions
    The Living Codex has advantage on Intelligence (Investigation) checks and can read the surface thoughts of creatures within 30 feet .
 
        Legendary Actions
    Summon Book Golems. The Living Codex summons two book golems to aid it in battle. (1/day)
 
                  The Living Codex is an enchanted tome bound in aged leather, inscribed with glowing runes. It drifts through ancient libraries and arcane sanctuaries, safeguarding forbidden knowledge. When threatened, it unleashes magical ink and summons lesser constructs to repel intruders. Those who approach with respect may gain its wisdom; those who don’t are met with its arcane wrath.
        Suggested Environments
    Places of knowledge