Skip to main content

AI Agent toolkit for OpenKitx403 Solana wallet authentication

Project description

openkitx403-agent

AI Agent toolkit for OpenKitx403 Solana wallet authentication.

Installation

pip install openkitx403-agent

With LangChain support pip install openkitx403-agent[langchain]

Usage

Standalone Agent

from solders.keypair import Keypair from openkitx403_agent import OpenKit403Agent, AgentExecuteOptions

keypair = Keypair() agent = OpenKit403Agent(keypair, auto_connect=True)

result = await agent.execute( AgentExecuteOptions(resource="https://api.example.com/protected") ) print(result)

LangChain Integration

from solders.keypair import Keypair from openkitx403_agent import SolanaWalletAuthTool from langchain.agents import initialize_agent, AgentType from langchain.llms import OpenAI

keypair = Keypair() tools = [SolanaWalletAuthTool(keypair)] llm = OpenAI(temperature=0)

agent = initialize_agent(tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION) result = agent.run("Connect wallet and fetch profile from https://api.example.com/profile")

API

See full documentation.

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

openkitx403_agent-1.0.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

openkitx403_agent-1.0.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file openkitx403_agent-1.0.0.tar.gz.

File metadata

  • Download URL: openkitx403_agent-1.0.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.6 Windows/11

File hashes

Hashes for openkitx403_agent-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d7918ea2a4652f1ff7fe52270738a8e57e066ec3dd3357430a008fc497de4d2a
MD5 6a691e6bab52b4309272b01b06dbfc26
BLAKE2b-256 e2e57a65b4d0a6fe7c24840c0ace107cc6e4b33b7b332328ec152097c84301f2

See more details on using hashes here.

File details

Details for the file openkitx403_agent-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: openkitx403_agent-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.6 Windows/11

File hashes

Hashes for openkitx403_agent-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3348aa4752d4203f4ccbc6e117d5020c7e316186808fddf5b4c6c554d79cbae
MD5 9d275ddebe6be837c0a92a1c6ef7f432
BLAKE2b-256 fff26801ba1a3639b101452977170094761663f2ffbcf8c05e9a847eb6b13de4

See more details on using hashes here.

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