Skip to main content
EEason
Back to Lab
Agent Design·Interactive Builder · Ready

Agent Lab

Configure agent roles, model policies, tool permissions, and guardrails with validated JSON & Prompt export.

Agent Blueprint Config

Agent Archetype Preset
0.10
6
Tool Allowlist (Least Privilege)
{
  "schemaVersion": "1.0-demo",
  "agent": {
    "name": "Architecture & PR Reviewer",
    "archetype": "code-review",
    "objective": "Audit pull requests for boundary violations, security flaws, and silent regression risks."
  },
  "modelPolicy": {
    "tier": "flagship-reasoning-demo",
    "temperature": 0.1,
    "outputContract": "structured-patch"
  },
  "guardrails": {
    "maxSteps": 6,
    "requireHumanApprovalOnWrites": true,
    "allowedTools": [
      "read_repo",
      "run_static_check",
      "create_pr_draft"
    ],
    "fallbackPolicy": "degrade_with_partial_trace"
  },
  "systemPrompt": "Review only the provided diff and architectural invariants. Prioritize correctness, security, and maintainability over stylistic nitpicks. Never fabricate line numbers."
}
Spec valid · 3 tools enabled · Max 6 steps · Local compile

Connected Articles, Works & Products

How to Use

  1. Pick an engineering preset (Research, Code Reviewer, Workflow Orchestrator, or Eval Judge).
  2. Edit Agent Name, Role Objective, model settings, and System Prompt—required fields are validated before export.
  3. Configure least-privilege tools and guardrails, then copy or download `.agent.json`.

Methodology & Boundaries

Separates natural-language instructions from deterministic runtime limits (max steps, tool permissions, JSON schema requirements) in one portable JSON contract.

100% Local: No API keys required and zero external network calls.

Example: Guardrailed Code Review Agent

Set temperature to 0.1, allowlist read-only diff and lint tools, require human approval for comments, and cap execution at 6 steps.

FAQ

Why enforce Max Steps?

An explicit step cap acts as a hard circuit breaker against retry spirals and pairs with deterministic fallback handlers.