Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Copy to .env and keep it out of git. Get a free key at https://askasha.org/developers/
ASHA_API_KEY=dnai_a2a_...
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Bug report
description: An example, the CLI, the MCP server or the API does something unexpected.
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Do not paste API keys or any real patient information. Security issues go through **Security → Report a vulnerability** instead.
- type: dropdown
id: surface
attributes:
label: Where
options:
- OpenAI-compatible /v1
- A2A v1.0 (message:send or message:stream)
- asha CLI
- MCP server
- An example in this repository
- Docs or specs
validations:
required: true
- type: input
id: task
attributes:
label: Request or task id
description: The `X-Request-ID` response header or the response `id` on /v1; the task id on A2A. It lets us find the exact request.
- type: textarea
id: steps
attributes:
label: What you ran
description: The smallest command or code that shows the problem.
render: shell
validations:
required: true
- type: textarea
id: expected
attributes:
label: What you expected and what happened
validations:
required: true
- type: input
id: env
attributes:
label: Environment
placeholder: "Python 3.12, openai 1.x, macOS"
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: API docs
url: https://askasha.org/developers/docs/overview
about: Endpoints, limits, safety rules and the BAA.
- name: Is the API up?
url: https://api.askasha.org/a2a/v1/health
about: Live health of the API and the agent fleet.
- name: Account, billing or keys
url: mailto:support@dnai.systems
about: Questions about your plan or your key go to support.
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Feature or integration request
description: A framework example, an API capability or a docs page you need.
labels: ["enhancement"]
body:
- type: textarea
id: need
attributes:
label: What you are building and what is missing
validations:
required: true
- type: textarea
id: shape
attributes:
label: What a good answer looks like
description: The call you would like to make, or the example you would like to copy.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,17 @@ curl -X POST https://api.askasha.org/api/a2a/signup \
-d '{"email": "you@company.com", "name": "Your product", "product": "asha"}'
```

Run every example from a clone:

```bash
git clone https://github.com/DNAiOS/asha && cd asha
python -m venv .venv && . .venv/bin/activate
pip install -r examples/requirements.txt
export ASHA_API_KEY=dnai_a2a_... # or copy .env.example to .env
python examples/python/openai_quickstart.py
python scripts/verify.py # checks the register and the live API; no key needed
```

---

## Four ways in
Expand Down Expand Up @@ -199,6 +210,17 @@ A Base query includes 2,000 input and 2,000 output tokens; above that, $4 per mi

---

## Help

| Need | Where |
|---|---|
| A bug in an example, the CLI, the MCP server or the API | [Open an issue](https://github.com/DNAiOS/asha/issues/new/choose); include the request id, never a key or patient data |
| A security problem | Privately, through **Security → Report a vulnerability** ([policy](SECURITY.md)) |
| Your plan, billing or key | support@dnai.systems |
| Is the API up? | `curl https://api.askasha.org/a2a/v1/health` |

---

## Cite

```bibtex
Expand Down
9 changes: 9 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Security

Report a vulnerability in the Asha API, the `asha` CLI, the MCP server or this repository privately, through GitHub: **Security → Report a vulnerability** on this repository. If you cannot use GitHub, email hello@dnai.systems with "security" in the subject.

Please include the endpoint or file, the steps to reproduce, and any A2A task id. Do not include patient data or real health information in a report.

We acknowledge reports within 3 business days and tell you what we will fix and when. Please give us a reasonable window to fix the issue before you disclose it.

Out of scope: denial-of-service testing, automated scanning that sends high volumes of requests, and social engineering of DNAi staff. Test only against your own key and stay inside its rate limits.
4 changes: 4 additions & 0 deletions examples/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
openai>=1.40
requests>=2.31
langchain-openai>=0.2
litellm>=1.40
Loading