Skip to main content

AgentFlow

Git-like workflow management for AI agents.

Overview

AgentFlow is a workflow management system designed to help AI agents track and manage their work sessions in a structured, version-controlled manner similar to how Git manages code.

Features

  • Workspace Management - Organize work into isolated workspaces for different projects
  • Session Tracking - Track work sessions with start/end times and status
  • Action Logging - Log detailed actions during active sessions
  • Commit System - Create commits to summarize completed work with parent-child relationships
  • Multiple Databases - Support for PostgreSQL and SQLite

Installation

pip install agentflow-cli

Or using uv:

uv pip install agentflow-cli

Quick Start

1. Initialize

Interactive setup:

agentflow init

Or with a direct database URL:

agentflow init --db-url "postgresql://user:pass@localhost/agentflow"

For SQLite:

agentflow init --db-url "sqlite:///agentflow.db"

2. Create a Workspace

agentflow workspace create my-project
agentflow workspace switch my-project

3. Start a Session

agentflow session start "Implement user authentication"

4. Log Actions

agentflow session log "Created User model"
agentflow session log "Added login endpoint"

5. Check Status

agentflow session status

Commands

Configuration

  • agentflow init - Initialize configuration
  • agentflow config show - Show current configuration
  • agentflow config test - Test database connection

Workspace

  • agentflow workspace create <name> - Create a new workspace
  • agentflow workspace list - List all workspaces
  • agentflow workspace switch <name> - Switch to a workspace
  • agentflow workspace current - Show current workspace

Session

  • agentflow session start <task> - Start a new session
  • agentflow session status - Show current session status
  • agentflow session abort - Abort the current session
  • agentflow session log <action> - Log an action to the current session

Requirements

  • Python >= 3.14
  • PostgreSQL or SQLite

Development

Install development dependencies:

uv pip install -e ".[dev]"

Run tests:

uv run pytest

Lint:

uv run ruff check

Type check:

uv run mypy

License

MIT

Download files

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

Source Distribution

agentflow_cli-0.1.0.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

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

agentflow_cli-0.1.0-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for agentflow_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 373dae580260d77d93729c2464839573614e988463906aa601a6d2abef426813
MD5 4d7d9ea02356d055ab94cb9b5386b645
BLAKE2b-256 d7651360c7dacc6ce7c8394a8d20bd4d0616899d34d308845bdb5be61ba970bd

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for agentflow_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e072dc5fd6a8e077054192884e23537da55625118b170db8d04c1c46a8977035
MD5 5249bc31a147da0c0ede83f14b7dfa1d
BLAKE2b-256 795c0d69c5ba5d05f2a0c7bdc7795f61eb0d08f00cab6575e5d0b2cd525b7f12

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

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