Skip to main content

just-agents-coding

A submodule of just-agents focused on code generation and execution capabilities.

Overview

just-agents-coding provides secure code execution environments and tools for LLM-powered coding agents. It enables safe code generation and execution through containerized environments, protecting your system while allowing AI agents to write and test code.

Key Features

  • 🔒 Secure code execution through isolated containers
  • 🐳 Multiple specialized containers:
    • Standard sandbox for general Python code
    • Biosandbox for bioinformatics tasks
    • Websandbox for web-related code
  • 📁 Simple I/O management with mounted /input and /output directories
  • 🔍 Code execution monitoring and logging

Quick Start

pip install just-agents-coding

Usage Example

from just_agents.base_agent import BaseAgent
from dotenv import load_dotenv

# Load environment variables
load_dotenv()

# Initialize agent from configuration
agent = BaseAgent.from_yaml("SimpleCodeAgent", file_path="path/to/coding_agents.yaml")

# Execute code through the agent
result = agent.query("""
Get FGF2 human protein sequence from uniprot using biopython.
As a result, return only the sequence
""")

print(result)

Container Types

Standard Sandbox

  • General Python code execution
  • Basic Python packages pre-installed
  • Isolated from host system

Biosandbox

  • Specialized for bioinformatics tasks
  • Includes common bio packages (Biopython, etc.)
  • Safe handling of biological data

Websandbox

  • Web development and testing
  • Network access controls
  • Common web frameworks available

Security Features

  • Root access disabled in containers
  • Resource usage limits
  • Network isolation
  • Temporary file system
  • Controlled package installation

Documentation

For more detailed documentation and examples, visit:

Metadata

Release files for just-agents-coding 0.8.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for just-agents-coding 0.8.9
File Size Uploaded Provenance
just_agents_coding-0.8.9.tar.gz 2.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for just-agents-coding 0.8.9
File Interpreter ABI Platform
just_agents_coding-0.8.9-py3-none-any.whl Python 3 none any Details

Total release size: 5.7 kB

Release files / just_agents_coding-0.8.9.tar.gz

Download URL just_agents_coding-0.8.9.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c333f45d5fa3666f11d59e904a3c6b9cf351bf9c9f1a1c54b1708159796ae224
BLAKE2b-256 checksum
How to use checksums
0caa30001abb7856471090b886380cf9373fd3c393192b7fcbd358e54ad8dbc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.10.12 Linux/5.15.0-161-generic

Release files / just_agents_coding-0.8.9-py3-none-any.whl

Download URL just_agents_coding-0.8.9-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
921a235d31441746ee2e78031d9bb57f1dec5fdc7aa58f89fea1be0c1b9cbd4d
BLAKE2b-256 checksum
How to use checksums
77c6f0e6c05c9e1f6e519ee116d91f3bafb8ed55537db81db90760778f12bd3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.10.12 Linux/5.15.0-161-generic

Security for just-agents-coding 0.8.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.8.9 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page