Skip to content

feat(py): hyperbolic action provider - #531

Merged
stat merged 3 commits into
mainfrom
hyperbolic-action-provider
Mar 14, 2025
Merged

feat(py): hyperbolic action provider#531
stat merged 3 commits into
mainfrom
hyperbolic-action-provider

Conversation

@stat

@stat stat commented Mar 7, 2025

Copy link
Copy Markdown
Contributor

Description

added action providers for hyperbolic and ssh

Hyperbolic

ai

  • generate_text

    • Generate text using AI models
    • Can specify model and prompts
    • Powers conversational AI features
    • Optional system prompt to guide behavior
  • generate_image

    • Generate images using AI models
    • Configurable image dimensions and quality settings
    • Supports negative prompts
    • Multiple images per request
  • generate_audio

    • Generate text-to-speech audio
    • Multiple language and speaker options
    • Adjustable speaking speed

marketplace

  • get_available_gpus

    • lists GPUs available for use
    • shows pricing information
  • get_available_gpus_by_type

    • filters available GPUs by specific model
  • get_available_gpus_types

    • shows all GPU models currently available
  • get_gpu_status

    • shows current usage and availability
  • rent_compute

    • specify cluster, node, and GPU count
    • returns instance information
  • terminate_compute

    • terminate a rented GPU compute instance
    • release GPU resources no longer needed

billing

  • get_current_balance

    • shows available funds
  • get_purchase_history

    • lists previous purchases
    • shows transaction details
  • get_spend_history

    • lists transactions by service
    • shows where funds have been spent

settings

  • link_wallet_address
    • link a wallet address to your account
    • enables crypto funding of account
    • supports ETH-compatible addresses

SSH

  • ssh_connect

    • establish an ssh connection to a remote server
    • supports password and key-based authentication
    • generates a connection id for future operations if not provided
    • optional known_hosts_file parameter for custom host verification
  • remote_shell

    • execute shell commands on the remote server
    • uses an established connection
    • returns command output
    • configurable timeout and stderr handling
  • ssh_disconnect

    • close an ssh connection
    • frees up resources
  • ssh_status

    • check the status of an ssh connection
    • shows connection details
  • list_connections

    • list all active ssh connections
    • shows connection details for all active connections
  • ssh_upload

    • upload a file to the remote server via sftp
    • requires full local and remote paths
  • ssh_download

    • download a file from the remote server via sftp
    • requires full local and remote paths
  • ssh_add_host_key

    • add a host key to the known hosts file
    • useful for host verification
    • supports various key types (ssh-rsa, ssh-ed25519, etc.)
    • configurable known_hosts file path

Tests

[x] agent tests
[x] unit tests

Checklist

A couple of things to include in your PR for completeness:

  • Added documentation to all relevant README.md files
  • Added a changelog entry

@cb-heimdall

cb-heimdall commented Mar 7, 2025

Copy link
Copy Markdown

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@github-actions github-actions Bot added action provider New action provider example New example agent python needs triage labels Mar 7, 2025
@stat
stat force-pushed the hyperbolic-action-provider branch 2 times, most recently from f999b40 to aee5b2c Compare March 7, 2025 12:50
@0xRAG 0xRAG removed the needs triage label Mar 7, 2025
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Mar 10, 2025
@stat
stat force-pushed the hyperbolic-action-provider branch from 9a23fd2 to 808fc20 Compare March 10, 2025 09:36
@github-actions github-actions Bot removed the example New example agent label Mar 10, 2025
@stat
stat force-pushed the hyperbolic-action-provider branch 2 times, most recently from f035f73 to f8a53f0 Compare March 10, 2025 09:57
@github-actions github-actions Bot added the example New example agent label Mar 11, 2025
@stat
stat force-pushed the hyperbolic-action-provider branch from 10dbbaa to 1596bd9 Compare March 12, 2025 07:53
@github-actions github-actions Bot removed the example New example agent label Mar 12, 2025
Comment thread python/coinbase-agentkit/coinbase_agentkit/__init__.py Outdated
Comment thread python/coinbase-agentkit/coinbase_agentkit/action_providers/__init__.py Outdated
@stat
stat force-pushed the hyperbolic-action-provider branch from 6956a7a to 2c659c3 Compare March 13, 2025 19:00
@github-actions github-actions Bot added the example New example agent label Mar 13, 2025
@stat
stat marked this pull request as ready for review March 13, 2025 19:14
@stat
stat requested a review from murrlincoln as a code owner March 13, 2025 19:14
@stat
stat requested review from 0xRAG and CarsonRoscoe March 13, 2025 19:14

@CarsonRoscoe CarsonRoscoe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a PR description

@stat
stat requested a review from CarsonRoscoe March 14, 2025 06:50
CarsonRoscoe
CarsonRoscoe previously approved these changes Mar 14, 2025

@CarsonRoscoe CarsonRoscoe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cb-heimdall
cb-heimdall dismissed CarsonRoscoe’s stale review March 14, 2025 16:46

Approved review 2686164148 from CarsonRoscoe is now dismissed due to new commit. Re-request for approval.

@stat stat closed this Mar 14, 2025
@stat
stat force-pushed the hyperbolic-action-provider branch from 8a90abf to 1d93678 Compare March 14, 2025 16:49
@stat stat reopened this Mar 14, 2025
@stat
stat force-pushed the hyperbolic-action-provider branch from e024a59 to 02d08d5 Compare March 14, 2025 17:23
@stat
stat force-pushed the hyperbolic-action-provider branch from 02d08d5 to 5d282ce Compare March 14, 2025 17:26
@github-actions github-actions Bot removed the example New example agent label Mar 14, 2025
@stat
stat force-pushed the hyperbolic-action-provider branch from 5d282ce to f14319d Compare March 14, 2025 17:32
@stat
stat force-pushed the hyperbolic-action-provider branch from f14319d to 96c251b Compare March 14, 2025 17:36
@stat
stat requested a review from CarsonRoscoe March 14, 2025 17:39

@CarsonRoscoe CarsonRoscoe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@stat
stat merged commit 40076fd into main Mar 14, 2025
@stat
stat deleted the hyperbolic-action-provider branch March 14, 2025 17:59
chenciao8 added a commit to TradeOnDESK/agentkit that referenced this pull request Mar 19, 2025
* feat: GHA Publish coinbase-agentkit-openai-agents-sdk to PyPI (coinbase#551)

* feat: python openai agents sdk support (coinbase#550)

* feat: initial commit

* chore: unit tests

* chore: updated readmes

* chore: updated to live openai-agents package

* fix: fix params schema to conform to openai requirements

* chore: updated README in /python

* chore: generated changelog changes (coinbase#552)

* chore: add next-template to workspaces (coinbase#544)

* chore: add next-template to workspaces

* chore: fix lint in next template

* chore: generated changeset

* chore: reverted img change

---------

Co-authored-by: CarsonRoscoe <carsonroscoe7@gmail.com>

* chore: python bump cdp sdk version (coinbase#554)

* chore: bump cdp-sdk version from 0.19.0 to 0.21.0 in python

* chore: generated changelog

* chore: generate changelog changes & bump coinbase-agentkit version

* Update README.md (coinbase#555)

* feat: model context protocol example (coinbase#546)

* feat: initial commit

* feat: working claude example

* chore: removed wallet read/writes

* chore: updated README

* chore: added examples to parent READMEs

* chore: format/lint

* chore: added build to ignore

* fix: package dependencies

* chore: change build folder to dist

* chore: package-lock

* chore: fixed package-lock.json

* chore: removed dotenv dependency

* chore: removed moduleResolution from tsconfig

* fix: package-lock

* pr feedback

* chore: lint format

* fix: package-lock

* fix: claud config arg for server location

* feat: pr feedback

* feat: npm cli - multi framework + Vercel AI SDK (coinbase#548)

* feat: initial commit

* fix: handleNextSelection call

* chore: format and lint

* chore: updated comments

* chore: changelog

* chore: updated readmes

* chore: added todo and removed MCP from Framework list for now

* chore: removed references to mcpServer and MCP. Will readd in its own PR

* chore: updated package-lock

* chore: removed missed mcpServer reference

* chore: lint

* chore: infer types from constants (coinbase#559)

* feat(python): add allora network price inference (coinbase#110)

* fix typo: OpenSeas to OpenSea (coinbase#564)

* fix typo (coinbase#563)

* feat: pipx cli - multi framework support + OpenAI Agents + Beginner template (coinbase#557)

* chore: refactored chatbot into prepare_agent, create_agent and chatbot

* feat: added openai agents sdk

* chore: pyproject.toml dependencies depends on framework selected

* fix: openai agents sdk dependencies

* feat: added paymaster comment to smart wallet scenario

* feat: added introduction template

* feat: cleaned up beginner template

* feat: changed --mode=beginnner arg to --beginner flag

* feat: improved wallet persistance and beginner flag

* chore: changelog

* chore: updated README

* chore: lint

* chore: updated beginner README

* feat(ts): defillama action provider (coinbase#513)

* feat(ts): defillama action provider (coinbase#316)

* feat(ts): defillama action provider refinements (coinbase#513)

---------

Co-authored-by: bilgin-kocak <kocakbilgin@gmail.com>

* chore: rm changelog workflow (coinbase#570)

* chore: add mcp template (coinbase#568)

* fix: readded missing .env.local file (coinbase#567)

* feat(py): hyperbolic action provider (coinbase#531)

* feat(py): hyperbolic action provider (coinbase#154)

* feat(py): hyperbolic action provider 0.1.0 migration (coinbase#509)

* feat(py): hyperbolic action provider refinements (coinbase#531)

---------

Co-authored-by: Kai Huang <kaihuang724@gmail.com>
Co-authored-by: Amr Elhady <theamrelhady@gmail.com>

* chore: fix nightly (coinbase#571)

* feat(create-onchain-agent): add mcp to typescript cli (coinbase#569)

* fix: Morpho Deposit Atomic Unit Conversion (coinbase#573)

* fix: Morpho Deposit Atomic Unit Conversion

* changesets

* chore: rm allora-sdk from example deps (coinbase#574)

* chore: added readme tip to surpress warning (coinbase#575)

* chore: added readme tip to surpress warning

* chore: added tip to agents example readme

* chore: version typescript packages (coinbase#576)

* chore: version python packages (coinbase#577)

* New SVGs in readme (coinbase#578)

* Add files via upload

* Add files via upload

* Update README.md

* Update README.md

* Update defillama.svg

* chore: add changesets action to automate version and publish (coinbase#582)

* feat: added gasless transfers for USDC/CBBTC on Base/Base-Sepolia (coinbase#584)

* docs: update broken links (coinbase#586)

---------

Co-authored-by: John Peterson <98187317+John-peterson-coinbase@users.noreply.github.com>
Co-authored-by: Carson Roscoe <CarsonRoscoe7@gmail.com>
Co-authored-by: Ryan Gilbert <ryangilbert7926@gmail.com>
Co-authored-by: Olexandr88 <radole1203@gmail.com>
Co-authored-by: fernandofcampos <fernandofcampos@gmail.com>
Co-authored-by: Oğuzhan Oğuz <46710637+ozzy35410@users.noreply.github.com>
Co-authored-by: Chris Gerber <csgerber@gmail.com>
Co-authored-by: bilgin-kocak <kocakbilgin@gmail.com>
Co-authored-by: Kai Huang <kaihuang724@gmail.com>
Co-authored-by: Amr Elhady <theamrelhady@gmail.com>
Co-authored-by: murrlincoln <65836530+murrlincoln@users.noreply.github.com>
Co-authored-by: Cypher Pepe <125112044+cypherpepe@users.noreply.github.com>
EdsonAlcala pushed a commit to EdsonAlcala/agentkit that referenced this pull request Mar 21, 2025
* feat(py): hyperbolic action provider (coinbase#154)

* feat(py): hyperbolic action provider 0.1.0 migration (coinbase#509)

* feat(py): hyperbolic action provider refinements (coinbase#531)

---------

Co-authored-by: Kai Huang <kaihuang724@gmail.com>
Co-authored-by: Amr Elhady <theamrelhady@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action provider New action provider documentation Improvements or additions to documentation python

Development

Successfully merging this pull request may close these issues.

7 participants