How karitselmuthu/enterprise-agent-engineering-evaluation works
This repository is an offline-first enterprise IT-operations agent framework, with a CLI investigation workflow: receive an incident request, plan and run permitted observation tools, assemble evidence, and return an answer. Replay and optional live simulation supply incident, metric, and log observations. Separate capabilities cover MCP tools, runbook retrieval, memory, context budgeting, coding experiments, skills, and agent evaluation. The graph follows documented capabilities and sampled calls; unsampled branches are included where the README identifies them, with uncertain wiring omitted.
Main entry points: client.py MCP client agent · investigation.py Investigation agent · state_manager.py Replay state · runner.py Evaluation runner
Components 30
Incident investigation
- Agent CLI
scripts/run_agent.py - Investigation agent
src/agents/investigation.py - Run state
src/agents/state.py - Tool execution
src/tools/executor.py - Tool registry
src/tools/registry.py - Policy gate
src/policy/engine.py - Evidence store
src/evidence/store.py
Simulation data
- Replay state
simulation/state_manager.py - Replay engine
simulation/engine.py - Scenario loader
simulation/scenario_loader.py - Replay tool adapters
simulation/adapters/tools.py - Event generation
simulation/event_generator.py - Public log importer
simulation/importers/public_logs.py - Live demo service
simulation/live_stack/service.py
Agent support
- MCP client agent
src/mcp/client.py - MCP tool server
src/mcp/server.py - LLM backends
src/llm/base.py - Investigation memory
src/memory/agent.py - Runbook retrieval
src/retrieval/retriever.py - Context manager
src/context/manager.py
Agent extensions
- Coding agent
src/coding_agents/code_agent.py - Code sandbox
src/coding_agents/sandbox.py - Skills execution
src/skills/executor.py
Evaluation
- Evaluation runner
src/evaluation/runner.py - Evaluation metrics
src/evaluation/metrics.py - LLM judge
src/evaluation/llm_judge.py - Benchmarks and probes
src/evaluation/benchmarks.py
Other components
- CLI operator
- Local Ollama service
- MCP host
Connections 29
- CLI operator → Agent CLI: starts investigation
README.md - Agent CLI → Investigation agent: runs agent
- Investigation agent → Tool execution: executes tools
- Investigation agent → Run state: records progress
src/agents/state.py - Investigation agent → Evidence store: stores evidence
src/agents/simulation_agent.py - Tool execution → Tool registry: looks up tools
src/tools/executor.py - Tool execution → Policy gate: authorizes calls
src/tools/executor.py - Replay state → Replay engine: creates snapshot
simulation/state_manager.py - Replay state → Replay tool adapters: builds tools
simulation/state_manager.py - Replay tool adapters → Replay engine: registers observations
simulation/adapters/tools.py - Replay engine → Scenario loader: uses scenarios
simulation/engine.py - Agent CLI → Replay state: selects replay
- Event generation → Scenario loader: generates scenarios
- Public log importer → Replay state: supplies observations
- Live demo service → MCP client agent: serves live observations
- MCP host → MCP client agent: hosts client
- MCP client agent → MCP tool server: discovers and calls
src/mcp/client.py - MCP client agent → LLM backends: selects and interprets
src/mcp/client.py - MCP tool server → Tool registry: reads infrastructure
- Investigation memory → Run state: uses run state
src/memory/agent.py - Investigation memory → MCP client agent: uses MCP
src/memory/agent.py - Runbook retrieval → Context manager: supplies runbooks
- Context manager → Runbook retrieval: supports context agent
src/context/agent.py - Coding agent → Code sandbox: runs code
- Skills execution → MCP client agent: invokes tools
src/skills/executor.py - Evaluation runner → Evaluation metrics: computes metrics
- Evaluation runner → LLM judge: optionally assesses
- Evaluation runner → Benchmarks and probes: evaluates benchmarks
- LLM judge → Local Ollama service: requests scoring
src/evaluation/llm_judge.py