Agentic AI - Future of AI Agents
Given this agent code:
What is the output?
class Agent:
def __init__(self):
self.memory = []
def act(self, input):
self.memory.append(input)
return len(self.memory)
agent = Agent()
print(agent.act('a'))
print(agent.act('b'))
print(agent.memory)What is the output?
