sagents-ai / sagents
Build interactive AI agents in Elixir with OTP supervision, middleware composition, human-in-the-loop approvals, sub-agent delegation, and real-time Phoenix LiveView integration. Built on LangChain.
Why this job: works in the areas we cover, but does not say which job it does

What it does
- Human-In-The-Loop (HITL). Customizable permission system that pauses execution for approval on sensitive operations, including parallel tool calls where each action can be individually approved/rejected. Works across both main agents and S
- Composable Execution Modes. Agent run loops are explicit Elixir pipelines built from reusable steps. Mix and match built-in steps (call_llm, execute_tools, check_pre_tool_hitl, propagate_state, etc.) or write your own. Different agents can
- Structured Agent Completion (until_tool). Force agents to loop until they call a specific tool, returning the result as a clean {:ok, state, %ToolResult{}} tuple. No more hoping the LLM follows your output format — get structured data you
- SubAgents. Delegate complex tasks to specialized child agents for efficient context management and parallel execution
- GenServer Architecture. Each agent runs as a supervised OTP process with automatic lifecycle management
Get started
No single install command. Read the steps in the README (opens in new tab)
- Maintenance
- Active
- Last commit 5 days ago
- Stars
- 279
- On GitHub
- Licence
- Custom
- Read before business use
- Downloads for
- None listed
- No release files
- Latest version
- v0.21.0
- Released today
- Built with
- Elixir
- 100% of the code
Is it looked after?
- Contributors
- Not stated
- Last 90 days
- Issues
- 93% closed
- 2 still open
- Pull requests
- 201 merged
- 0 waiting
- Releases
- 57
- 30+ in the last year
- No contributing guide
- No security policy
- No code of conduct
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| GenAI-Security-Project / agent-control-standard | 249 | 4 days ago | Apache-2.0 | No downloads |
More: languages, topics and project record
Languages
- Elixir 100%
Topics
- agent
- agentic
- ai
- elixir
- hitl
- human-in-the-loop
- llm
- middleware
Project record
- JobOther AI tools
- StatusListed
- Commits351
- Forks29
- Watching4
- Stars in 28 days+3
- CreatedFeb 4, 2026
- First seen by usNov 7, 2026
- CheckedNov 8, 2026
