AgentKern is an open-core platform. The core operating system is Apache 2.0 open source, while advanced enterprise features are available under a commercial license.
The Enterprise Edition (EE) is designed as an "overlay" that sits on top of the open source core.
- OSS Repo:
AgentKern/agentkern(Public) - EE Repo:
AgentKern/agentkern-ee(Private)
If you have an Enterprise License, follow these steps to set up your environment:
-
Clone the OSS Repository
git clone https://github.com/AgentKern/agentkern.git cd agentkern -
Sync the Enterprise Assets Enterprise features are maintained in a separate private repository and synced into the local
ee/overlay../scripts/pull-ee.sh
For future updates, run the same command again.
Optional overrides:
EE_REPO_URL=git@github.com:AgentKern/agentkern-ee.git EE_BRANCH=main ./scripts/pull-ee.sh
Note: The
.gitignorefile is configured to ignore theee/directory, so you won't accidentally commit enterprise code to the public repo. -
Activate Enterprise Features Set your license key in the environment:
export AGENTKERN_LICENSE_KEY="your-license-key"
-
Enable EE Workspace Run the EE initializer to add enterprise crates to the OSS workspace
members../ee/scripts/init-workspace.sh
-
Build
cargo build --workspace
Use this exact sequence when working with Enterprise code:
# 1) Sync latest private EE overlay
./scripts/pull-ee.sh
# 2) Ensure workspace includes EE crates
./ee/scripts/init-workspace.sh
# 3) Build and test
cargo build --workspace
cargo test --workspaceTo switch back to OSS-only workspace members:
./ee/scripts/reset-workspace.shThe ee/ directory adds the following capabilities:
| Module | Description |
|---|---|
| Treasury | 2-Phase Commit ledger, SWIFT/IBAN connectors, Budget enforcement |
| Energy | Carbon grid integration, WattTime/ElectricityMap connectors |
| Audit | Immutable audit logs, SIEM integration (Splunk, Datadog) |
| Security | HSM integration, KMS envelope encryption |
| Compliance | GDPR Article 15 export, HIPAA controls |
The content in ee/ is strictly proprietary and confidential. It is NOT open source.
See ee/LICENSE-ENTERPRISE.md for terms.