berry-cli 0.1.0__cp310-cp310-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of berry-cli might be problematic. Click here for more details.

axim/__init__.py ADDED
@@ -0,0 +1,128 @@
1
+ """
2
+ axim — High-performance agent execution runtime.
3
+
4
+ Built on a Rust core (axim_core) with PyO3 bindings and Python agentic layer:
5
+ - Agentic loop with tool calling powered by Qwen2.5-Coder
6
+ - Dynamic skill matching and plugin loading (Cognitus-Lab/Axim-Skills)
7
+ - Security and governance framework with path containment & audit logging
8
+ - Shell execution with timeouts, env control, and structured output
9
+ - Task queue with dependency resolution and concurrency control
10
+ - Background process management with signal control
11
+ - Environment variable isolation and snapshot/restore
12
+ - Fast file I/O and directory operations
13
+ - System information gathering
14
+
15
+ Quick Start:
16
+ >>> from axim import Shell, Tasks, Procs, Env, Files, Sys, AximAgent
17
+ >>>
18
+ >>> # Run an agent goal
19
+ >>> agent = AximAgent()
20
+ >>> result = agent.run("Inspect the current repository and summarize files")
21
+ """
22
+
23
+ from axim_core import (
24
+ # Shell
25
+ ShellExecutor,
26
+ ShellResult,
27
+ # Tasks
28
+ TaskRunner,
29
+ Task,
30
+ TaskStatus,
31
+ # Processes
32
+ ProcessManager,
33
+ ProcessInfo,
34
+ # Environment
35
+ EnvManager,
36
+ EnvSnapshot,
37
+ # Files
38
+ FileOps,
39
+ FileMeta,
40
+ # System
41
+ SysInfo,
42
+ SystemInfo,
43
+ )
44
+
45
+ from axim.governance import (
46
+ PermissionTier,
47
+ PolicyMode,
48
+ SecurityGovernor,
49
+ SecurityViolationError,
50
+ )
51
+ from axim.plugins import (
52
+ Plugin,
53
+ PluginManager,
54
+ Skill,
55
+ )
56
+ from axim.tools import (
57
+ Tool,
58
+ ToolRegistry,
59
+ )
60
+ from axim.agent import (
61
+ AximAgent,
62
+ BerryAgent,
63
+ extract_tool_call,
64
+ format_user_friendly_call,
65
+ format_user_friendly_result,
66
+ )
67
+
68
+ __version__ = "0.1.0"
69
+ __all__ = [
70
+ # Convenience aliases
71
+ "Shell",
72
+ "Tasks",
73
+ "Procs",
74
+ "Env",
75
+ "Files",
76
+ "Sys",
77
+ "chat",
78
+ "agent",
79
+ # Core Engine
80
+ "AximAgent",
81
+ "BerryAgent",
82
+ "extract_tool_call",
83
+ "format_user_friendly_call",
84
+ "format_user_friendly_result",
85
+ "SecurityGovernor",
86
+ "PermissionTier",
87
+ "PolicyMode",
88
+ "SecurityViolationError",
89
+ "PluginManager",
90
+ "Plugin",
91
+ "Skill",
92
+ "ToolRegistry",
93
+ "Tool",
94
+ # Raw Rust classes
95
+ "ShellExecutor",
96
+ "ShellResult",
97
+ "TaskRunner",
98
+ "Task",
99
+ "TaskStatus",
100
+ "ProcessManager",
101
+ "ProcessInfo",
102
+ "EnvManager",
103
+ "EnvSnapshot",
104
+ "FileOps",
105
+ "FileMeta",
106
+ "SysInfo",
107
+ "SystemInfo",
108
+ ]
109
+
110
+ # ── Convenience Aliases ─────────────────────────────────────────────
111
+ Shell = ShellExecutor
112
+ Tasks = TaskRunner
113
+ Procs = ProcessManager
114
+ Env = EnvManager
115
+ Files = FileOps
116
+ Sys = SysInfo
117
+
118
+
119
+ def chat(prompt: str | None = None, model: str | None = None) -> int:
120
+ """Start interactive terminal AI chat with Qwen2.5-Coder (1.5B)."""
121
+ from axim.chat import run_chat
122
+ return run_chat(model_path=model, prompt=prompt)
123
+
124
+
125
+ def agent(task: str, max_steps: int = 10, verbose: bool = True) -> str:
126
+ """Execute a task using the Axim autonomous agent."""
127
+ ag = AximAgent()
128
+ return ag.run(task=task, max_steps=max_steps, verbose=verbose)
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
axim_core/__init__.py ADDED
@@ -0,0 +1,3 @@
1
+ # This file is auto-populated by maturin with the native Rust extension.
2
+ # The actual .so/.dylib is placed here by the build system.
3
+ from .axim_core import *
Binary file
@@ -0,0 +1,114 @@
1
+ Metadata-Version: 2.4
2
+ Name: berry-cli
3
+ Version: 0.1.0
4
+ Classifier: Development Status :: 4 - Beta
5
+ Classifier: Intended Audience :: Developers
6
+ Classifier: Operating System :: MacOS :: MacOS X
7
+ Classifier: Operating System :: POSIX :: Linux
8
+ Classifier: Operating System :: Microsoft :: Windows
9
+ Classifier: Programming Language :: Rust
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: 3.10
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Classifier: Topic :: System :: Shells
16
+ Classifier: Topic :: Software Development :: Libraries
17
+ Requires-Dist: numpy>=1.24
18
+ Requires-Dist: tqdm>=4.60
19
+ Requires-Dist: pytest>=7.0 ; extra == 'dev'
20
+ Requires-Dist: ruff ; extra == 'dev'
21
+ Requires-Dist: cython>=3.0 ; extra == 'dev'
22
+ Requires-Dist: llama-cpp-python>=0.2.0 ; extra == 'local'
23
+ Provides-Extra: dev
24
+ Provides-Extra: local
25
+ License-File: LICENSE
26
+ Summary: Berry CLI — High-performance Rust & C-native autonomous agent runtime: shell, tasks, processes, files, env by Cognitus Lab.
27
+ Keywords: berry,berry-cli,agent,autonomous-agents,runtime,rust,cli,ai
28
+ Author: Cognitus Lab
29
+ Requires-Python: >=3.10
30
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
31
+ Project-URL: Homepage, https://github.com/Cognitus-Lab/Berry_CLI
32
+ Project-URL: Issues, https://github.com/Cognitus-Lab/Berry_CLI/issues
33
+ Project-URL: Repository, https://github.com/Cognitus-Lab/Berry_CLI
34
+
35
+ # Berry CLI
36
+
37
+ [![PyPI Version](https://img.shields.io/pypi/v/berry-cli.svg)](https://pypi.org/project/berry-cli/)
38
+ [![Python Versions](https://img.shields.io/pypi/pyversions/berry-cli.svg)](https://pypi.org/project/berry-cli/)
39
+ [![License: Proprietary](https://img.shields.io/badge/License-Cognitus%20Proprietary-red.svg)](./LICENSE)
40
+
41
+ **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.
42
+
43
+ ---
44
+
45
+ > ### ⚠️ Proprietary Notice & License Terms
46
+ > **Berry CLI™ is 100% Cognitus Lab Property.**
47
+ > This software is licensed for execution only under the terms of the **Cognitus Lab Proprietary End User License Agreement (EULA)**.
48
+ > - **Execution-Only License:** Conditioned upon compliance with the EULA, users are licensed to download and run compiled packages for personal and development workflows.
49
+ > - **Strict Restrictions:** Resale, sublicensing, unauthorized mirroring, commercial redistribution, and decompilation/reverse-engineering are strictly prohibited.
50
+ > - See the full [LICENSE](./LICENSE) for legal terms.
51
+
52
+ ---
53
+
54
+ ## Key Features
55
+
56
+ - **⚡ Native Rust Execution Core:** Built with a compiled, symbol-stripped Rust runtime managing high-speed shell execution, background task pipelines, file operations, and process sandboxing.
57
+ - **🛡️ Security Governor:** Enforces strict path containment, command allowlists, secret redaction, and auditable governance logs for every automated action.
58
+ - **🤖 Autonomous Agent Loop:** Capable of multi-step problem solving, automated git operations, test execution, and code synthesis.
59
+ - **🧠 Crash-Resilient RCR Memory:** Real-time contextual recall (RCR) and episodic memory for long-running developer sessions.
60
+ - **🔒 Anti-Reverse-Engineering Architecture:** Production wheels ship as stripped native machine code binaries (`.so` / `.pyd`) with zero plaintext source code.
61
+
62
+ ---
63
+
64
+ ## Installation
65
+
66
+ Install Berry CLI directly from PyPI:
67
+
68
+ ```bash
69
+ pip install berry-cli
70
+ ```
71
+
72
+ ---
73
+
74
+ ## Quick Start
75
+
76
+ Once installed, the `berry` command is available directly in your terminal:
77
+
78
+ ```bash
79
+ # View all available commands and options
80
+ berry --help
81
+
82
+ # Start an interactive agent chat session
83
+ berry chat
84
+
85
+ # Run an autonomous task in your project directory
86
+ berry run "Inspect the git status, run the test suite, and summarize failures"
87
+ ```
88
+
89
+ ### Python API Integration
90
+
91
+ You can also embed Berry's execution primitives directly in your Python workflows:
92
+
93
+ ```python
94
+ from axim import Shell, Tasks, Procs, Env, Files, Sys, AximAgent
95
+
96
+ # 1. Execute a sandboxed shell command
97
+ result = Shell.run("git status --short")
98
+ print(result.stdout)
99
+
100
+ # 2. Launch an autonomous agent task
101
+ agent = AximAgent()
102
+ result = agent.run("Review recent commits and report changes")
103
+ print(result)
104
+ ```
105
+
106
+ ---
107
+
108
+ ## Support & Enterprise Licensing
109
+
110
+ For enterprise deployments, commercial licensing, or support:
111
+ - **Organization:** Cognitus Lab
112
+ - **Repository:** [https://github.com/Cognitus-Lab/Berry_CLI](https://github.com/Cognitus-Lab/Berry_CLI)
113
+ - **License:** 100% Cognitus Lab Property (EULA) — See [LICENSE](./LICENSE).
114
+
@@ -0,0 +1,23 @@
1
+ axim/__init__.py,sha256=g5PgxaetMR4wSzsbt9rihEyRd9Yc2RuG1gUlkBdrBfg,3197
2
+ axim_core/__init__.py,sha256=D1VvgWA0lKZUbDhqOqmQDku0j5G5BVVhQ3QhzZVMhZc,161
3
+ axim_core/axim_core.cp310-win_amd64.pyd,sha256=rl7CUDd3cgfJwa4vWJOrG4sdRzLkQDPd1ys3ItX8Nyo,656896
4
+ berry_cli-0.1.0.dist-info/METADATA,sha256=Hiy_UtR4Lt7kOBydFZoj6WbNv6dfsAH2RznpEyueLDM,4876
5
+ berry_cli-0.1.0.dist-info/WHEEL,sha256=2nikx46IirIvKSYVlhRjNzbJg72B0NvIUOuhVphsMOs,97
6
+ berry_cli-0.1.0.dist-info/entry_points.txt,sha256=Bxh_iHDLg0B4EngV4Yacixp1da-aB7nhYH7wj-LEvX4,57
7
+ berry_cli-0.1.0.dist-info/licenses/LICENSE,sha256=x3YJ48TsQ8TZdKMDRo2-cDN0EQ_2dpl5ycMbPlYfjMc,7760
8
+ berry_cli-0.1.0.dist-info/sboms/axim-core.cyclonedx.json,sha256=p_9GU3FkdD62XJQcF4DpJIGEymINQGXGuf6cKIy5sOM,74966
9
+ axim/agent.cp310-win_amd64.pyd,sha256=sqB3EBZMcbn_seM8Ie4MbD2r-EOb0wJw2m1_aCJTbuM,286208
10
+ axim/chat.cp310-win_amd64.pyd,sha256=go2kAj1ofZch9akdwqkvu79T6wRU2i4umtLlDJvfjCk,91648
11
+ axim/cli.cp310-win_amd64.pyd,sha256=CDpksbTKbgHSiWuSugHNi59fPReivLnPVjlagZobr4c,203264
12
+ axim/convert_symb.cp310-win_amd64.pyd,sha256=QPXFpz2BE85lEn8FOYhwAt1jxxb6oXvenJoGpvBsGHo,192512
13
+ axim/forgejo.cp310-win_amd64.pyd,sha256=pbCiCar_CYtYMl0xJmeioYOaQ5IdQzezIE6j0NaRe5k,146944
14
+ axim/governance.cp310-win_amd64.pyd,sha256=-LAZoKHTyDevlw64o3uCQjbWgvHp8X11MQiTevHj53I,115712
15
+ axim/memory.cp310-win_amd64.pyd,sha256=mnFp8EKNVMCgBxo-sTg4rKMoTryl0lUSY_zwAxi9UqI,110080
16
+ axim/plugins.cp310-win_amd64.pyd,sha256=ldZub8SNyci_gdNoeWS1qVHDNJ-4zYG9FMrBjl3xrj4,134144
17
+ axim/rcr_memory.cp310-win_amd64.pyd,sha256=fvDQw5IysMEVvg4v0hhocdb3xajIDw6K8d9lv7jwTWs,157184
18
+ axim/runner.cp310-win_amd64.pyd,sha256=WiRAFPIfKZciBw3C5MGGucflPVbj1PDDg_8gbylF5dc,94720
19
+ axim/sql_engine.cp310-win_amd64.pyd,sha256=Fs2567pbe-gsJPy62KcPpVCXksVN81kiUjvNzNsCE_I,149504
20
+ axim/symb_runner.cp310-win_amd64.pyd,sha256=6mI9mT1eCH9Ox64qXLI8yVXSQviIWInPLDPWilxmcsU,103424
21
+ axim/tools.cp310-win_amd64.pyd,sha256=oxGej3N0-qIoA3aad8WMJvoQYaTqrqdxPL0ml1V45Vw,354816
22
+ axim/welcome.cp310-win_amd64.pyd,sha256=c8G2duGHP2eYB_M2MDbhhnZQiUc4cs082EKAHn76dqA,90112
23
+ berry_cli-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: maturin (1.16.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp310-cp310-win_amd64
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ axim=axim.cli:main
3
+ berry=axim.cli:main
@@ -0,0 +1,125 @@
1
+ COGNITUS LAB PROPRIETARY END USER LICENSE AGREEMENT (EULA)
2
+ ================================================================================
3
+ BERRY CLI™ — High-Performance Autonomous Agent Runtime Engine
4
+ Copyright (c) 2026 Cognitus Lab. All Rights Reserved.
5
+ ================================================================================
6
+
7
+ IMPORTANT — READ CAREFULLY BEFORE DOWNLOADING, INSTALLING, COPYING, OR USING:
8
+ This End User License Agreement ("Agreement" or "EULA") is a legally binding contract
9
+ between you (either an individual or a single legal entity, hereinafter "Licensee" or
10
+ "You") and Cognitus Lab ("Licensor", "Cognitus", "We", or "Us").
11
+
12
+ BY DOWNLOADING, INSTALLING, COPYING, OR OTHERWISE USING BERRY CLI (INCLUDING ITS
13
+ COMPILED BINARIES, LIBRARIES, EXTENSIONS, AGENT MODULES, RUNTIME DRIVERS, AND
14
+ ASSOCIATED PACKAGES), YOU AGREE TO BE BOUND BY THE TERMS OF THIS AGREEMENT.
15
+ IF YOU DO NOT AGREE TO THE TERMS OF THIS AGREEMENT, DO NOT DOWNLOAD, INSTALL,
16
+ OR USE BERRY CLI.
17
+
18
+ ================================================================================
19
+ 1. 100% COGNITUS LAB PROPRIETARY OWNERSHIP
20
+ ================================================================================
21
+ Berry CLI, including all compiled native machine code, Rust runtime libraries
22
+ (axim_core), C-native compiled orchestrators, agent execution loops, security
23
+ governance subsystems, real-time contextual recall (RCR) memory engines, tool
24
+ implementations, and documentation, are the sole and exclusive property of
25
+ Cognitus Lab.
26
+
27
+ This software is licensed, NOT sold. Cognitus Lab retains all right, title,
28
+ ownership, and interest in and to Berry CLI, including all worldwide intellectual
29
+ property rights, patents, patent applications, copyrights, trade secrets, moral
30
+ rights, trademarks, and proprietary technical know-how.
31
+
32
+ No ownership rights or intellectual property rights are transferred to You.
33
+ All rights not expressly granted in Section 2 are strictly reserved by Cognitus Lab.
34
+
35
+ ================================================================================
36
+ 2. GRANT OF LIMITED USE LICENSE (EXECUTION ONLY)
37
+ ================================================================================
38
+ Conditioned upon Your continuous compliance with all terms of this Agreement,
39
+ Cognitus Lab grants You a personal, non-exclusive, non-transferable, non-sublicensable,
40
+ revocable, limited license solely to:
41
+
42
+ (a) Download and install compiled binary packages of Berry CLI on Your personal
43
+ computers, workstations, servers, or development environments;
44
+ (b) Execute and run Berry CLI binaries exclusively as an autonomous developer
45
+ agent and runtime engine to inspect, build, test, and develop Your personal
46
+ and internal software projects.
47
+
48
+ ================================================================================
49
+ 3. STRICT RESTRICTIONS — NO COPYING, NO RESELLING, NO REDISTRIBUTION
50
+ ================================================================================
51
+ You explicitly agree that You shall NOT, directly or indirectly:
52
+
53
+ (a) NO RESALE OR COMMERCIALIZATION: You shall not sell, resell, lease, rent,
54
+ loan, license, sublicense, monetize, distribute, or transfer copies of
55
+ Berry CLI or any of its component binaries to any third party;
56
+ (b) NO COPYING OR MIRRORING: You shall not copy, duplicate, replicate, mirror,
57
+ or publicly host Berry CLI binary downloads, wheels, or runtime libraries
58
+ on any third-party server, repository, or distribution network without
59
+ express prior written consent from Cognitus Lab;
60
+ (c) NO SOURCE DISTRIBUTION: You shall not publish, distribute, or expose uncompiled
61
+ source code, internal schemas, or architectural blueprints of Berry CLI;
62
+ (d) NO HOSTED SAAS RE-HOSTING: You shall not use Berry CLI to offer a commercial
63
+ multi-tenant hosted service or competing AI agent platform to third parties.
64
+
65
+ ================================================================================
66
+ 4. ANTI-REVERSE ENGINEERING, ANTI-DECOMPILATION, & IP PROTECTION
67
+ ================================================================================
68
+ Berry CLI contains valuable trade secrets, confidential algorithmic structures,
69
+ and proprietary technical methods belonging to Cognitus Lab.
70
+
71
+ You strictly agree that You shall NOT, and shall not assist, permit, or cause
72
+ any employee, contractor, agent, or third party to:
73
+
74
+ (a) Reverse engineer, decompile, disassemble, translate, decipher, probe,
75
+ or attempt to derive human-readable source code, internal logic, or
76
+ algorithms from Berry CLI compiled binaries or libraries;
77
+ (b) Circumvent, disable, bypass, or defeat any binary stripping, obfuscation,
78
+ integrity verification, or anti-tamper mechanisms;
79
+ (c) Modify, patch, adapt, create derivative works of, or build competing agent
80
+ runtimes based on Berry CLI binaries or component routines;
81
+ (d) Use any automated disassembly tools, dynamic debuggers, memory dumpers,
82
+ or binary analyzers to inspect or extract proprietary routines from running
83
+ Berry CLI processes.
84
+
85
+ ================================================================================
86
+ 5. TERMINATION
87
+ ================================================================================
88
+ This Agreement is effective from the date You first download, install, or use
89
+ Berry CLI and shall remain in effect until terminated. Your rights under this
90
+ Agreement will terminate automatically and immediately without notice from
91
+ Cognitus Lab if You fail to comply with any provision of this Agreement.
92
+ Upon termination, You must immediately cease all use of Berry CLI and permanently
93
+ destroy all copies of Berry CLI in Your possession or control.
94
+
95
+ ================================================================================
96
+ 6. DISCLAIMER OF WARRANTIES
97
+ ================================================================================
98
+ BERRY CLI IS PROVIDED "AS IS", WITH ALL FAULTS AND WITHOUT WARRANTY OF ANY KIND.
99
+ TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, COGNITUS LAB DISCLAIMS ALL
100
+ WARRANTIES AND CONDITIONS, WHETHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING
101
+ BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
102
+ PARTICULAR PURPOSE, TITLE, ACCURACY, AND NON-INFRINGEMENT.
103
+
104
+ ================================================================================
105
+ 7. LIMITATION OF LIABILITY
106
+ ================================================================================
107
+ IN NO EVENT SHALL COGNITUS LAB, ITS DIRECTORS, EMPLOYEES, AFFILIATES, OR
108
+ LICENSORS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, PUNITIVE, OR
109
+ CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING DAMAGES FOR LOSS OF BUSINESS PROFITS,
110
+ BUSINESS INTERRUPTION, LOSS OF DATA, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF
111
+ THE USE OF OR INABILITY TO USE BERRY CLI, EVEN IF COGNITUS LAB HAS BEEN ADVISED
112
+ OF THE POSSIBILITY OF SUCH DAMAGES.
113
+
114
+ ================================================================================
115
+ 8. GOVERNING LAW & JURISDICTION
116
+ ================================================================================
117
+ This Agreement shall be governed by and construed in accordance with the laws
118
+ applicable to proprietary software licensing, without regard to conflict of law
119
+ principles. The United Nations Convention on Contracts for the International
120
+ Sale of Goods shall not apply.
121
+
122
+ ================================================================================
123
+ For licensing inquiries, enterprise deployments, or OEM integrations, contact:
124
+ Cognitus Lab — https://github.com/Cognitus-Lab
125
+ ================================================================================