Skip to content
benja0rtzzzPublic

About

Headless framework for agents!

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Loom

A goal-directed reasoning framework. Plain code senses, checks and acts; a language model reasons over normalized data toward a goal you declare. The model proposes; deterministic code disposes.

Documentation: benja0rtzzz.github.io/loom-site

Why Loom

Most agent work needs no model: fetching, normalizing, checking goals and permissions, recording. Loom does that in plain code and asks the model only for judgment, when a goal is off target.

  • The model never executes anything. Its output is a proposal. Loom validates it against the capabilities you declared, applies an approval policy (auto, parent, human or deny), and only then runs it.
  • One engine, any domain. A bundle, one YAML file, names the goal, the data sources, the measures and the capabilities. A finance monitor, a support bot and a coding worker are different bundles on the same core.
  • Headless. An agent is a JSON API over HTTP. Apps are its clients, and an app can embed Loom, on a Mac or inside an iPhone app.
  • Everything is recorded. Observations, decisions and every action land in SQLite, in an append-only audit ledger.

Get started

Loom runs on Python 3.11+ with uv. The instructions take you from git clone to an agent serving its API, and cover the security model to read before you expose it.

What you can build

Goal agents A heartbeat cycle refreshes measures, evaluates the goal and, when it is off target, asks the model for a schema-checked proposal.
Chat agents A bundle without a goal serves conversations: many at once over shared data, every action through the same gate.
Coding workers Loom drives Claude Code, Codex, or its own native coder inside a git worktree, and never commits or pushes.
Agent trees A parent agent spawns children with narrower capabilities and tighter approval.

Models: Anthropic, OpenAI, OpenRouter or any OpenAI-compatible server; MLX in process on Apple silicon; the claude and codex CLIs; Apple Foundation Models when embedded in an iPhone app.

Data: built-in adapters and any Singer tap. Normalization is declared in the bundle, not written as code.

Learn more

License

Apache-2.0. See LICENSE.

About

Headless framework for agents!

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages