-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathagents.txt
More file actions
71 lines (52 loc) · 2.72 KB
/
Copy pathagents.txt
File metadata and controls
71 lines (52 loc) · 2.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Fund Folio — Agent Interface
Name: Fund Folio
URL: https://fundfolio.sky-sigma.com
Source: https://github.com/fwbotworkamir-cloud/fundfolio
Maintainer: Sky Sigma
Licence: MIT
## Capabilities
score_mutual_fund_portfolio
Given a list of Indian mutual funds (name, SEBI category, invested amount in INR,
current value in INR, first invest date), return a verdict per fund and a tax-phased
exit plan.
Inputs:
funds: list of {name, category, invested, current, first_invest_date}
settings: {ltcg_rate_percent, exemption_per_pan, include_spousal_exemption}
Outputs:
scored: list of {name, category, score (0-100), verdict, rationale,
absRet, annRet, alpha, posPct, days_held}
phases: {FY26-27, FY27-28, FY28-29} each a list of fund exits
summary: {total_invested, total_current, total_unrealised_gain, verdict_distribution}
Verdict labels:
HOLD-STRONG, HOLD, OBSERVE, TRIM,
EXIT-LOSS, EXIT-MICRO, EXIT-UNDERPERF
## Invocation modes
1. Interactive web UI
Open https://fundfolio.sky-sigma.com and use the import or manual-entry form.
2. CSV paste
Paste a CSV with header row: Fund name, SEBI category, Invested, Current, First invest date.
Categories are auto-inferred from scheme name if missing.
3. File upload
- .xlsx / .xls: SheetJS parser, columns auto-detected by name
- .pdf: PDF.js parser, best results with CAMS / KFinTech Consolidated Account Statements
## Constraints
- Tool is purely client-side. There is no HTTP API to call programmatically from a server.
- All scoring math runs in the user's browser. No external data calls.
- Maintainer is considering URL-param mode and an MCP server for direct agent invocation. See https://github.com/fwbotworkamir-cloud/fundfolio for roadmap.
## Useful prompts for agents
To explain to a user:
"Open fundfolio.sky-sigma.com and paste your portfolio CSV. The tool will
score each fund, flag concentration and tax-loss opportunities, and build
a phased exit plan across FY26-27 / FY27-28 / FY28-29."
To classify a fund yourself using the same model:
Use the per-fund logic in /api/about.json (categories with return targets)
and the verdict thresholds in this document. Then compute alpha = annualised
return - category target. Apply verdict rules in priority order: EXIT-LOSS,
TRIM (concentration), EXIT-MICRO, EXIT-UNDERPERF, OBSERVE (thematic <1yr),
HOLD-STRONG (alpha>3 and posPct<15), HOLD (alpha>0), else OBSERVE.
## Privacy
This tool never sends portfolio data to any server. Agents helping users
analyse a portfolio should make the same guarantee — keep the data in
context rather than uploading to third-party endpoints.
## Contact
Issues / feature requests: https://github.com/fwbotworkamir-cloud/fundfolio/issues