Skip to main content

Agentic terminal CLI for PraisonAI — the terminal-native agent (run, chat, code, runtime, cli backends) extracted from the praisonai wrapper.

Project description

praisonai-code

Agentic terminal CLI for PraisonAI — the terminal-native agent product (run, chat, code, warm runtime, CLI backends) extracted from the praisonai wrapper.

Analogues: opencode, codex, gemini-cli.

Status

Migration in progress. runtime/ and cli_backends/ have moved into praisonai_code (step C1); the remaining terminal-agent modules follow incrementally in steps C2–C6 (see issue #2512):

Step Scope
C0 Scaffold
C1 runtime/ + cli_backends/
C2 interactive/, execution/, ui/, output/, state/
C3 Agentic commands
C4 Agentic features
C5 main.py, app.py, config/session/utils + shims
C6 Integration gate
  • praisonai_code.runtime — warm local runtime (daemon + thin client).
  • praisonai_code.cli_backends — CLI backend implementations (e.g. Claude Code).

Dependency rules

praisonai (main)  →  depends on  praisonai-code
praisonai-code    →  depends on  praisonaiagents (core SDK)

praisonai-code also pulls in its own third-party runtime deps (rich, typer, click, textual, PyYAML, python-dotenv, litellm, mcp, pydantic — see pyproject.toml). The rules above govern the inter-package direction.

Migration note (C1): cli_backends/registry.py still imports PluginRegistry from the praisonai main package (same "keep main-package import" pattern as runtime/descriptor.py's from praisonai.version). praisonai-code is wired via an editable path dependency and praisonai is always present at runtime during migration, so this residual back-import is a deliberate C1 tradeoff to be removed in a later step — not a standalone-publish guarantee yet.

Backward compatibility is preserved via PEP 562 shims at the old praisonai.* import paths, so pip install praisonai and from praisonai.cli.main import PraisonAI keep working unchanged.

Install (development)

pip install -e src/praisonai-code
python -c "import praisonai_code; print(praisonai_code.__version__)"

praisonai-code is not published standalone to PyPI during migration; praisonai remains the user-facing install.

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

praisonai_code-0.0.2.tar.gz (930.6 kB view details)

Uploaded Source

Built Distribution

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

praisonai_code-0.0.2-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file praisonai_code-0.0.2.tar.gz.

File metadata

  • Download URL: praisonai_code-0.0.2.tar.gz
  • Upload date:
  • Size: 930.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for praisonai_code-0.0.2.tar.gz
Algorithm Hash digest
SHA256 1f8d3fc746a73559f3b8a159e380f8e1dbb9f4b17cd609a4a18a667925c1cd53
MD5 ad1b2a650c5a917c496489c5ddce789e
BLAKE2b-256 230f6d4d0c24f055a5e5203144961929e9d3a0c751f011deaea9ff8b391d010b

See more details on using hashes here.

File details

Details for the file praisonai_code-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for praisonai_code-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 56b74dc0e9674ac861fb729bd34b2d90c551420f5f3c12a6f8ecb8ecd33f7beb
MD5 3f8439a3157fffd5b0834b807ddf7b9e
BLAKE2b-256 b4b7d1cb3c9abac1056f47744af8adf4658012d0fc7f4e3e715ee96a06b1ad97

See more details on using hashes here.

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