Skip to main content

Archive and browse agentic coding sessions

Project description

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
        ...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_archive-0.1.0.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_archive-0.1.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file agent_archive-0.1.0.tar.gz.

File metadata

  • Download URL: agent_archive-0.1.0.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for agent_archive-0.1.0.tar.gz
Algorithm Hash digest
SHA256 842bde990a482545d2867be89d2f7d357420f9928051dd980eced4d1f31ab721
MD5 a5d88663bb181364cdfd9a8a44e16722
BLAKE2b-256 055f41dcec61163e9a252beaebdf38a4980275760a6a1f447f3083888aac8f6d

See more details on using hashes here.

File details

Details for the file agent_archive-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: agent_archive-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for agent_archive-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea60b44baf79045be7a07d2d131d2cee1abcb82770988ed3fb7c6a6a13b4c62b
MD5 2fd6099cec660b1f5937a0f4073d8e5d
BLAKE2b-256 c190b26bce6a1ff790857ead8e689074275b4505f21572884e249ee0e64e40da

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page