Metadata-Version: 2.4
Name: berry-cli
Version: 0.1.5
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: System :: Shells
Classifier: Topic :: Software Development :: Libraries
Requires-Dist: llama-cpp-python>=0.2.0
Requires-Dist: numpy>=1.24
Requires-Dist: tqdm>=4.60
Requires-Dist: pytest>=7.0 ; extra == 'dev'
Requires-Dist: ruff ; extra == 'dev'
Provides-Extra: dev
License-File: LICENSE
Summary: Berry CLI — High-performance Rust autonomous agent runtime: shell, tasks, processes, files, env by Cognitus Lab.
Keywords: berry,berry-cli,agent,autonomous-agents,runtime,rust,cli,ai
Author: Cognitus Lab
Requires-Python: >=3.9
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/Cognitus-Lab/Berry_CLI
Project-URL: Issues, https://github.com/Cognitus-Lab/Berry_CLI/issues
Project-URL: Repository, https://github.com/Cognitus-Lab/Berry_CLI

# Berry CLI

[![PyPI Version](https://img.shields.io/pypi/v/berry-cli.svg)](https://pypi.org/project/berry-cli/)
[![Python Versions](https://img.shields.io/pypi/pyversions/berry-cli.svg)](https://pypi.org/project/berry-cli/)
[![License: Proprietary](https://img.shields.io/badge/License-Cognitus%20Proprietary-red.svg)](./LICENSE)

**Berry CLI™** is an enterprise-grade autonomous developer agent and execution runtime engineered by **Cognitus Lab**. Designed for deep code intelligence, automated debugging, and terminal operations, Berry is built on a compiled, high-performance native Rust core (`axim_core`) and a hardened C-native agentic execution engine.

---

> ### ⚠️ Proprietary Notice & License Terms
> **Berry CLI™ is 100% Cognitus Lab Property.**
> This software is licensed for execution only under the terms of the **Cognitus Lab Proprietary End User License Agreement (EULA)**.
> - **Execution-Only License:** Conditioned upon compliance with the EULA, users are licensed to download and run compiled packages for personal and development workflows.
> - **Strict Restrictions:** Resale, sublicensing, unauthorized mirroring, commercial redistribution, and decompilation/reverse-engineering are strictly prohibited.
> - See the full [LICENSE](./LICENSE) for legal terms.

---

## Key Features

- **⚡ Native Rust Execution Core (`axim_core`):** Built with a compiled, symbol-stripped Rust runtime managing high-speed shell execution, background task pipelines, file operations, and process sandboxing.
- **🚀 Hardware-Accelerated Local AI Inference:** Automatic hardware detection and full GPU/TPU layer offloading across **Apple Silicon Metal GPU**, **NVIDIA CUDA**, **AMD ROCm**, **Cloud TPU**, and multi-core CPU (`Qwen2.5-Coder-14B` & `Qwen3-Coder-30B-A3B` with streaming download progress and instant startup).
- **🛠️ 53 Autonomous Tools & Bundled `Axim-Skills`:** Includes `terminal_mac` (with autonomous Swift compilation and macOS Virtualization/Terminal automation), all 11 `helix_foundry_*` ontology and knowledge-graph tools, `sql_*` query & dataset engine, `github_*`, `forge_*`, `web_search`/`web_fetch`, `run_subagents`, and Desktop-aware path resolution.
- **🛡️ Security Governor:** Enforces strict path containment, command allowlists, secret redaction, and auditable governance logs for every automated action.
- **🧠 Crash-Resilient RCR Memory & SYNAXIM Engine:** Real-time contextual recall (`DualFluidM`), `axim_memory`, and `grrn_inference` continuous associative state engine bundled out of the box.

---

## Installation

Install Berry CLI directly from PyPI:

```bash
pip install berry-cli
```

---

## Quick Start

Once installed, the `berry` command is available directly in your terminal:

```bash
# View all available commands and options
berry --help

# Start an interactive agent chat session
berry chat

# Run an autonomous task in your project directory
berry run "Inspect the git status, run the test suite, and summarize failures"
```

### Python API Integration

You can also embed Berry's execution primitives directly in your Python workflows:

```python
from axim import Shell, Tasks, Procs, Env, Files, Sys, AximAgent

# 1. Execute a sandboxed shell command
result = Shell.run("git status --short")
print(result.stdout)

# 2. Launch an autonomous agent task
agent = AximAgent()
result = agent.run("Review recent commits and report changes")
print(result)
```

---

## Support & Enterprise Licensing

For enterprise deployments, commercial licensing, or support:
- **Organization:** Cognitus Lab
- **Repository:** [https://github.com/Cognitus-Lab/Berry_CLI](https://github.com/Cognitus-Lab/Berry_CLI)
- **License:** 100% Cognitus Lab Property (EULA) — See [LICENSE](./LICENSE).

