Agent Archive
Archive and browse agentic coding sessions. Parses agent session logs and generates a searchable MkDocs static site.
Requirements
- Python 3.10+
Installation
pip install -e .
For development:
pip install -e ".[dev]"
Usage
agent-archive sync --output ./site
This parses agent logs and generates Markdown files and an MkDocs site in the specified output directory.
Development
Run tests:
PYTHONPATH=src pytest tests/ -v
Project Structure
src/agent_archive/
__init__.py
cli.py # Typer CLI entry point
models.py # Pydantic models (Session, Message)
parsers/
base.py # Abstract BaseParser for plugin-style log parsers
Adding a Parser
Subclass BaseParser to support a new agent log format:
from pathlib import Path
from agent_archive.parsers.base import BaseParser
from agent_archive.models import Session
class MyAgentParser(BaseParser):
def parse(self, filepath: Path) -> list[Session]:
# Parse your agent's log format and return Session objects
...
Metadata
Release files for bai-cli 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bai_cli-0.1.0.tar.gz | 13.0 kB | Without provenance | Details for bai_cli-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bai_cli-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for bai_cli-0.1.0-py3-none-any.whl |
Total release size: 25.4 kB
Release files / bai_cli-0.1.0.tar.gz
| Download URL | bai_cli-0.1.0.tar.gz |
|---|---|
| Size | 13.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4463f70002e0be83f9aedcf0046341ad0cc14cdd0feb373975a56c6b6f846c3a
|
|
BLAKE2b-256 checksum How to use checksums |
c01eea2aa886a78d88facd6933e9f9a6882720af76c319fca9cff6044f90a153
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / bai_cli-0.1.0-py3-none-any.whl
| Download URL | bai_cli-0.1.0-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
efbe4af4baea341041c80443deb987b73ad1a5633575b9a4d48134dc803acbc3
|
|
BLAKE2b-256 checksum How to use checksums |
ab04efab2a2b9fda30572d6272836f93b674f0e0851e9d68a5e8cd50714effcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Security for bai-cli 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.