https://github.com/defrecord/sefaca
Safe Execution Framework for Autonomous Coding Agents - Stop AI agents from eating your infrastructure
https://github.com/defrecord/sefaca
agent ai framework freebsd monitoring nodejs python safety sandbox security
Last synced: 8 months ago
JSON representation
Safe Execution Framework for Autonomous Coding Agents - Stop AI agents from eating your infrastructure
- Host: GitHub
- URL: https://github.com/defrecord/sefaca
- Owner: defrecord
- License: mit
- Created: 2025-07-30T23:18:06.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-07-30T23:52:16.000Z (8 months ago)
- Last Synced: 2025-07-31T02:09:03.555Z (8 months ago)
- Topics: agent, ai, framework, freebsd, monitoring, nodejs, python, safety, sandbox, security
- Language: Makefile
- Size: 18.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SEFACA
> Safe Execution Framework for Autonomous Coding Agents
[](https://opensource.org/licenses/MIT)
[](https://github.com/defrecord/sefaca)
[](https://www.freebsd.org/)
[](https://www.python.org/)
[](https://nodejs.org/)
Stop AI agents from eating your infrastructure.
> **Note**: This repository is currently a placeholder while the core SEFACA code is being developed in an incubator. The installation and usage instructions below represent the planned functionality.
## Installation
```bash
curl -sSL https://sefaca.dev/install.sh | sh
```
## Quick Start
```bash
sefaca run --context "[builder:ai:$USER@local(myapp:main)]" "python ai_agent.py"
```
## Features
- **Execution Context**: `[persona:agent:reviewer@env(repo:branch)]` - Complete tracking of every AI action
- **Resource Limits**: CPU, memory, and process constraints
- **Pattern Detection**: Blocks dangerous operations before execution
- **Audit Trail**: Every action logged and traceable
## Execution Context Format
SEFACA uses a structured context format to track and identify every AI action:
```
[persona:agent:reviewer@environment(repository:branch)]
```
- **persona**: The role or type of agent (e.g., `builder`, `reviewer`, `tester`)
- **agent**: The AI system identifier (e.g., `ai`, `gpt4`, `claude`)
- **reviewer**: The human or system reviewing the actions (e.g., `$USER`, `ci-bot`)
- **environment**: The execution environment (e.g., `local`, `staging`, `prod`)
- **repository**: The code repository being worked on
- **branch**: The git branch being modified
Example: `[builder:ai:jwalsh@local(myapp:feature-123)]`
## Documentation
Documentation is being developed. See [docs/README.md](docs/README.md) for planned content.
## License
MIT
---
For more information, visit [sefaca.dev](https://sefaca.dev)