Name | just-agents-coding JSON |
Version |
0.6.2
JSON |
| download |
home_page | None |
Summary | Just Agents - Coding Components |
upload_time | 2025-03-01 20:14:50 |
maintainer | Anton Kulaga |
docs_url | None |
author | Alex Karmazin |
requires_python | <3.15,>=3.10 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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
```bash
pip install just-agents-coding
```
## Usage Example
```python
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:
- [Basic Usage Tutorial](examples/notebooks/03_coding_agent.ipynb)
Raw data
{
"_id": null,
"home_page": null,
"name": "just-agents-coding",
"maintainer": "Anton Kulaga",
"docs_url": null,
"requires_python": "<3.15,>=3.10",
"maintainer_email": "antonkulaga@gmail.com",
"keywords": null,
"author": "Alex Karmazin",
"author_email": "karmazinalex@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/dc/57/9218c731fe25f75dbd67492f65a8eeef5a9d7921ac1f5b2d6e44cf697b9b/just_agents_coding-0.6.2.tar.gz",
"platform": null,
"description": "# just-agents-coding\n\nA submodule of just-agents focused on code generation and execution capabilities.\n\n## Overview\n\njust-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.\n\n## Key Features\n\n- \ud83d\udd12 Secure code execution through isolated containers\n- \ud83d\udc33 Multiple specialized containers:\n - Standard sandbox for general Python code\n - Biosandbox for bioinformatics tasks\n - Websandbox for web-related code\n- \ud83d\udcc1 Simple I/O management with mounted `/input` and `/output` directories\n- \ud83d\udd0d Code execution monitoring and logging\n\n## Quick Start\n\n```bash\npip install just-agents-coding\n```\n\n## Usage Example\n\n```python\nfrom just_agents.base_agent import BaseAgent\nfrom dotenv import load_dotenv\n\n# Load environment variables\nload_dotenv()\n\n# Initialize agent from configuration\nagent = BaseAgent.from_yaml(\"SimpleCodeAgent\", file_path=\"path/to/coding_agents.yaml\")\n\n# Execute code through the agent\nresult = agent.query(\"\"\"\nGet FGF2 human protein sequence from uniprot using biopython.\nAs a result, return only the sequence\n\"\"\")\n\nprint(result)\n```\n\n## Container Types\n\n### Standard Sandbox\n- General Python code execution\n- Basic Python packages pre-installed\n- Isolated from host system\n\n### Biosandbox\n- Specialized for bioinformatics tasks\n- Includes common bio packages (Biopython, etc.)\n- Safe handling of biological data\n\n### Websandbox\n- Web development and testing\n- Network access controls\n- Common web frameworks available\n\n## Security Features\n\n- Root access disabled in containers\n- Resource usage limits\n- Network isolation\n- Temporary file system\n- Controlled package installation\n\n## Documentation\n\nFor more detailed documentation and examples, visit:\n- [Basic Usage Tutorial](examples/notebooks/03_coding_agent.ipynb)",
"bugtrack_url": null,
"license": "MIT",
"summary": "Just Agents - Coding Components",
"version": "0.6.2",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6cc3be7044b9d2fa4e093e356c500012cee4f716b8be0e61792d0865d3c0c557",
"md5": "0029b0f5e761f923644c5b3456f87ed0",
"sha256": "7fa7b4f9f565614418c66fb131278a96aea0555ef38a109c0c85f3f50f51f16e"
},
"downloads": -1,
"filename": "just_agents_coding-0.6.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0029b0f5e761f923644c5b3456f87ed0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.15,>=3.10",
"size": 3007,
"upload_time": "2025-03-01T20:14:49",
"upload_time_iso_8601": "2025-03-01T20:14:49.754819Z",
"url": "https://files.pythonhosted.org/packages/6c/c3/be7044b9d2fa4e093e356c500012cee4f716b8be0e61792d0865d3c0c557/just_agents_coding-0.6.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "dc579218c731fe25f75dbd67492f65a8eeef5a9d7921ac1f5b2d6e44cf697b9b",
"md5": "49edf251c94fedecd3a724f634ff9381",
"sha256": "b383732543f26adc7d5e38e5b4e3bc291c55d9ff8a259ee1c777122024200ac7"
},
"downloads": -1,
"filename": "just_agents_coding-0.6.2.tar.gz",
"has_sig": false,
"md5_digest": "49edf251c94fedecd3a724f634ff9381",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.15,>=3.10",
"size": 2610,
"upload_time": "2025-03-01T20:14:50",
"upload_time_iso_8601": "2025-03-01T20:14:50.936009Z",
"url": "https://files.pythonhosted.org/packages/dc/57/9218c731fe25f75dbd67492f65a8eeef5a9d7921ac1f5b2d6e44cf697b9b/just_agents_coding-0.6.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-03-01 20:14:50",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "just-agents-coding"
}