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.1234.tar.gz (103.2 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.1234-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ievo_cortex-26.3.6.1234.tar.gz
  • Upload date:
  • Size: 103.2 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.1234.tar.gz
Algorithm Hash digest
SHA256 78046b8c20f6faf9e9be7282f15baba32b859ceaa14f0ee0e00c1a1f02cd88a6
MD5 b5e7709ad33cfc516d22ce8073b38415
BLAKE2b-256 e8e2a8cdcec58c7da99dc6be109c62ba045763d6a61162dde8f800154753c7ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for ievo_cortex-26.3.6.1234.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.1234-py3-none-any.whl.

File metadata

File hashes

Hashes for ievo_cortex-26.3.6.1234-py3-none-any.whl
Algorithm Hash digest
SHA256 202914debff17aa0c9c2b5ec7b7d01240b03b4abfa600d813e3083164b18ff8d
MD5 c997bf302277bf6e1792a14310082e8d
BLAKE2b-256 ca23817435ab062501e84ad74865d8234f1c9ccc3df9691eb20268db75b04d68

See more details on using hashes here.

Provenance

The following attestation bundles were made for ievo_cortex-26.3.6.1234-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