https://github.com/faramesh/faramesh-core
Runtime governance engine for AI agents.
https://github.com/faramesh/faramesh-core
agentic-ai ai-2025 ai-2026 ai-agents ai-governance compliance cybersecurity deterministic devsecops llm mcp middleware python zero-trust
Last synced: 30 days ago
JSON representation
Runtime governance engine for AI agents.
- Host: GitHub
- URL: https://github.com/faramesh/faramesh-core
- Owner: faramesh
- License: mit
- Created: 2026-01-14T01:33:20.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-03-31T23:31:43.000Z (3 months ago)
- Last Synced: 2026-04-02T09:33:48.465Z (3 months ago)
- Topics: agentic-ai, ai-2025, ai-2026, ai-agents, ai-governance, compliance, cybersecurity, deterministic, devsecops, llm, mcp, middleware, python, zero-trust
- Language: Go
- Homepage: https://faramesh.dev/docs
- Size: 26.7 MB
- Stars: 30
- Watchers: 3
- Forks: 7
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-agent-vault - faramesh-core - as-Code library for agent credential brokering. ([details](products/faramesh-core/)) (Products)
README

Governance-as-Code for AI agents.
Open source control plane for policy, interception, identity, credentials, and tamper-evident audit.
One stack file. Deterministic decisions. Safer deployments.
Join our developer community on Slack
Read the quickstart

- Website: https://faramesh.dev
- Documentation: https://docs.faramesh.dev
- Quickstart: https://docs.faramesh.dev/quickstart/
- Policy language (FPL): https://docs.faramesh.dev/fpl/
- Stack reference: https://docs.faramesh.dev/stack/
Faramesh sits between an agent and its tools and decides every tool call against a policy you write. The daemon returns permit, defer, or deny decisions before the tool runs and records tamper-evident evidence for every decision.
The key capabilities of Faramesh are:
- Interception tiers so every call reaches the daemon: SDK shim, MCP proxy, HTTP proxy, and A2A proxy.
- Deterministic enforcement: steps 1 through 8 are pure functions over policy and the action payload, with no LLM in the decision path.
- Identity bound decisions using SPIFFE SVIDs, OIDC, or cloud workload identity.
- Credential brokering that mints short-lived scoped credentials at the call site so agents never hold long-lived secrets.
- Auditing with Decision Provenance Records, a hash-chained WAL, and optional KMS signing plus audit sinks for SIEM.
- Stack-level policy changes that compile atomically, so teams can review and roll out governance as a single unit.
- Decision visibility for humans and systems, including defer flows, structured denials, and exportable evidence for reviews and audits.
## Governance as code
Faramesh policy lives in a single stack file written in FPL, the Faramesh Policy Language. YAML and JSON map to the same AST. The CLI compiles that policy into a deterministic AST that the daemon enforces, and changes are applied atomically.
## Getting Started and Documentation
- Why Faramesh: https://docs.faramesh.dev/introduction/
- How Faramesh works: https://docs.faramesh.dev/concepts/how-it-works/
- Interception: https://docs.faramesh.dev/concepts/interception/
- Enforcement: https://docs.faramesh.dev/concepts/enforcement/
- Identity: https://docs.faramesh.dev/concepts/identity/
- Credentials: https://docs.faramesh.dev/concepts/credentials/
- Auditing: https://docs.faramesh.dev/concepts/auditing/
- Quickstart: https://docs.faramesh.dev/quickstart/
- Write your first policy: https://docs.faramesh.dev/guides/your-first-policy/
- Providers: https://docs.faramesh.dev/providers/
- CLI reference: https://docs.faramesh.dev/cli/
## Developing Faramesh
- Contributing guide: https://docs.faramesh.dev/guides/contributing/
## Repository History Note
If your clone predates the May 18, 2026 history rewrite, fetch the rewritten remote state or reclone before continuing work. The tracked root `faramesh` binary was removed from git history and local clones need to resync to drop the old blob.
## License
See [faramesh-core/LICENSE](LICENSE).