pcode v0.2.0
Production-grade AI code agent with extreme performance and security.
π Major Features
- 13 Built-in Tools including sandboxed Python and JavaScript execution
- 83 Passing Tests with 80.9% coverage
- 5.2MB Binary Size (well under 12MB target)
- No Admin Privileges Required for any functionality
π¦ Installation
Quick Install (Linux/macOS)
curl -sSL https://raw.githubusercontent.com/paiml/pcode/main/install.sh | bash
Manual Installation
Download the appropriate binary for your platform:
Linux (x86_64) - Available Now β
curl -L https://github.com/paiml/pcode/releases/download/v0.2.0/pcode-linux-amd64 -o pcode
chmod +x pcode
sudo mv pcode /usr/local/bin/
macOS & Windows - Coming Soon π§
macOS and Windows binaries will be available shortly. For now, you can:
- Build from source:
cargo install --git https://github.com/paiml/pcode
- Use the Linux binary in WSL (Windows)
β¨ What's New
Added
- Sandboxed Python execution tool with security isolation
- Sandboxed JavaScript/TypeScript execution (Node.js/Deno support)
- Real code coverage integration with cargo-tarpaulin
- AI-powered automatic refactoring tool
- Code fixing capabilities (format, lint, test fixes)
- One-liner installation script
Improved
- Fixed admin privilege requirements in tests
- Updated documentation to reflect all features
- Improved test coverage to 80.9%
π Getting Started
# Check version
pcode --version
# Start interactive mode
pcode
# Run a single command
pcode -c "/python print('Hello from Python\!')"
pcode -c "/javascript console.log('Hello from JS\!')"
# Get help
pcode --help
π Tools Available (13)
file_read
,file_write
- File operationsprocess
,bash
- Command executionpython
,javascript
- Code executionllm
,token_estimate
- AI featurespmat
,coverage
,refactor
- Code analysisfix
,dev_cli
- Development tools
See README for full documentation.