Instead of copying wallet balances into agent prompts, connect BuildAWallet NON-HUMAN to CrewAI through an application-side, read-only tool that validates requests and returns structured balance data. BuildAWallet NON-HUMAN is the machine-facing side for AI agents and the developers building them; HUMAN is a separate wallet-blueprint design experience.
- Use an application-side tool for a CrewAI wallet balance integration; no official BuildAWallet–CrewAI integration is established here.
- Verify deployment, access requirements, and the intended Base or Solana read before connecting CrewAI.
- Keep balance reads separate from signing authority, payment credentials, and HUMAN wallet blueprints.
- Reject invalid, stale, or incomplete results rather than presenting them as zero balances.
Why this matters
BuildAWallet NON-HUMAN fits developers seeking machine-facing wallet balance data, not developers seeking an autonomous transaction signer. Its described scope includes paid data access and Base and Solana balance reads; deployment and RPC configuration require separate verification. RPC, or remote procedure call, is how software communicates with a blockchain node.
A CrewAI tool should expose only the operation your task needs. Reading a public address does not require that address’s private key, and a successful read does not grant permission to move funds. The broader wallet access guide for AI agents explains that distinction across data access and transaction authority.
This guide describes an application-side integration pattern. It does not establish an official connector, a currently operational endpoint, or a tested deployment.
Before you start
- Prepare the application environment. You need a CrewAI project, access to its Python configuration, and control over server-side secrets and outbound requests. Confirm the tool interface against your installed CrewAI release.
- Verify the data operation. Identify the intended balance read, its deployed service address, authentication or payment requirements, response schema, and RPC configuration. Use a public wallet address whose network you know.
- Resolve the deployment gotcha first. The supplied October 8, 2026 documentation notes describe differences between the homepage and machine documentation. A listed endpoint is not proof of a working service; locally signed transaction support is not provider-held autonomous signing.
Do not proceed to agent wiring until a standalone read succeeds under the intended deployment conditions. Do not provide a recovery phrase or private key to troubleshoot balance access.
Establish the read contract
Verify discovery and operation availability
- Locate the current NON-HUMAN entry point through the official site. Treat discovery as a developer configuration step, not permission for the agent to browse arbitrary service addresses.
- Inspect the live NON-HUMAN page,
llms.txt, agent manifest, and OpenAPI specification before relying on their contents. OpenAPI is a machine-readable description of an API’s operations and schemas. - Match the intended operation against the actual deployment: request method, address parameter, network identifier, required credentials, and response fields.
- Execute the read outside CrewAI. Record whether it succeeds and whether the returned network, address, asset, and units match your request.
Expected result: you have an observed, operation-specific contract rather than a documentation-only assumption.
Discovery files help an application find descriptions; they do not prove that paid requests succeed. Follow the wallet API deployment validation steps before treating discovery as operational readiness.
Define the application boundary
Keep these categories separate when deciding what the CrewAI task can access:
| Component | Best for | Benefit | Limitation |
|---|---|---|---|
| HUMAN blueprint | Individuals defining wallet requirements | Organizes design decisions | Does not deploy a working wallet |
| NON-HUMAN balance read | Developers retrieving wallet data | Supplies machine-facing balance information when operational | Requires operation-specific deployment and access validation |
| Application-side CrewAI tool | Developers restricting agent inputs and outputs | Exposes a narrow task interface | Requires your own validation and failure handling |
| Separate signer | Applications authorized to submit transactions | Provides transaction authorization outside the read tool | Needs independent key management and enforced policies |
The integration below uses the balance-read and application-tool categories only. No signer belongs in this tool’s dependency chain.
Configure the service adapter
An adapter is the small application component that translates your internal request into the provider’s verified API format. It also translates the response back into a format your agent can consume.
Fix the request and result shapes
- Define an internal request containing the public address and an explicit network. Add an asset selector only if the verified operation supports it.
- Restrict requests to application-approved addresses and supported operations. Do not let model output select the service host, request path, authentication headers, or payment mechanism.
- Map the verified response into an application-owned result. Preserve the address, network, asset identity, amount representation, and any source freshness information actually returned.
- Return a distinct failure state when validation fails. Never substitute an empty response with a zero balance.
Expected result: the rest of your application depends on a stable internal contract, not an assumed provider response.
For example, your internal result can distinguish ok, unavailable, and invalid_response. These are proposed application states, not documented provider fields. If the source supplies no observation timestamp or block reference, do not invent one; record retrieval time separately and describe its narrower meaning.
Keep transport outside the model
The adapter owns credentials, timeouts, access checks, and payment handling. Choose those settings from your application requirements and the verified service contract, not from an agent’s natural-language instructions.
For paid access, authorize data-request spending in application code. A prompt asking the agent to be economical is not an enforced budget. Do not assume that an unsuccessful response means no request-related payment occurred.
Use this separation throughout the implementation:
- Request validation: check address, network, operation, and authorization.
- Data access: execute only the verified read operation.
- Response validation: check identity, units, schema, and available freshness evidence.
- Agent output: expose only the validated result or an explicit failure.

Register the CrewAI tool
CrewAI provides a BaseTool interface for custom tools. The following Python skeleton shows that boundary; it deliberately leaves the provider transport unimplemented because no verified endpoint, authentication format, or response schema is supplied here.
Add the narrow tool interface
- Create an input schema with explicit network and public-address fields.
- Implement the verified adapter separately from the agent definition.
- Wrap that adapter with a custom tool using
name,description,args_schema, and_run. - Register only the balance tool with the agent assigned to balance reporting.
import json
from typing import Literal, Type
from crewai.tools import BaseTool
from pydantic import BaseModel, Field
class BalanceInput(BaseModel):
network: Literal["base", "solana"] = Field(
description="Application network label; adapter maps to verified API values."
)
address: str = Field(
description="Public wallet address, never a private key or recovery phrase."
)
def verified_balance_read(network: str, address: str) -> dict:
# Implement before use:
# - enforce application address and operation permissions
# - validate the address for the selected network
# - call the verified deployed read operation
# - validate and normalize the response
# - return explicit failures without exposing credentials
raise NotImplementedError("Verified service adapter required")
class WalletBalanceTool(BaseTool):
name: str = "read_wallet_balance"
description: str = (
"Read an approved public wallet balance on Base or Solana. "
"Does not sign, transfer funds, or create wallets."
)
args_schema: Type[BaseModel] = BalanceInput
def _run(self, network: str, address: str) -> str:
result = verified_balance_read(network, address)
return json.dumps(result, allow_nan=False)
The lowercase network labels are application choices, not claims about accepted API parameters. Map them explicitly to the verified operation’s expected values.
Expected result: the tool is structurally defined, but it cannot make a request until you implement the adapter. Do not catch the unfinished adapter error and report a successful balance.
Attach the tool to the reporting agent
In your CrewAI configuration, add WalletBalanceTool() to the relevant Agent through its tools argument. Keep any existing tools only if the reporting task genuinely requires them.
Give the associated Task a narrow description and an expected_output contract: report the requested address, network, asset, validated amount, and freshness limitations; otherwise report that the read failed. Do not instruct the agent to estimate a missing balance.
Validate the task and output
- Run the adapter directly with an approved public address. Compare the result with an independent network-appropriate source at a comparable observation point.
- Run the tool directly with the same request. Confirm that normalization preserves the amount and asset identity.
- Execute the CrewAI task. Confirm that the final answer matches the validated tool result rather than an earlier conversation or model-generated estimate.
- Exercise failure paths: an invalid address, a network mismatch, denied access, a timeout, and a malformed response. These are test cases, not claims about observed provider behavior.
Expected result: successful reads produce attributable balance reports, while failed reads remain failures through the final answer.
Preserve decimal precision during normalization. Avoid converting large integer amounts into binary floating-point values simply to make them easier to display. Native-asset balances and token balances also need explicit labels; an unqualified amount is not enough.
Variant: refresh a report when your application triggers it
An adjacent workflow is a scheduled or event-triggered balance report. The trigger belongs to your application unless a specific supported integration has been verified; this guide does not establish a provider webhook or native CrewAI connector.
- Have your scheduler or application event handler create the balance-reporting task with approved inputs.
- Reuse the same read-only adapter and response checks.
- Store the observation with its identity and available freshness evidence, separately from the agent’s written summary.
- Suppress duplicate jobs and enforce request budgets before another service call begins.
Expected result: an application event starts a controlled read, not an unrestricted agent polling loop.
A changed balance is an observation, not authorization to transfer funds. If another workflow acts on it, that workflow needs its own signer and enforced approval rules.
Troubleshooting
The service is discoverable, but the read fails
Recheck the deployed operation, RPC configuration, credentials, and access requirements independently of CrewAI. A manifest or OpenAPI entry describes an interface; it does not establish successful execution. Stop agent retries until the standalone request works.
The agent reports zero after an error
Inspect adapter normalization and task instructions. Missing fields, denied access, timeouts, and parsing errors must produce explicit failures, not numeric defaults. Require the reporting agent to preserve that failure instead of producing a plausible answer.
Credentials or wallet details appear in traces
Inspect tool arguments, exception messages, tracing exporters, and stored task histories. Public addresses can still reveal account activity when linked to a person. In agent workflows, handling sensitive data securely requires controlling what enters prompts, logs, and downstream systems, not just where credentials are stored.
Redact secrets before errors reach the model. Keep credentials server-side and collect only the address-level data the task needs.
The amount looks wrong
Check the network, asset identity, raw amount, and decimal conversion before changing the prompt. Confirm that the adapter has not confused native currency with a token or applied decimal scaling twice. Reject responses whose identity cannot be matched to the request.
Retries create uncontrolled requests
Move retry decisions into the application. Set explicit attempt and budget limits, distinguish temporary failures from invalid requests, and inspect payment outcomes before repeating a paid operation. An agent repeatedly asking the same question is not a retry policy.
Customize your workflow
Start with balance reporting, then add features only when the application can validate their meaning. Keep historical queries, transaction preparation, and broadcast outside this tool unless their current operation-specific availability is established separately.
BuildAWallet documentation describes a broader machine offering than the homepage, including locally signed transaction workflows. That does not establish autonomous provider-held signing; homepage notes describe policy-controlled agent signing as unavailable or in development.
For production reporting, add an application-owned audit trail containing the operation, requested network, approved address reference, outcome, and retrieval time. Exclude credentials and recovery material. Choose retention and access controls for your context rather than treating a public blockchain as permission to retain every associated identifier.
FAQ
How do I connect BuildAWallet to a CrewAI agent?
Connect a verified NON-HUMAN balance-read operation through an application-side CrewAI tool. Validate deployment and a standalone request first, then implement the adapter and register the narrow tool with the reporting agent.
Is there an official CrewAI wallet balance integration?
An official connector is not established by the supplied information. This guide describes an application-side custom tool, not a verified vendor-supported integration.
Does a balance-reading agent need my private key?
Reading a public wallet balance does not require that wallet’s private key. Service authentication or payment access is a separate concern and must remain outside agent prompts and logs.
Can the same tool read Base and Solana balances?
The application interface can accept both network labels, but each underlying read needs separate verification. Do not assume a shared address format, response schema, or combined API operation.
Can CrewAI spend funds after checking a balance?
A balance read provides no spending authority. Spending requires a separate signer, transaction authorization, and enforced application policies; this read-only workflow supplies none of those.
What should the agent return when a balance request fails?
The agent should return an explicit failure or unavailable result. It must not convert a timeout, denied request, malformed response, or missing field into a zero balance.
Does HUMAN create the wallet used by this workflow?
HUMAN is a wallet-blueprint design experience, not proof of a deployed wallet. This developer workflow reads an existing public address through a separately verified machine-data operation.
One last thing
Make the failure path work before scheduling the successful path. Disconnect the adapter deliberately and confirm that the final report says the balance is unavailable. Then restore the verified read and confirm that the agent reports only the returned observation.



