Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ pip install -e .
playwright install
```

MCPMark defaults to the built-in orchestration agent (`MCPMarkAgent`). To experiment with the ReAct-style agent, pass `--agent react` to `pipeline.py` (other settings stay the same).

Docker
```bash
./build-docker.sh
Expand Down
9 changes: 9 additions & 0 deletions pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

from src.logger import get_logger
from src.evaluator import MCPEvaluator
from src.agents import AGENT_REGISTRY
from src.factory import MCPServiceFactory
from src.model_config import ModelConfig

Expand Down Expand Up @@ -41,6 +42,13 @@ def main():
required=True,
help="Comma-separated list of models to evaluate (e.g., 'o3,k2,gpt-4.1')",
)

parser.add_argument(
"--agent",
default="mcpmark",
choices=sorted(AGENT_REGISTRY.keys()),
help="Agent implementation to use (default: mcpmark)",
)
parser.add_argument(
"--tasks",
default="all",
Expand Down Expand Up @@ -138,6 +146,7 @@ def main():
exp_name=run_exp_name,
output_dir=run_output_dir,
reasoning_effort=args.reasoning_effort,
agent_name=args.agent,
)

pipeline.run_evaluation(args.tasks)
Expand Down
13 changes: 10 additions & 3 deletions src/agents/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,17 @@
MCPMark Agent Module
====================

Provides a unified agent implementation using LiteLLM for model interactions
and minimal MCP server management.
Provides agent implementations and registry for MCPMark.
"""

from .base_agent import BaseMCPAgent
from .mcpmark_agent import MCPMarkAgent
from .react_agent import ReActAgent

AGENT_REGISTRY = {
"mcpmark": MCPMarkAgent,
"react": ReActAgent,
}

__all__ = ["BaseMCPAgent", "MCPMarkAgent", "ReActAgent", "AGENT_REGISTRY"]

__all__ = ["MCPMarkAgent"]
Loading