Discover and explore top open-source AI tools and projects—updated daily.
sagents-aiElixir framework for interactive AI agents
Top 99.8% on SourcePulse
Sagents provides a robust Elixir framework for building interactive AI agents, integrating LLM capabilities with Elixir's OTP for production-ready applications. It targets Elixir developers needing real-time user interaction, human oversight, and scalable agent orchestration, offering a powerful alternative to simpler LangChain integrations for complex, interactive systems.
How It Works
The system leverages Elixir's OTP GenServer and supervision trees for fault-tolerant agent processes. Agents are constructed as explicit, composable Elixir pipelines (execution modes) built from reusable steps, integrating LangChain for LLM calls. A sophisticated middleware system allows for modular extension of agent capabilities, while features like Human-In-The-Loop (HITL) and SubAgents enhance control and delegation. Phoenix integration provides real-time UI updates and smart resource management.
Quick Start & Requirements
{:sagents, "~> 0.9.0"} to mix.exs.Sagents.Supervisor into your application's supervision tree. Configure LLM providers and models.agents_demo for an interactive example and sagents_live_debugger for debugging tools. LangChain documentation provides detailed LLM configuration.Highlighted Details
TodoList), virtual file systems (FileSystem), summarization, and observability.until_tool mode enforces structured output by looping until a specific tool is called.Maintenance & Community
No specific details on maintainers, community channels (e.g., Discord, Slack), or roadmap were found in the provided README.
Licensing & Compatibility
Limitations & Caveats
Requires significant Elixir/OTP development expertise. Relies on external LLM providers, necessitating API key management and incurring usage costs. Distributed deployments require understanding and configuring Horde.
6 days ago
Inactive
nicobailon
HKUDS
langchain-ai