alpha-agent


Namealpha-agent JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/xray918/alpha-agent
SummaryA simple agent library for query operations
upload_time2024-12-30 03:02:50
maintainerNone
docs_urlNone
authorRay
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Agent

一个简单的Agent查询库。

## 安装

```bash
pip install agent
```

## 使用方法

```python
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 

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/xray918/alpha-agent",
    "name": "alpha-agent",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Ray",
    "author_email": "xie.xinfa@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/1b/fe/377dd6ac4774b45999fcbbd871343b640323f74ee750e7a136de4b093282/alpha_agent-0.1.0.tar.gz",
    "platform": null,
    "description": "# Agent\n\n\u4e00\u4e2a\u7b80\u5355\u7684Agent\u67e5\u8be2\u5e93\u3002\n\n## \u5b89\u88c5\n\n```bash\npip install agent\n```\n\n## \u4f7f\u7528\u65b9\u6cd5\n\n```python\nfrom agent import Agent\n\n# \u521d\u59cb\u5316agent\nagent = Agent(api_key=\"your-api-key\", agent_id=\"optional-agent-id\", agent_name=\"optional-agent-name\")\n\n# \u53d1\u9001\u67e5\u8be2\nresponse = agent.query(\"\u4f60\u7684\u67e5\u8be2\u5185\u5bb9\")\n```\n\n## \u53c2\u6570\u8bf4\u660e\n\n- `api_key`: \u5fc5\u9700\uff0c\u7528\u4e8e\u8ba4\u8bc1\u7684API\u5bc6\u94a5\n- `agent_id`: \u53ef\u9009\uff0cagent\u7684\u552f\u4e00\u6807\u8bc6\u7b26\n- `agent_name`: \u53ef\u9009\uff0cagent\u7684\u540d\u79f0\n\n## \u8bb8\u53ef\u8bc1\n\nMIT \n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A simple agent library for query operations",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/xray918/alpha-agent"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ab84af5e8c39034bd3eb41098ae8f4eb16c8db8a056c22cd214708624326866f",
                "md5": "096f34f60b07691b60d0b39969a45d04",
                "sha256": "82c919ba425d6ad9c19a87cfce296dea336f49add4052665dc8aebf7e85eff02"
            },
            "downloads": -1,
            "filename": "alpha_agent-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "096f34f60b07691b60d0b39969a45d04",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 2118,
            "upload_time": "2024-12-30T03:02:03",
            "upload_time_iso_8601": "2024-12-30T03:02:03.421764Z",
            "url": "https://files.pythonhosted.org/packages/ab/84/af5e8c39034bd3eb41098ae8f4eb16c8db8a056c22cd214708624326866f/alpha_agent-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1bfe377dd6ac4774b45999fcbbd871343b640323f74ee750e7a136de4b093282",
                "md5": "45d055b401f21d2ed83a7b37e8ede319",
                "sha256": "80da670cc6c7a702f2d15325d73dcbddc2a8b3562ca538701f603affb8539cd5"
            },
            "downloads": -1,
            "filename": "alpha_agent-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "45d055b401f21d2ed83a7b37e8ede319",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 1927,
            "upload_time": "2024-12-30T03:02:50",
            "upload_time_iso_8601": "2024-12-30T03:02:50.118223Z",
            "url": "https://files.pythonhosted.org/packages/1b/fe/377dd6ac4774b45999fcbbd871343b640323f74ee750e7a136de4b093282/alpha_agent-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-30 03:02:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "xray918",
    "github_project": "alpha-agent",
    "github_not_found": true,
    "lcname": "alpha-agent"
}
        
Ray
Elapsed time: 0.38797s