Skip to main content

Sven

Sven is the CLI client for ActiveAgent, providing a command-line interface for interacting with the ActiveAgent server.

Installation

pip install sven

Usage

# Basic usage
aa --help

# Connect to a server
aa connect --url http://localhost:8000

# Run an agent
aa agent run --name my-agent

# List available tools
aa tools list

Development

Setup

# Clone the repository
git clone https://git.swedishembedded.com/core/platform/sven.git
cd sven

# Create a virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

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

# Install pre-commit hooks
pre-commit install

Testing

pytest

Linting

# Run all linters
pre-commit run --all-files

# Run individual linters
black .
isort .
mypy .
ruff .

CI/CD Pipeline

This project uses GitLab CI/CD for automated testing, building, and deployment. The pipeline includes:

  • Lint: Code quality checks with black, isort, ruff, and mypy
  • Test: Unit and integration tests with pytest
  • Build: Package building with setuptools
  • Publish: Publishing to PyPI (on tags) and TestPyPI (on main branch)

Releasing

We use semantic versioning for this project. To create a new release:

  1. Update the CHANGELOG.md with your changes
  2. Use bump2version to increment the version:
    # For a patch release (0.1.0 -> 0.1.1)
    bump2version patch
    
    # For a minor release (0.1.0 -> 0.2.0)
    bump2version minor
    
    # For a major release (0.1.0 -> 1.0.0)
    bump2version major
    
  3. Push the new tag to trigger the release pipeline:
    git push --tags
    

Contributing

Please see CONTRIBUTING.md for details on how to contribute to this project.

License

MIT

Metadata

Release files for agent-sven 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for agent-sven 0.1.0
File Interpreter ABI Platform
agent_sven-0.1.0-py3-none-any.whl Python 3 none any Details

Release files / agent_sven-0.1.0-py3-none-any.whl

Download URL agent_sven-0.1.0-py3-none-any.whl
Size 35.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49cc7b700cbd1228fa5af8e2967b32386589a1c0908528d8d00a16ed96d1b8ee
BLAKE2b-256 checksum
How to use checksums
051b809ca4959ac93e09feefd233535508558e27b3eba9594340324c4c81e835
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Security for agent-sven 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page