MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / MockAgent

Class MockAgent

tests/unit/test_session.py:507–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505 try:
506 # Mock an agent object similar to what CrewAI would provide
507 class MockAgent:
508 def __init__(self):
509 self.role = "Test Agent"
510 self.goal = "Testing"
511 self.id = "test-agent-id"
512
513 agent = MockAgent()
514 agentops.track_agent(agent)

Callers 1

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…