Skip to main content

Autonomous builder engine — budget, executor, sandbox, and multi-agent orchestration

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

animus_kernel-0.1.1.tar.gz (503.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

animus_kernel-0.1.1-py3-none-any.whl (581.3 kB view details)

Uploaded Python 3

File details

Details for the file animus_kernel-0.1.1.tar.gz.

File metadata

  • Download URL: animus_kernel-0.1.1.tar.gz
  • Upload date:
  • Size: 503.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for animus_kernel-0.1.1.tar.gz
Algorithm Hash digest
SHA256 603bf34e78174060fc526caa591f924d019be4ee9f4e118fd47917a392f7ca8a
MD5 451b5e894e38483be5cf6d68a31e1a38
BLAKE2b-256 ce81a739947c579f4f236bc118e63860159e52a38fb638599bf2293a2a4ba262

See more details on using hashes here.

Provenance

The following attestation bundles were made for animus_kernel-0.1.1.tar.gz:

Publisher: publish-kernel.yml on AreteDriver/animus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file animus_kernel-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: animus_kernel-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 581.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for animus_kernel-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ad8c1c96b62f0b90a695ea10b40920cc234bfd11c4ec38edb6b07407f5f9483f
MD5 96b08ca044f09a572a2d6c4a1fb52418
BLAKE2b-256 5b13e6f1d95cba94b7b32e33d2fc9a2c6f44a21fed9ad445fb331fc56fdaf9e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for animus_kernel-0.1.1-py3-none-any.whl:

Publisher: publish-kernel.yml on AreteDriver/animus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page