4 个仓库
Structural patterns for enforcing consistency and minimizing hallucinations in model outputs.
Distinct from Language Model Interaction Patterns: Focuses on architectural consistency in LLM interactions, distinct from general interaction patterns.
Explore 4 awesome GitHub repositories matching artificial intelligence & ml · Deterministic Interaction Patterns. Refine with filters or upvote what's useful.
Guidance is a generative AI orchestration framework designed to manage complex interactions with language models by embedding programmatic control directly into the prompt generation process. It functions as a prompt programming environment that allows developers to interleave raw text with executable logic, enabling the construction of sophisticated, multi-step agentic workflows. The framework distinguishes itself through grammar-constrained token sampling and stateful stream interception, which restrict the model's output distribution based on formal language rules. By enforcing these const
Enforces strict constraints on model generation to ensure consistent behavior across automated tasks.
ParlAI is a conversational AI research framework designed for training, evaluating, and sharing dialogue models using a unified interface for datasets and agents. It functions as a PyTorch-based training platform and a dialogue data collection system, providing a centralized model zoo for the distribution of versioned pretrained agents. The project distinguishes itself through a knowledge-grounded retrieval system that combines dense and sparse indexing to ground responses in external information. It also provides a comprehensive infrastructure for gathering human-AI interaction data via inte
Defines interaction loops and environments to manage how multiple agents exchange messages in sequences or batches.
mcp-agent is a framework for building AI agents that integrate with Model Context Protocol servers to execute tools and access data. It functions as a multi-agent orchestrator and protocol-compliant server, enabling the creation of agents that can discover and invoke tools from connected external servers. The project distinguishes itself through a durable workflow engine that supports long-running tasks capable of pausing, resuming, and surviving restarts. It implements complex orchestration patterns, including iterative evaluator-optimizer loops, hierarchical workflow nesting, and specialist
Implements complex interaction patterns including parallel map-reduce and evaluator-optimizer loops.
Swarms 是一个多代理编排框架和自主代理工具包,旨在协调大语言模型代理。它作为一个用于管理代理关系的工作流引擎,提供了构建具有集成内存、工具调用能力和推理循环的自主代理的基础设施。 该框架的特色在于其多代理共识系统,利用投票、对抗性辩论和裁判代理来合成高质量的响应。它支持多种协作模式,包括导演-工作者层次结构、专家合成以及基于自然语言描述的自动化群体架构生成。 该系统涵盖了广泛的运营功能,包括通过领域特定语言进行基于图和顺序的工作流编排、针对不同模型提供商的统一接口,以及与 Model Context Protocol 的集成以实现动态工具发现。它还包括对检索增强生成、状态持久内存以及将代理功能公开为 Web 服务的能力的支持。 该项目提供用于代理管理的命令行界面,并支持通过 YAML 和模块化 markdown 技能文件进行配置。
Enables the use of arbitrary callables as social algorithms to dictate how agents communicate and sequence interactions.