org.llm4s.agent.orchestration.TypedAgent
See theTypedAgent companion object
Typed agent abstraction for multi-agent orchestration.
A TypedAgent represents a computation that takes input of type I and produces output of type O. Agents are composable and can be wired together in DAGs with compile-time type safety.
Follows LLM4S patterns:
- Uses AsyncResult[_] (Future[Result[_]]) for async operations
- Uses Result[_] for error handling
- Structured logging with context
- Proper error types from OrchestrationError
- Safe execution with Result.safely
Type parameters
- I
-
Input type
- O
-
Output type
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article