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
- Extract all Tier 1 modules from
packages/forge/andpackages/core/ - Verify standalone imports and tests pass
- Build new builder modules:
plan_refiner,build_queue,repo_scanner - 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
603bf34e78174060fc526caa591f924d019be4ee9f4e118fd47917a392f7ca8a
|
|
| MD5 |
451b5e894e38483be5cf6d68a31e1a38
|
|
| BLAKE2b-256 |
ce81a739947c579f4f236bc118e63860159e52a38fb638599bf2293a2a4ba262
|
Provenance
The following attestation bundles were made for animus_kernel-0.1.1.tar.gz:
Publisher:
publish-kernel.yml on AreteDriver/animus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
animus_kernel-0.1.1.tar.gz -
Subject digest:
603bf34e78174060fc526caa591f924d019be4ee9f4e118fd47917a392f7ca8a - Sigstore transparency entry: 2211518692
- Sigstore integration time:
-
Permalink:
AreteDriver/animus@547492b38bfc1ca75bb667acff128fd3ca22907f -
Branch / Tag:
refs/tags/kernel-v0.1.1 - Owner: https://github.com/AreteDriver
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-kernel.yml@547492b38bfc1ca75bb667acff128fd3ca22907f -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad8c1c96b62f0b90a695ea10b40920cc234bfd11c4ec38edb6b07407f5f9483f
|
|
| MD5 |
96b08ca044f09a572a2d6c4a1fb52418
|
|
| BLAKE2b-256 |
5b13e6f1d95cba94b7b32e33d2fc9a2c6f44a21fed9ad445fb331fc56fdaf9e8
|
Provenance
The following attestation bundles were made for animus_kernel-0.1.1-py3-none-any.whl:
Publisher:
publish-kernel.yml on AreteDriver/animus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
animus_kernel-0.1.1-py3-none-any.whl -
Subject digest:
ad8c1c96b62f0b90a695ea10b40920cc234bfd11c4ec38edb6b07407f5f9483f - Sigstore transparency entry: 2211518744
- Sigstore integration time:
-
Permalink:
AreteDriver/animus@547492b38bfc1ca75bb667acff128fd3ca22907f -
Branch / Tag:
refs/tags/kernel-v0.1.1 - Owner: https://github.com/AreteDriver
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-kernel.yml@547492b38bfc1ca75bb667acff128fd3ca22907f -
Trigger Event:
push
-
Statement type: