Overview of making reliable model requests in Agently
mainAgently provides a structured framework for making single model requests reliable. The request lifecycle is managed through several interconnected capabilities:
- Basic Request Chain: The fundamental flow of a request.
- Prompt Management: Using slots, scope, and YAML/JSON files to manage prompts.
- Schema as Prompt: Authoring structured output schemas directly.
- Output Control: Mechanisms to
ensure,validate,retry, and monitorevents. - Model Response Handling: Reusing responses and accessing
text,data,meta, orstreams. - Session Memory: Managing
Sessionobjects, multi-turn history, windowing, and import/export. - Context Engineering: Organizing where
session,info,KB(Knowledge Base), andtoolresults are placed. - Workspace Management: Handling task context, files, and durable records for progressive disclosure and recovery.