Skip to content

EndlessRay/artha-a2a

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Artha — Financial Intelligence by DNAi Systems

AI financial analysis agent via the A2A protocol. SEC filings, company fundamentals, economic indicators, market data. Named after the Sanskrit concept of wealth and purpose — one of the four aims of human life.

Backed by ~17M finance and economics vectors (SEC EDGAR XBRL, company fundamentals, treasury yields, finance/economics literature) drawn from the Citadel corpus.

Agent Card

https://api.askasha.org/.well-known/agent-card.json?agent_id=artha

A copy is included in this repo at agent-card.json.

Skills

ID Skill Description
company-analysis Company Analysis Fundamentals, segments, capital allocation, comparative analysis
sec-filing-search SEC Filing Search Full-text search and XBRL extraction across EDGAR (10-K, 10-Q, 8-K, proxy)
financial-metrics Financial Metrics P/E, EV/EBITDA, DCF, Altman-Z, comparative valuation
market-research Market Research Sector analysis, economic indicators (GDP, CPI, yields), macro trends

Quick Start

# 1. Get a free API key
curl -X POST https://api.askasha.org/api/a2a/signup \
  -H "Content-Type: application/json" \
  -d '{"email":"you@example.com","name":"Your Name","tier":"free"}'

# 2. Send a query
curl -X POST https://api.askasha.org/a2a/v1/message:send \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"message":{"role":"user","parts":[{"text":"What is a P/E ratio and how is it used?"}]},"metadata":{"agent_id":"artha"}}'

Connect to Google Gemini Enterprise

Artha registers as a "Custom agent via A2A" inside any Google Gemini Enterprise app. Paste this repo's agent-card.json into Gemini Enterprise → your app → Agents → Add Agents → Custom agent via A2A and click through. The card carries both the A2A v1.0 supportedInterfaces[] shape AND top-level url / protocolVersion / iconUrl / documentationUrl for maximum parser compatibility. Full step-by-step in asha-a2a → Connect to Google Gemini Enterprise.

A2A Surface

Bearer-auth A2A v1.0 endpoints, identical across all DNAi agents — only the agent_id changes:

Endpoint Purpose
POST /a2a/v1/message:send Send a query, receive a Task
GET /a2a/v1/tasks/{id} Poll task state and fetch artifacts
GET /a2a/v1/tasks List recent tasks (scoped to caller)
POST /a2a/v1/tasks/{id}:cancel Cancel an in-flight task
GET /a2a/v1/health Health probe
POST /api/a2a/upgrade / GET /api/a2a/portal Stripe upgrade and self-service billing
POST /api/a2a/rotate-key Rotate your API key

Pricing

Tier Monthly Daily / Monthly Cap
Free $0 10 / 50
Developer $49 200 / 1,000
Pro $199 2,000 / 10,000
Enterprise Custom Unlimited

Part of 11 public agents at DNAi Systems. Fleet discovery. MIT license (interface only — engine, knowledge collections, and architecture are proprietary).

About

Artha — Financial Intelligence AI Agent (A2A Protocol)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors