simple
simple
¶
SimpleAgent — single-turn query-to-response agent (no tool calling).
Classes¶
SimpleAgent
¶
SimpleAgent(engine: InferenceEngine, model: str, *, bus: Optional[EventBus] = None, temperature: float = 0.7, max_tokens: int = 1024)
Bases: BaseAgent
Single-turn agent: query -> model -> response. No tool calling.
Source code in src/openjarvis/agents/_stubs.py
Functions¶
run
¶
run(input: str, context: Optional[AgentContext] = None, **kwargs: Any) -> AgentResult
Single-turn: build messages, call engine, return result.