Just Agents - Coding Components
Project description
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
/inputand/outputdirectories - 🔍 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:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file just_agents_coding-0.8.7.tar.gz.
File metadata
- Download URL: just_agents_coding-0.8.7.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.10.12 Linux/5.15.0-157-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
052b8c614a64cdd7abdf736d84d2799fa3e0b315b00cff8a6b9c926c3ad76b3b
|
|
| MD5 |
039123f03d99f78d9736fda51a5e5aba
|
|
| BLAKE2b-256 |
d9bd790e2eba6f4b76e7d43fe6210d0c3cea81b72b8333f573f2845bcff50e5f
|
File details
Details for the file just_agents_coding-0.8.7-py3-none-any.whl.
File metadata
- Download URL: just_agents_coding-0.8.7-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.10.12 Linux/5.15.0-157-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a696ae763287c4f1d8c6966d74fd48e1455c1b706afadbf00073cd70ec662652
|
|
| MD5 |
0dec50679752dd92d5797a122340a8b8
|
|
| BLAKE2b-256 |
1b853c8ab0de22144f5c3d4e65e5a9ebf4bd79aca208bb63de27ba6b6908df56
|