# AgentScope Java evaluation example

This offline example registers an AgentScope tool, runs three golden cases, and reports a deterministic pass rate. It does not need an API key.

```bash
mvn -q -DskipTests compile exec:java \
  -Dexec.mainClass=dev.elaine.examples.ToolEvalDemo
```

Use deterministic checks like this for schemas, permissions, tool arguments, and final business state. Add an LLM judge only for criteria that code cannot express reliably.
