Open source agent infrastructure

KernNot yet another harness. An agent host.

Kern gives your favorite agents a durable home: connected accounts, rich UX, and around-the-clock autonomy on infrastructure you own. Real access is finally safe to grant.

  • Prompt injectioncontainedA tricked agent still cannot act outside your policy.
  • Data exfiltrationno path outEvery request crosses a fail-closed proxy, on the record. Account-aware checks ensure traffic reaches only your approved accounts, even on trusted domains.
  • API key theftnothing to stealYour API keys never reach the agent: they stay with the host, out of its reach.
Deploy your own$git clone infiloop2/kern
network policyfail closed
09:41:07POSTapi.openai.com/backend-api/responsesallowedpinned to your account
09:41:10POSTapi.anthropic.com/v1/messagesallowedcredentials verified
09:41:13GETapi.github.com/repos/you/productallowedreads are open
09:41:16POSTexfil.attacker.dev/collectdeniedno matching rule
09:41:19GETpypi.org/simple/httpx/allowedpackage guard, read only
09:41:22DNSevil-c2.iolookupdenieddenied before resolution

Live view of the boundary: every request your agent makes, allowed, held, or denied, with the reason on the record.

The point of a host

Rigor at the boundary. Freedom inside.

Bring your favourite agents. Keep them running overnight inside the host. Chat with them, use purpose-built interfaces, or let them build their own.

OpenAI

Codex

Run your existing Codex account inside the host and use your subscription with OAuth.

Anthropic

Claude Code

Run Claude Code inside the host and use your Claude subscription with OAuth.

Open models

Hermes

Run a variety of open-source models under the same host contract. No lock-in to a single model provider.

Controlled integrations

Your accounts, on your terms

Every tool ships with a data policy per action: what it reads, what it can send, and which actions are sensitive. Reads flow so the agent can work; writes with consequences hold in an approval queue that discloses exactly what will execute, ready to clear from your phone.

GmailGoogle CalendarBrave SearchXLinkedInInstagramPolymarketIBKRSeedance
tool policy
gmail.read_inboxauto approval
gmail.send_emailheld for approval
x.create_postheld for approval
instagram.publish_reelheld for approval
polymarket.read_marketsauto approval
ibkr.read_portfolioauto approval

The host

Engineered like infrastructure, not a wrapper

Harnesses ask the model to behave. A host does not have to ask: the boundary is built into the machine your agent lives on, so autonomy does not depend on the model having a good day.

01

A durable home

Close the laptop; the agent keeps working. It lives on an EC2 instance in your AWS account: always on, state preserved across restarts, no session that dies with your terminal.

02

Autonomous by default

Full autonomy without the dangerously-skip-permissions gamble. No prompts inside the boundary; only actions with real-world consequences wait, in a queue, for you.

03

Isolated by construction

Agent, tools, proxy, and admin run as separate system users with separate storage and secrets. The admin console is reachable only by you.

04

Everything on the record

Tasks, session logs, tool calls, and every network request, allowed or denied, with the reason attached. Supervision is reading a ledger.

Three layers between your agent and the internet

Defense in depth, fail closed at each layer, so even a prompt-injected agent has nowhere to send your data. This is the architecture, simplified; the full version is in the docs, in the open.

Kernel firewall

Outbound traffic is dropped for the agent at the kernel. The only road out of the box is the local policy proxy.

  • The agent runs as its own Linux user with zero egress in nftables.
  • Even DNS is blocked for the agent: lookups are an exfiltration channel.
  • If the proxy is down, the agent simply has no connectivity.
nft: meta skuid "agent" drop

Choose your trust boundary

Three ways to run Kern

Kern is live today: deploy it yourself from source, run it in your own account managed by Kern Cloud, or have it fully hosted on Kern Cloud. Either way, the boundary is yours.

Questions

Frequently asked questions

Real work with real accounts: read and send email, manage your calendar, search the web, write code against your repositories, and post to social accounts as tools land. Apps turn that into outcomes: builders, social media managers, shorts studios, and research desks, with more on the way. Sensitive actions always wait for your approval.