Name | just-agents-coding JSON |
Version |
0.4.3
JSON |
| download |
home_page | None |
Summary | Just Agents - Coding Components |
upload_time | 2024-12-07 23:39:02 |
maintainer | Anton Kulaga |
docs_url | None |
author | Alex Karmazin |
requires_python | <4.0,>=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": "<4.0,>=3.10",
"maintainer_email": "antonkulaga@gmail.com",
"keywords": null,
"author": "Alex Karmazin",
"author_email": "karmazinalex@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/67/a6/4396285cb5a44e07bedebd9305dbaebb183e5c5b378400d315e085143c63/just_agents_coding-0.4.3.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.4.3",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "11665fa8d9c5e5283bd980dbd94b687ae99e87c9a1d81564d14769a1f31b1abb",
"md5": "ffd1ecfff78988a994fb85c13fc40b7d",
"sha256": "e0c0262c2382baa9e428b05d881d5eb693111cde6d6a31442765beb0292735d9"
},
"downloads": -1,
"filename": "just_agents_coding-0.4.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ffd1ecfff78988a994fb85c13fc40b7d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 2738,
"upload_time": "2024-12-07T23:39:00",
"upload_time_iso_8601": "2024-12-07T23:39:00.981677Z",
"url": "https://files.pythonhosted.org/packages/11/66/5fa8d9c5e5283bd980dbd94b687ae99e87c9a1d81564d14769a1f31b1abb/just_agents_coding-0.4.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "67a64396285cb5a44e07bedebd9305dbaebb183e5c5b378400d315e085143c63",
"md5": "c022c03dc315ddb4db2fe6ce568c9ce0",
"sha256": "b2dff1d430a87920a5b804500f34bba104dfbd269fd7236ca3fba78464b9d8e1"
},
"downloads": -1,
"filename": "just_agents_coding-0.4.3.tar.gz",
"has_sig": false,
"md5_digest": "c022c03dc315ddb4db2fe6ce568c9ce0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 2289,
"upload_time": "2024-12-07T23:39:02",
"upload_time_iso_8601": "2024-12-07T23:39:02.531353Z",
"url": "https://files.pythonhosted.org/packages/67/a6/4396285cb5a44e07bedebd9305dbaebb183e5c5b378400d315e085143c63/just_agents_coding-0.4.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-07 23:39:02",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "just-agents-coding"
}