Metadata-Version: 2.4
Name: agentic-software-engineer
Version: 0.1.0
Summary: Agent-driven software engineering framework — transforms work tickets into code, tests, docs, and deployments through specialized LLM agents.
Project-URL: Homepage, https://github.com/AG4MA/agentic_software_engineer
Project-URL: Repository, https://github.com/AG4MA/agentic_software_engineer
Project-URL: Issues, https://github.com/AG4MA/agentic_software_engineer/issues
Author: AG4MA
License: MIT License
        
        Copyright (c) 2026 AG4MA
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: agents,ai,automation,llm,mcp,software-engineering
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Code Generators
Classifier: Typing :: Typed
Requires-Python: >=3.11
Requires-Dist: aiosqlite<1,>=0.20
Requires-Dist: anyio<5,>=4.0
Requires-Dist: litellm<2,>=1.40
Requires-Dist: mcp<2,>=1.0
Requires-Dist: pydantic<3,>=2.5
Requires-Dist: python-dotenv<2,>=1.0
Requires-Dist: rich<14,>=13.0
Requires-Dist: tiktoken<1,>=0.7
Requires-Dist: typer<1,>=0.12
Provides-Extra: dev
Requires-Dist: mypy<2,>=1.10; extra == 'dev'
Requires-Dist: pytest-asyncio<1,>=0.23; extra == 'dev'
Requires-Dist: pytest-cov<6,>=5.0; extra == 'dev'
Requires-Dist: pytest<9,>=8.0; extra == 'dev'
Requires-Dist: ruff<1,>=0.5; extra == 'dev'
Description-Content-Type: text/markdown

# ASE — Agentic Software Engineer

[![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-blue.svg)](https://www.python.org/downloads/)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)

An agent-driven software engineering framework that transforms work tickets
into code, tests, docs, and deployments through specialized LLM agents.

## Features

- **Specialized Agents** — Backend, frontend, testing, security, database,
  DevOps, docs, and more — each with its own system prompt and model tier.
- **MCP Servers** — Operativo (runtime state/DB) + Statico (codebase analysis),
  running as local sub-processes via stdio transport.
- **Skills System** — Reusable knowledge modules (SKILL.md) injected into
  agent system prompts.
- **Agent Memory** — Cross-session persistence so agents remember project
  observations across runs.
- **Model Tiering** — Route LLM calls by cost: fast (haiku), balanced (sonnet),
  deep (opus) — configurable per agent.
- **Full Audit Trail** — Every LLM call, tool call, and decision is traced
  with `trace_id` + `span_id`.
- **Human-in-the-Loop** — Configurable review gates (PR, manual, auto-approve).

## Quick Start

### Install

```bash
pip install agentic-software-engineer
```

Or install from source:

```bash
git clone https://github.com/AG4MA/agentic_software_engineer.git
cd agentic_software_engineer
pip install -e ".[dev]"
```

### Usage

```bash
# Initialize a project
ase init myproject --path ./myproject

# Start MCP servers
ase start myproject

# Submit a work request
ase submit myproject "Add a PUT /users/:id endpoint"

# Check status
ase status myproject

# View audit trail
ase audit myproject --stats

# Interactive guide
ase guide
ase guide --topic agents
```

### Configuration

ASE is configured via `ase.toml` in your project root. Run `ase guide --topic config`
for a full reference.

Minimal example:

```toml
[project]
name = "my-api"
description = "REST API for user management"
root_path = "."
db_path = ".ase/ase.db"

[llm]
default_model = "anthropic/claude-sonnet-4-20250514"

[agents]
enabled = ["analyzer", "triage", "backend", "testing"]
```

## Architecture

```
ase submit "Add endpoint"
        │
        ▼
  ┌─────────────┐     ┌──────────────┐
  │ TriageAgent  │────▶│  Scheduler   │
  │  (fast LLM)  │     │  (dep graph) │
  └─────────────┘     └──────┬───────┘
                              │
              ┌───────────────┼───────────────┐
              ▼               ▼               ▼
        ┌──────────┐   ┌──────────┐   ┌──────────┐
        │ Backend  │   │ Testing  │   │  Docs    │
        │  Agent   │   │  Agent   │   │  Agent   │
        └────┬─────┘   └────┬─────┘   └────┬─────┘
             │              │              │
             ▼              ▼              ▼
        ┌──────────────────────────────────────┐
        │        MCP Servers (stdio)           │
        │  Operativo (state)  Statico (code)   │
        └──────────────────┬───────────────────┘
                           │
                      ┌────▼────┐
                      │ SQLite  │
                      │  (WAL)  │
                      └─────────┘
```

## Built-in Guide

Run `ase guide` for an interactive overview, or drill into a specific topic:

```
ase guide --topic agents    # Agent types, tiers, lifecycle
ase guide --topic skills    # SKILL.md, preloading, registry
ase guide --topic memory    # Cross-session persistence
ase guide --topic tiers     # Model tiering (fast/balanced/deep)
ase guide --topic mcp       # MCP servers
ase guide --topic audit     # Audit & logging
ase guide --topic config    # ase.toml reference
ase guide --topic flow      # Ticket lifecycle
```

## Development

```bash
# Install dev dependencies
pip install -e ".[dev]"

# Run tests
pytest

# Lint
ruff check src/ tests/

# Type check
mypy src/ase/
```

## License

[MIT](LICENSE)
