Skip to main content

CrewAI tools for the OptionsAhoy equity-compensation calculators.

Project description

crewai-optionsahoy

CrewAI tools for the OptionsAhoy equity-compensation calculators. Each tool is a crewai.tools.BaseTool with a pydantic args_schema mirroring an OptionsAhoy REST endpoint, built on top of the keyless optionsahoy client. No application programming interface (API) key is required.

Covered calculators: incentive stock option (ISO) / alternative minimum tax (AMT) optimizer, non-qualified stock options (NSO), restricted stock units (RSU) sell-versus-hold, single-stock concentration, protective put hedge pricing, qualified small business stock (QSBS), and funding a cash goal from equity.

Install

From this repository, install both packages editable:

pip install -e integrations/python/optionsahoy
pip install -e integrations/python/crewai-optionsahoy

Usage

from crewai import Agent
from crewai_optionsahoy import get_optionsahoy_tools

tools = get_optionsahoy_tools()  # one BaseTool per endpoint

# Hand to a CrewAI agent:
#   agent = Agent(role="Equity advisor", goal="...", backstory="...", tools=tools)
# or run a tool directly:
qsbs = next(t for t in tools if t.name == "optionsahoy_qsbs_check")
result = qsbs.run(
    acquisitionDate="2018-01-01",
    saleDate="2026-02-01",
    entityType="us-c-corp",
    acquisitionMethod="original-issuance",
    assetCategory="under-50m",
    industry="tech-software",
    activeBusiness="yes",
    adjustedBasis=10000,
    expectedGain=2000000,
    stateCode="CA",
    ordinaryIncome=250000,
    filingStatus="single",
)
print(result)

Pass your own configured client with get_optionsahoy_tools(client=OptionsAhoyClient(...)).

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

crewai_optionsahoy-0.1.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

crewai_optionsahoy-0.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crewai_optionsahoy-0.1.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for crewai_optionsahoy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4122248ca921984d43278ea6f5dce321899bc672de8722574c03c2972fa407a2
MD5 4afda88969215fe28148a12a3dc983df
BLAKE2b-256 8947d18e5df8950345f07282b1b7d7f502ea48739298ac0a31f125506af6a951

See more details on using hashes here.

Provenance

The following attestation bundles were made for crewai_optionsahoy-0.1.0.tar.gz:

Publisher: publish-python.yml on AlvisoOculus/optionsahoy-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for crewai_optionsahoy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ad93579f16419a40fa0582c0a486c7705d64d66800ba0481202437e115f6de3
MD5 75f28d6af1caf00b7151c2ad9f052b1d
BLAKE2b-256 c80c9e3404ebca03f17966c73800b3926dc01e5cc04783b9c1cc506ab9cd993b

See more details on using hashes here.

Provenance

The following attestation bundles were made for crewai_optionsahoy-0.1.0-py3-none-any.whl:

Publisher: publish-python.yml on AlvisoOculus/optionsahoy-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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