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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4122248ca921984d43278ea6f5dce321899bc672de8722574c03c2972fa407a2
|
|
| MD5 |
4afda88969215fe28148a12a3dc983df
|
|
| BLAKE2b-256 |
8947d18e5df8950345f07282b1b7d7f502ea48739298ac0a31f125506af6a951
|
Provenance
The following attestation bundles were made for crewai_optionsahoy-0.1.0.tar.gz:
Publisher:
publish-python.yml on AlvisoOculus/optionsahoy-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
crewai_optionsahoy-0.1.0.tar.gz -
Subject digest:
4122248ca921984d43278ea6f5dce321899bc672de8722574c03c2972fa407a2 - Sigstore transparency entry: 1810483600
- Sigstore integration time:
-
Permalink:
AlvisoOculus/optionsahoy-mcp@5d33e5ffd9853a9111cafebd3171b34bf7a88d51 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/AlvisoOculus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@5d33e5ffd9853a9111cafebd3171b34bf7a88d51 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file crewai_optionsahoy-0.1.0-py3-none-any.whl.
File metadata
- Download URL: crewai_optionsahoy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ad93579f16419a40fa0582c0a486c7705d64d66800ba0481202437e115f6de3
|
|
| MD5 |
75f28d6af1caf00b7151c2ad9f052b1d
|
|
| BLAKE2b-256 |
c80c9e3404ebca03f17966c73800b3926dc01e5cc04783b9c1cc506ab9cd993b
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
crewai_optionsahoy-0.1.0-py3-none-any.whl -
Subject digest:
8ad93579f16419a40fa0582c0a486c7705d64d66800ba0481202437e115f6de3 - Sigstore transparency entry: 1810483602
- Sigstore integration time:
-
Permalink:
AlvisoOculus/optionsahoy-mcp@5d33e5ffd9853a9111cafebd3171b34bf7a88d51 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/AlvisoOculus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@5d33e5ffd9853a9111cafebd3171b34bf7a88d51 -
Trigger Event:
workflow_dispatch
-
Statement type: