Conduct is an open-source guardrails framework designed for LLM and MCP tool calls. It surfaced in a Hacker News thread last week, with the project at https://github.com/sseshachala/conductai discussed in the thread a recent Hacker News thread. The aim is to help developers enforce policies around when and how an LLM can invoke external tools, reducing unsafe or unintended tool usage.
Model / Project: Conduct | Focus: Open-source guardrails for LLM and MCP tool calls
What It Is / How It Works
Conduct provides a policy-driven layer to govern LLM tool calls. Rather than relying on post-hoc moderation, it intends to intercept and validate tool calls as the model prompts for action. The core premise is simple: encode allowed tools, arguments, and constraints so that tool invocations are checked before execution. The design centers on making tool usage auditable and configurable, so teams can tailor guardrails to their domain. The implementation is distributed as an open-source package, aligning with the project’s emphasis on transparency and community-driven improvement. For background, see the repo README and related discussions linked in the source thread.
"Setup and integration notes"
Bottom line: Conduct is positioned as an auditable, open-source path to govern tool usage in real-time, not just after-the-fact monitoring.
Benchmarks / Specs / Numbers
No published performance benchmarks or hardware requirements appear in the source material. The GitHub README and the associated Hacker News discussion focus on concepts, usage, and community reception rather than speed or resource metrics. In the Show HN thread, the conversation scored 20 points with 3 comments, indicating early community interest rather than quantified performance data.
| Aspect | Availability in source |
|---|---|
| Benchmarks | Not published in README nor thread |
| Primary use-case | Guardrails for LLM and MCP tool calls |
| Open-source status | Yes (open-source project) |
| Platform focus | LLM tool-call safety, policy enforcement |
The absence of concrete benchmarks means teams should treat Conduct as an early-stage guardrails project and plan their own internal tests before production use.
Community notes highlight reliability and integration questions, not timeliness or throughput metrics. See the GitHub repo and the HN discussion for early reactions and evolving guidance.
How to Try It
Getting started means following the repo’s own setup and examples. A practical path:
- Review the README to understand policy DSL, supported tools, and integration points.
- Clone and explore the repository at https://github.com/sseshachala/conductai.
- Prepare your LLM workflow or agent to route tool calls through Conduct’s guardrails layer.
- Run a small pilot to validate that disallowed tool calls are blocked and allowed calls proceed with proper logging.
For hands-on guidance and official docs, see the repo and linked references:
- Conduct on GitHub: https://github.com/sseshachala/conductai
- General tool-call guidance (OpenAI function calling context): https://platform.openai.com/docs/guides/function-calling
- LangChain ecosystem and tool integrations: https://www.langchain.com/
- AI safety and responsible use practices (Google): https://ai.google/responsible-ai/
- Hacker News context and broader discussion: https://news.ycombinator.com/
"Step-by-step setup notes"
Pros and Cons
-
Pros
- Open-source and auditable, enabling independent security reviews.
- Policy-driven guardrails allow customization for domain-specific safety needs.
- Transparent governance around which tools can be invoked and with which parameters.
- Aligns with community-driven development, enabling fork-and-improve workflows.
-
Cons
- Early-stage project; benchmarks and long-term reliability are still being established.
- Integration work may be non-trivial for teams with large, existing tool inventories.
- Requires ongoing maintenance to stay aligned with evolving tool interfaces and model behavior.
Takeaway: Conduct trades off rapid, vendor-managed guardrails for openness, auditability, and tailor-made policies, at the cost of higher integration effort and the need for your own testing discipline.
Alternatives and Comparisons
Two notable approaches exist alongside Conduct for guarding LLM tool usage:
| Feature | Conduct | LangChain Guards | OpenAI Function Calling (API) |
|---|---|---|---|
| Open-source | Yes | Yes | No (API-based) |
| Customizable policies | High (via policy DSL) | Medium (tool integration defaults) | Low (built-in API, external controls) |
| Integration effort | Moderate to high | Moderate (tight integration with LangChain) | Low (API calls; guardrails handled externally) |
| Maturity / community | Early (Show HN discussions) | Mature (large ecosystem) | Mature (official API) |
- Conduct excels when you need open, auditable guardrails you can customize deeply, and you’re willing to invest in integration and testing.
- LangChain Guardrails offer smoother integration within the LangChain ecosystem and broader community support, but may provide less bespoke policy control out of the box.
- OpenAI Function Calling provides a low-friction path to structured tool calls, but guardrails are not open-source; you rely on API-level safeguards and external governance.
Supplementary references:
- LangChain: https://www.langchain.com/
- OpenAI Function Calling docs: https://platform.openai.com/docs/guides/function-calling
- OpenAI API overview: https://platform.openai.com/
- Hacker News discussion (context): https://news.ycombinator.com/
- Open-source guardrails context and responsible AI resources: https://ai.google/responsible-ai/
Who Should Use This
- Ideal for teams prioritizing auditability and customization, such as research labs, security-conscious startups, or regulated domains where you must demonstrate precise guardrail behavior.
- A fit for developers already leveraging open-source workflows and needing to tailor tool-call policies beyond vendor-provided defaults.
Not the best choice if you require turnkey, enterprise-grade guardrails with guaranteed SLAs or if you lack the capacity to maintain guardrail policies and tests.
If you rely on vendor-managed guardrails with minimal in-house customization, a higher-risk of black-box policy updates could be a drawback.
Bottom Line / Verdict
Open-source guardrails like Conduct offer a compelling path to transparent, customizable governance over LLM tool calls. They empower teams to codify exact policy needs and audit results, but demand careful integration, testing, and ongoing maintenance. When used alongside mature ecosystems (LangChain) or built-in function-calling workflows, Conduct fills a distinct niche for teams that insist on open, verifiable control over how and when tools are invoked by AI agents.
CLOSING
As LLM-driven tool usage becomes more pervasive, openly developed guardrails will be a critical part of trustworthy AI stacks. Conduct represents a concrete option for teams wanting deep customizability and observable safety controls, even as the ecosystem around tool calls continues to mature.
Top comments (0)