Skip to main content

iEvo kernel — provider-agnostic agent templates, skills, and pipeline conventions

Project description

Cortex

iEvo kernel source — provider-agnostic agent templates, skills, and pipeline conventions.

What

Cortex stores the iEvo kernel as Jinja2-templated source and builds provider-specific artifacts at release time. The iEvo CLI downloads the latest Cortex release asset via HTTPS during ievo init.

For detailed architecture, see docs/ARCHITECTURE.md.

Structure

cortex/
├── src/
│   ├── agents/         # Agent YAML templates (provider-agnostic)
│   ├── skills/         # Skill YAML templates
│   └── kernel/
│       └── iEVO.md.j2  # iEVO pipeline conventions — Jinja2 template source
├── tests/              # Build script tests
└── .github/
    └── workflows/
        └── release.yml # CI: tag push → build → lychee link validation → GitHub Release asset

Template variables

The src/kernel/iEVO.md.j2 template supports the following variables:

Variable Type Source Example
cortex_version string --tag CLI argument "v1.2.0"

Variables are injected into the template using standard Jinja2 syntax:

<!-- cortex {{ cortex_version }} -->

Release assets

Each GitHub Release includes cortex-<tag>.tar.gz containing:

cortex-<tag>.tar.gz
├── iEVO.md             # Rendered from src/kernel/iEVO.md.j2 (provider-agnostic)
├── claude/             # Claude Code provider artifacts
│   └── agents/
│       └── *.md        # Agent templates rendered for Claude Code
└── codex/              # OpenAI Codex provider artifacts
    └── BUILD_TARGET.md # Placeholder — full templates in future REQs

Building locally

uv run cortex compile
# Output: dist/cortex-<version>.tar.gz

Version is auto-read from package metadata (CalVer) — no --tag argument needed.

Link validation runs by default. Add --skip-validate for faster local builds when lychee is not installed:

uv run cortex compile --skip-validate

Link validation runs automatically in CI after the build.

Running tests

uv run pytest tests/
# With coverage:
uv run pytest tests/ --cov

Dependencies

All dependencies are managed by uv — see pyproject.toml for the full list. Lychee (Markdown link validator) is a Rust binary used in CI only — not a Python dependency.

Contributing

Prerequisites

  • uv (required) — Python package manager and virtualenv tool:
    curl -LsSf https://astral.sh/uv/install.sh | sh
    
  • lychee (optional) — Markdown link validator. Only needed to run cortex compile without --skip-validate. Link validation runs automatically in CI.

Quick start

git clone https://github.com/ievo-ai/cortex
cd cortex
uv sync --extra dev        # installs cortex + pytest + ruff + mypy + watchfiles
uv run cortex dev --watch  # hot-reload on src/ template changes

Run tests:

uv run pytest tests/

Godfather dev mode

When developing cortex templates inside the godfather workspace, you can point .ievo/iEVO.md at the cortex build output so cortex dev --watch rebuilds are immediately picked up by godfather's context.

From the godfather root:

# Point iEVO.md at cortex dev output (live rebuilds)
ln -sf ../repos/cortex/dist/iEVO.md .ievo/iEVO.md

# Restore (points back to CLI-distributed template)
ln -sf ../repos/cli/src/ievo/marketplace/templates/iEVO.md .ievo/iEVO.md

Verify the symlink with:

ls -la .ievo/iEVO.md

Integration

The iEvo CLI downloads and unpacks the latest release asset:

ievo init          # Downloads latest Cortex release automatically
ievo cortex build  # Rebuild locally from source (power-user path)

See: ievo-ai/cli

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

ievo_cortex-26.3.6.1028.tar.gz (88.0 kB view details)

Uploaded Source

Built Distribution

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

ievo_cortex-26.3.6.1028-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file ievo_cortex-26.3.6.1028.tar.gz.

File metadata

  • Download URL: ievo_cortex-26.3.6.1028.tar.gz
  • Upload date:
  • Size: 88.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ievo_cortex-26.3.6.1028.tar.gz
Algorithm Hash digest
SHA256 cb2b695f6675fcdb367d73378ab2d47a33d9be514a97a3a7550dff1ab101115a
MD5 7bfd6297cbe18beeeb4d995cc0dc541c
BLAKE2b-256 428837f14221207e0418ec44be0039681a0a7b1790cc95bede6f9edfa09fc2a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for ievo_cortex-26.3.6.1028.tar.gz:

Publisher: release.yml on ievo-ai/cortex

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

File details

Details for the file ievo_cortex-26.3.6.1028-py3-none-any.whl.

File metadata

File hashes

Hashes for ievo_cortex-26.3.6.1028-py3-none-any.whl
Algorithm Hash digest
SHA256 9e4e6fdaed24395999057838167d3e180ad72a583e3b8ee80676864bf2f8254d
MD5 7c344196277f633fe44d1989744872e4
BLAKE2b-256 380bb8ab7bc5df655562a6d68eed12c3ba0f353cdb927056403815c488e80433

See more details on using hashes here.

Provenance

The following attestation bundles were made for ievo_cortex-26.3.6.1028-py3-none-any.whl:

Publisher: release.yml on ievo-ai/cortex

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