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.1.tar.gz (930.5 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.1-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for praisonai_code-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ca0f5bc3d344608df97a1f67b4a767c488f67b2b42d4f8904a861f659e2a6ee1
MD5 df7fcccd3ee5493b3194e4e690d44c07
BLAKE2b-256 be59c14cd27e0783a68a82610bffe97f8e7103bf9cdf6c6d83e8486cd6ae7d42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for praisonai_code-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d9d448304f6908b3cb87c9a432a3fda8574b5051ba09395bd7e954f61f299a2e
MD5 bc7dc0ab333fa56cf1a61d3977fab45d
BLAKE2b-256 d1ed6495ef75f6a8f92c1cb4007da53de9afcb3cb6616152f3fd9dec704a8789

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