Sprint 23a.5 (akiva-ai-framework) — Migration to akiva 0.2.0
What changed
The akiva-ai-framework repository's Python namespace renamed from
akiva_ai to akiva and the single-wheel monolith split into 4 wheels
(akiva-core, akiva-runner, akiva-memory, meta-wheel akiva) at
version 0.2.0. This is a breaking change for this consumer repo.
Per workspace CLAUDE.md cross-system correction (feedback_optional_cross_repo_imports),
this repo depends on the framework via optional cross-repo try/except ImportError guards with _HAS_FRAMEWORK flag. The migration window is
roughly the same regardless: every from akiva_ai.X import Y must become
from akiva.X import Y to keep _HAS_FRAMEWORK = True once the consumer
upgrades.
Estimated effort for this repo: ~0.5-1 day (per spec v3.1 Component 4).
Action items
- Pin
akiva>=0.2.0 (or akiva-core>=0.2.0 for slim consumers) in your
requirements.txt / pyproject.toml. Drop the old akiva-ai pin.
- Run the libcst-based import rewrite. Vendor the transformer from
akiva-ai-framework/scripts/_rename/rename_imports.py:
python scripts/rename_imports.py --apply src/ # adapt path to repo
- Watch for these 2 deprecated re-exports (each emits
DeprecationWarning):
from akiva.guardrails import PolicyEngineGuardrail (will remove in
akiva-ai-framework Sprint 23a.12; ~10-12 weeks runway). Update to
from akiva.policy.guardrail import PolicyEngineGuardrail.
from akiva.llm_providers import LLMMessage, LLMResponse, LLMTool, LLMConfig, LLMProvider
(will remove in Sprint 23a.6; ~1-2 weeks runway). Update to
from akiva.core.llm_protocols import LLMMessage, LLMResponse, LLMTool, LLMConfig, LLMProvider.
- NOTE: the new
akiva.core.llm_protocols.LLMClientProtocol is NOT
re-exported from akiva.llm_providers — it is exclusively at
akiva.core.llm_protocols. New consumer code that types LLM-access
against the structural Protocol must depend on akiva-core directly.
- NOTE:
akiva.plugins.load_tool_plugins(group="akiva_ai.tools") retains
the old entry-point group as default for back-compat. New tool plugins
should register under akiva.tools.
- Run your test suite. Verify no
akiva_ai references remain in active
imports (docstring/comment references can stay; libcst rename only
touches AST imports).
- Reply to this issue with your migration owner + planned completion date.
Suggested deadline: within 30 days of issue creation.
Reference
Sprint 23a.5 (akiva-ai-framework) — Migration to akiva 0.2.0
What changed
The
akiva-ai-frameworkrepository's Python namespace renamed fromakiva_aitoakivaand the single-wheel monolith split into 4 wheels(
akiva-core,akiva-runner,akiva-memory, meta-wheelakiva) atversion 0.2.0. This is a breaking change for this consumer repo.
Per workspace CLAUDE.md cross-system correction (
feedback_optional_cross_repo_imports),this repo depends on the framework via optional cross-repo
try/except ImportErrorguards with_HAS_FRAMEWORKflag. The migration window isroughly the same regardless: every
from akiva_ai.X import Ymust becomefrom akiva.X import Yto keep_HAS_FRAMEWORK = Trueonce the consumerupgrades.
Estimated effort for this repo: ~0.5-1 day (per spec v3.1 Component 4).
Action items
akiva>=0.2.0(orakiva-core>=0.2.0for slim consumers) in yourrequirements.txt/pyproject.toml. Drop the oldakiva-aipin.akiva-ai-framework/scripts/_rename/rename_imports.py:python scripts/rename_imports.py --apply src/ # adapt path to repoDeprecationWarning):from akiva.guardrails import PolicyEngineGuardrail(will remove inakiva-ai-framework Sprint 23a.12; ~10-12 weeks runway). Update to
from akiva.policy.guardrail import PolicyEngineGuardrail.from akiva.llm_providers import LLMMessage, LLMResponse, LLMTool, LLMConfig, LLMProvider(will remove in Sprint 23a.6; ~1-2 weeks runway). Update to
from akiva.core.llm_protocols import LLMMessage, LLMResponse, LLMTool, LLMConfig, LLMProvider.akiva.core.llm_protocols.LLMClientProtocolis NOTre-exported from
akiva.llm_providers— it is exclusively atakiva.core.llm_protocols. New consumer code that types LLM-accessagainst the structural Protocol must depend on
akiva-coredirectly.akiva.plugins.load_tool_plugins(group="akiva_ai.tools")retainsthe old entry-point group as default for back-compat. New tool plugins
should register under
akiva.tools.akiva_aireferences remain in activeimports (docstring/comment references can stay; libcst rename only
touches AST imports).
Suggested deadline: within 30 days of issue creation.
Reference
akiva-ai-framework/docs/superpowers/specs/2026-04-27-sprint-23a5-substrate-and-pilot-design.md(v3.1 SHIPPED 2026-04-27)akiva-ai-framework/docs/MIGRATION_0.2.mdakiva-ai-framework/docs/DECOMPOSITION_ROADMAP.mdakiva-ai-framework/scripts/_rename/rename_imports.pyakiva-ai-framework/docs/sprints/23a5_FINAL_ACCEPTANCE.md