Skip to main content

Animus Kernel

The autonomous builder engine. Extracted from the Animus monorepo for standalone use.

What This Is

animus-kernel is the execution engine of the Animus system: the budget manager, workflow executor, sandbox validator, safety checker, multi-agent supervisor, and model provider abstraction. It is stripped of the personal-tool shell (dashboard, PWA, messaging channels, persona engine) and focused entirely on autonomous code building.

Modules

Module Purpose Origin
budget Atomic token reservation, ET enforcement, cost tracking packages/forge/src/animus_forge/budget/
executor Workflow orchestration: sequential, parallel, loops, checkpoint/resume packages/forge/src/animus_forge/workflow/
sandbox Isolated execution: clone → apply → test → lint → rollback packages/forge/src/animus_forge/self_improve/sandbox.py
safety File/line limits, protected patterns, suspicious code detection packages/forge/src/animus_forge/self_improve/safety.py
providers Model-agnostic LLM calls: Anthropic, OpenAI, Ollama, OpenRouter, etc. packages/forge/src/animus_forge/providers/
agents Multi-agent delegation: Supervisor, Planner, Builder, Tester, Reviewer packages/forge/src/animus_forge/agents/
coordination Intent graph, workflow evolution, auto-promotion packages/forge/src/animus_forge/coordination/
intelligence Cross-workflow memory, cost intelligence, outcome tracking packages/forge/src/animus_forge/intelligence/
contracts Contract validation and enforcement packages/forge/src/animus_forge/contracts/
memory Project-scoped memory (HOT/WARM/COLD tiering) packages/core/animus/memory/

Installation

pip install animus-kernel

For development:

pip install -e ".[dev]"

Usage

from animus_kernel.executor import WorkflowExecutor
from animus_kernel.budget import BudgetManager
from animus_kernel.agents import SupervisorAgent

# Build a project
executor = WorkflowExecutor(
    budget_manager=BudgetManager(total_budget=10000),
    checkpoint_manager=...
)

supervisor = SupervisorAgent(
    executor=executor,
    provider_router=...
)

result = await supervisor.build_project(
    project_path="~/projects/my-app",
    plan="Add OAuth2 authentication",
    budget_limit=5000
)

Roadmap

  1. Extract all Tier 1 modules from packages/forge/ and packages/core/
  2. Verify standalone imports and tests pass
  3. Build new builder modules: plan_refiner, build_queue, repo_scanner
  4. Release v0.1.0 as installable package

Part of the Animus system. See docs/ENGINE_VS_SHELL_ASSESSMENT.md for the strategic rationale.

Metadata

Release files for animus-kernel 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for animus-kernel 0.1.1
File Size Uploaded Provenance Actions
animus_kernel-0.1.1.tar.gz 503.9 kB With provenance Details for animus_kernel-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for animus-kernel 0.1.1
File Interpreter ABI Platform Actions
animus_kernel-0.1.1-py3-none-any.whl Python 3 none any Details for animus_kernel-0.1.1-py3-none-any.whl

Total release size: 1.1 MB

Release files / animus_kernel-0.1.1.tar.gz

Download URL animus_kernel-0.1.1.tar.gz
Size 503.9 kB
Tags Source
SHA-256 checksum
How to use checksums
603bf34e78174060fc526caa591f924d019be4ee9f4e118fd47917a392f7ca8a
BLAKE2b-256 checksum
How to use checksums
ce81a739947c579f4f236bc118e63860159e52a38fb638599bf2293a2a4ba262
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 21, 2026.

Transparency log

Release files / animus_kernel-0.1.1-py3-none-any.whl

Download URL animus_kernel-0.1.1-py3-none-any.whl
Size 581.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad8c1c96b62f0b90a695ea10b40920cc234bfd11c4ec38edb6b07407f5f9483f
BLAKE2b-256 checksum
How to use checksums
5b13e6f1d95cba94b7b32e33d2fc9a2c6f44a21fed9ad445fb331fc56fdaf9e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 21, 2026.

Transparency log

Security for animus-kernel 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for animus_kernel-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page