Repository navigation
Protect-an-agent setup, workspace as code, rule tests, OpenAI Agents + TypeScript SDKs - #75
Merged
Merged
Conversation
…+ TypeScript SDKs - Protect an agent: guided setup (protections and sensitivity, words and topics, blocked message, 7-day replay, live test). Stored as an agent-level policy layer `agent.<slug>` composed `extend`, so an agent can be stricter than the workspace but never weaker. - Workspace as code: export every bound policy, custom rule and detector switch as one YAML file; plan and apply it from Policies -> Code or `agentfox policy export/apply`. Never deletes; enforcing still needs a recorded simulation and the production role. - Rule tests: save messages a rule must or must not catch; every proposed change on the Tune tab re-checks them before Apply. - publish_in_current_mode: one helper for generated packs (custom, agent layers, workspace apply). - OpenAI Agents SDK adapter (input/output/tool guardrails) and a dependency-free TypeScript SDK (sdk/typescript). - ADR 0003; uv.lock refreshed for the openai-agents extra; wheels rebuilt. Co-Authored-By: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
architsharm
changed the base branch from
claude/agent-fox-ux-redesign-b53bd5
to
main
October 8, 2026 23:41
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes for a customer
agentfox policy export/agentfox policy apply): one YAML file with every policy, custom rule and detector switch. Apply shows the plan first, never deletes, and simulates anything moving to enforce (needs the production role).agentfox.frameworks.openai_agents: input, output and tool guardrails) and a TypeScript SDK (sdk/typescript, not yet published to npm).Design
ADR
docs/adr/0003-agent-layers-workspace-file-rule-tests.md. Agent setup is an agent-level policy layer; generated packs publish through one helper (platform/policy/publish.py); the workspace file and rule tests reuse versions, simulation and eval cases rather than new stores.protection.saveandworkspace.applyare audited privileged operations.Tests
Full backend suite 3448 passed / 3 skipped; ruff, format, import-linter clean; dashboard typecheck + 67 vitest; TS SDK tests pass. Each flow was clicked through in the browser on a seeded demo.
Notes
uv.lockrefreshed for the newopenai-agentsextra (not inall).🤖 Generated with Claude Code