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.
Release files for openkitx403-agent 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openkitx403_agent-1.0.0.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openkitx403_agent-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / openkitx403_agent-1.0.0.tar.gz
| Download URL | openkitx403_agent-1.0.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7918ea2a4652f1ff7fe52270738a8e57e066ec3dd3357430a008fc497de4d2a
|
|
BLAKE2b-256 checksum How to use checksums |
e2e57a65b4d0a6fe7c24840c0ace107cc6e4b33b7b332328ec152097c84301f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.6 Windows/11
|
Release files / openkitx403_agent-1.0.0-py3-none-any.whl
| Download URL | openkitx403_agent-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3348aa4752d4203f4ccbc6e117d5020c7e316186808fddf5b4c6c554d79cbae
|
|
BLAKE2b-256 checksum How to use checksums |
fff26801ba1a3639b101452977170094761663f2ffbcf8c05e9a847eb6b13de4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.6 Windows/11
|