Interface WorkspaceAgentFactory

All Known Implementing Classes:
HarnessWorkspaceAgentFactory
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface WorkspaceAgentFactory
Explicit application opt-in to consume the immutable control-plane definition per attempt.
  • Method Summary

    Modifier and Type
    Method
    Description
    io.agentscope.harness.agent.HarnessAgent
    create(com.fasterxml.jackson.databind.JsonNode definition, AgentTaskAssignment assignment)
    Creates a fresh attempt-owned agent, including its tools and credential policy.
  • Method Details

    • create

      io.agentscope.harness.agent.HarnessAgent create(com.fasterxml.jackson.databind.JsonNode definition, AgentTaskAssignment assignment)
      Creates a fresh attempt-owned agent, including its tools and credential policy.