Skip to main content

Agent

一个简单的Agent查询库。

安装

pip install agent

使用方法

from agent import Agent

# 初始化agent
agent = Agent(api_key="your-api-key", agent_id="optional-agent-id", agent_name="optional-agent-name")

# 发送查询
response = agent.query("你的查询内容")

参数说明

  • api_key: 必需,用于认证的API密钥
  • agent_id: 可选,agent的唯一标识符
  • agent_name: 可选,agent的名称

许可证

MIT

Release files for alpha-agent 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alpha-agent 0.1.0
File Size Uploaded
alpha_agent-0.1.0.tar.gz 1.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for alpha-agent 0.1.0
File Interpreter ABI Platform
alpha_agent-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.0 kB

Release files / alpha_agent-0.1.0.tar.gz

Download URL alpha_agent-0.1.0.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
80da670cc6c7a702f2d15325d73dcbddc2a8b3562ca538701f603affb8539cd5
BLAKE2b-256 checksum
How to use checksums
1bfe377dd6ac4774b45999fcbbd871343b640323f74ee750e7a136de4b093282
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.0rc2

Release files / alpha_agent-0.1.0-py3-none-any.whl

Download URL alpha_agent-0.1.0-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82c919ba425d6ad9c19a87cfce296dea336f49add4052665dc8aebf7e85eff02
BLAKE2b-256 checksum
How to use checksums
ab84af5e8c39034bd3eb41098ae8f4eb16c8db8a056c22cd214708624326866f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.0rc2

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page