@talocode/policylane
v0.1.0
Published
Agent policy gate — allow/deny tool actions, redact secrets, enforce permission boundaries
Maintainers
Readme
PolicyLane
Agent policy gate — allow/deny tool actions, match roles/tags, and redact secrets from payloads.
Part of Talocode. Hosted at /v1/policylane/*.
| | |
|--|--|
| npm | npm install @talocode/policylane |
| CLI | policylane |
| Cloud | https://api.talocode.site/v1/policylane/* |
| Auth | TALOCODE_API_KEY |
| Repo | https://github.com/talocode/policylane |
| License | MIT |
Why PolicyLane?
Demos ignore ownership and permissions. PolicyLane is the boring control plane: who can call what, with redaction.
Install
npm install @talocode/policylane
# PyPI later: pip install talocode-policylaneUsage
import { checkPolicy, redact } from "@talocode/policylane"
const r = checkPolicy({
action: "tools.shell",
policy: { defaultEffect: "allow", rules: [{ action: "tools.shell", effect: "deny", reason: "blocked" }] },
payload: { token: "sk-abcdefghijklmnopqrstuvwxyz12" },
})Talocode ecosystem
| Project | Role | |---------|------| | RetryLane | Tool retries & circuit breakers | | PromptLane | Prompt versioning & feedback | | EvalLane | Assertion eval suites | | PolicyLane | Allow/deny + redaction | | VerifyLane | Deterministic code verification | | TraceLane | Agent run tracing | | HandoffLane | Schema handoffs | | StyleLane | Constitution packs | | SearchLane | Agent web search | | StackLane | Cloud keys & credits |
More: github.com/talocode · docs.talocode.site
License
MIT © Talocode
