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

Install as a standalone CLI with uv:

uv tool install agent-archive

Or with pip:

pip install agent-archive

For development (from a local clone):

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.1.tar.gz (13.3 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.1-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_archive-0.1.1.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agent_archive-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e8d54127cb75a8812d402114ad1a0ae268887f589d5cc9597c09c5403190b22f
MD5 724a663cd745057594c7cb9898db60fa
BLAKE2b-256 d263a2d24e11852a0cc0f3c4a292fafb153b234370640ec608fc499251668727

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_archive-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agent_archive-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0f05e9af978103d10747ec31f8bebd9e4687d76e184a6123508085059985194
MD5 433bae9774c4d7074b245c8b15faf10f
BLAKE2b-256 6d4176e7d8d2172ae5ac5de07c24be4ef4459d58b50eced0b720f80881a7a282

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