Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bcefghj/competitive-intelligence-multi-agent
/ functions
Functions
105 in github.com/bcefghj/competitive-intelligence-multi-agent
⨍
Functions
105
◇
Types & classes
70
↳
Endpoints
4
↓ 10 callers
Function
getEnv
(key, fallback string)
go/internal/config/config.go:78
↓ 6 callers
Method
generate
( self, competitor: str, comparison: dict, research: list[dict], )
python/src/agents/battlecard_agent.py:46
↓ 5 callers
Method
Chat
(ctx context.Context, systemPrompt, userMessage string)
go/internal/agents/llm.go:26
↓ 5 callers
Method
Execute
(state *models.PipelineState)
go/internal/agents/alert.go:19
↓ 5 callers
Method
buildLLM
()
java/src/main/java/com/ci/agents/BaseAgent.java:28
↓ 5 callers
Method
execute
(PipelineState state)
java/src/main/java/com/ci/agents/AlertAgent.java:21
↓ 5 callers
Method
parseJson
Utility: strip markdown fences and parse JSON from LLM output.
java/src/main/java/com/ci/agents/BaseAgent.java:39
↓ 5 callers
Method
toStringList
(Object obj)
java/src/main/java/com/ci/agents/BattlecardAgent.java:68
↓ 4 callers
Function
ParseJSONResponse
ParseJSONResponse strips markdown code fences and parses JSON.
go/internal/agents/llm.go:45
↓ 2 callers
Method
Run
()
go/internal/api/server.go:33
↓ 2 callers
Function
min
(a, b int)
go/internal/agents/research.go:57
↓ 2 callers
Function
postJSON
(url string, payload interface{})
go/internal/tools/notification.go:54
↓ 2 callers
Method
run
(String competitor)
java/src/main/java/com/ci/workflow/CIPipeline.java:53
↓ 2 callers
Method
toDouble
(Object obj)
java/src/main/java/com/ci/agents/CompareAgent.java:66
↓ 2 callers
Method
toStringList
(Object obj)
java/src/main/java/com/ci/agents/ResearchAgent.java:60
↓ 2 callers
Function
web_search
Search the web via SerpAPI-compatible endpoint. Returns a list of ``{"title": ..., "link": ..., "snippet": ...}`` dicts. Falls back to a stub
python/src/tools/search_tool.py:15
↓ 1 callers
Method
Broadcast
(title, message string)
go/internal/tools/notification.go:24
↓ 1 callers
Method
_default_urls
(competitor: str)
python/src/agents/monitor_agent.py:131
↓ 1 callers
Function
_demo_news
(query: str)
python/src/tools/search_tool.py:100
↓ 1 callers
Function
_demo_results
(query: str)
python/src/tools/search_tool.py:90
↓ 1 callers
Method
_gather_intelligence
(self, competitor: str)
python/src/agents/research_agent.py:87
↓ 1 callers
Method
_parse_battlecard
(llm_output: str, competitor: str)
python/src/agents/battlecard_agent.py:85
↓ 1 callers
Method
_parse_changes
( llm_output: str, competitor: str, url: str )
python/src/agents/monitor_agent.py:141
↓ 1 callers
Method
_parse_insights
(llm_output: str)
python/src/agents/research_agent.py:102
↓ 1 callers
Method
_parse_matrix
(llm_output: str, competitor: str)
python/src/agents/compare_agent.py:96
↓ 1 callers
Method
analyze
( self, competitor: str, changes: list[dict], )
python/src/agents/research_agent.py:44
↓ 1 callers
Method
broadcast
(String title, String message)
java/src/main/java/com/ci/tools/NotificationService.java:26
↓ 1 callers
Function
broadcast_alert
Send an alert to all configured channels and return delivery status.
python/src/tools/notification.py:66
↓ 1 callers
Function
build_pipeline
Construct and compile the CI pipeline graph.
python/src/graph/workflow.py:164
↓ 1 callers
Method
compare
( self, competitor: str, research_results: list[dict], )
python/src/agents/compare_agent.py:58
↓ 1 callers
Function
content_hash
Return a SHA-256 hex digest used for change detection.
python/src/tools/web_scraper.py:25
↓ 1 callers
Function
defaultURLs
(competitor string)
go/internal/agents/monitor.go:81
↓ 1 callers
Method
defaultUrls
(String competitor)
java/src/main/java/com/ci/agents/MonitorAgent.java:86
↓ 1 callers
Method
detect_changes
Fetch pages, diff against previous hashes, and ask the LLM to classify changes.
python/src/agents/monitor_agent.py:56
↓ 1 callers
Method
evaluate
(PipelineState state)
java/src/main/java/com/ci/workflow/QualityChecker.java:14
↓ 1 callers
Method
evaluateQuality
(ctx context.Context, state *models.PipelineState)
go/internal/pipeline/pipeline.go:90
↓ 1 callers
Method
evaluate_and_alert
( self, changes: list[CompetitorChange], )
python/src/agents/alert_agent.py:21
↓ 1 callers
Function
event_generator
()
python/src/api/server.py:123
↓ 1 callers
Function
extract_job_listings
Best-effort extraction of job postings from a careers page.
python/src/tools/web_scraper.py:74
↓ 1 callers
Function
extract_pricing
Heuristic extraction of pricing information from a page. Returns a list of ``{"plan": ..., "price": ..., "features": [...]}`` dicts. The impl
python/src/tools/web_scraper.py:47
↓ 1 callers
Function
extract_text
Strip tags and return visible text.
python/src/tools/web_scraper.py:39
↓ 1 callers
Method
fetchAndExtractText
(String url)
java/src/main/java/com/ci/tools/WebScraper.java:15
↓ 1 callers
Function
fetch_page
Fetch a page and return its HTML content.
python/src/tools/web_scraper.py:31
↓ 1 callers
Function
news_search
Search recent news articles about a competitor.
python/src/tools/search_tool.py:51
↓ 1 callers
Method
routes
()
go/internal/api/server.go:28
↓ 1 callers
Method
sendDingTalk
(title, message string)
go/internal/tools/notification.go:41
↓ 1 callers
Method
sendDingTalk
(String title, String message)
java/src/main/java/com/ci/tools/NotificationService.java:48
↓ 1 callers
Method
sendSlack
(title, message string)
go/internal/tools/notification.go:31
↓ 1 callers
Method
sendSlack
(String title, String message)
java/src/main/java/com/ci/tools/NotificationService.java:32
↓ 1 callers
Function
send_dingtalk
(message: str, webhook_url: Optional[str] = None)
python/src/tools/notification.py:28
↓ 1 callers
Function
send_slack
(message: str, webhook_url: Optional[str] = None)
python/src/tools/notification.py:18
↓ 1 callers
Method
toDouble
(Object obj, double fallback)
java/src/main/java/com/ci/agents/ResearchAgent.java:68
Method
AlertAgent
(NotificationService notificationService)
java/src/main/java/com/ci/agents/AlertAgent.java:17
Method
CIController
(CIPipeline pipeline)
java/src/main/java/com/ci/api/CIController.java:17
Method
CIPipeline
(MonitorAgent monitorAgent, ResearchAgent researchAgent, CompareAg
java/src/main/java/com/ci/workflow/CIPipeline.java:39
Method
Execute
(ctx context.Context, state *models.PipelineState)
go/internal/agents/compare.go:24
Method
Execute
(ctx context.Context, state *models.PipelineState)
go/internal/agents/monitor.go:27
Method
Execute
(ctx context.Context, state *models.PipelineState)
go/internal/agents/research.go:24
Method
Execute
(ctx context.Context, state *models.PipelineState)
go/internal/agents/battlecard.go:26
Function
FetchAndExtractText
(url string)
go/internal/tools/scraper.go:13
Function
Load
()
go/internal/config/config.go:44
Method
MonitorAgent
(WebScraper scraper)
java/src/main/java/com/ci/agents/MonitorAgent.java:35
Function
New
(cfg *config.Config)
go/internal/api/server.go:18
Function
New
(cfg *config.Config)
go/internal/pipeline/pipeline.go:26
Function
NewAlertAgent
(notifier *tools.Notifier)
go/internal/agents/alert.go:15
Function
NewBattlecardAgent
(llm *LLMClient)
go/internal/agents/battlecard.go:22
Function
NewCompareAgent
(llm *LLMClient)
go/internal/agents/compare.go:20
Function
NewLLMClient
(apiKey, model string, temp float32)
go/internal/agents/llm.go:18
Function
NewMonitorAgent
(llm *LLMClient)
go/internal/agents/monitor.go:23
Function
NewNotifier
(slackURL, dingtalkURL string)
go/internal/tools/notification.go:17
Function
NewResearchAgent
(llm *LLMClient)
go/internal/agents/research.go:20
Method
Run
(ctx context.Context, competitor string)
go/internal/pipeline/pipeline.go:41
Method
__call__
(self, state: dict[str, Any])
python/src/agents/alert_agent.py:60
Method
__call__
(self, state: dict[str, Any])
python/src/agents/battlecard_agent.py:70
Method
__call__
(self, state: dict[str, Any])
python/src/agents/compare_agent.py:82
Method
__call__
(self, state: dict[str, Any])
python/src/agents/research_agent.py:74
Method
__call__
LangGraph node: reads ``competitor`` from state, returns detected changes.
python/src/agents/monitor_agent.py:111
Method
__init__
(self)
python/src/agents/battlecard_agent.py:38
Method
__init__
(self)
python/src/agents/compare_agent.py:50
Method
__init__
(self)
python/src/agents/research_agent.py:36
Method
__init__
(self)
python/src/agents/monitor_agent.py:48
Function
_merge_lists
Reducer that appends new items instead of replacing.
python/src/graph/workflow.py:62
Function
_should_retry
Conditional edge: retry research if quality is below threshold.
python/src/graph/workflow.py:145
Function
analyze
Run the full pipeline synchronously and return the final state.
python/src/api/server.py:85
Method
analyze
(c *gin.Context)
go/internal/api/server.go:48
Method
analyze
(@RequestBody AnalyzeRequest request)
java/src/main/java/com/ci/api/CIController.java:29
Function
analyze_stream
Stream pipeline events via Server-Sent Events (SSE) so the frontend can show real-time progress.
python/src/api/server.py:119
Method
execute
(PipelineState state)
java/src/main/java/com/ci/agents/BattlecardAgent.java:25
Method
execute
(PipelineState state)
java/src/main/java/com/ci/agents/CompareAgent.java:26
Method
execute
(PipelineState state)
java/src/main/java/com/ci/agents/ResearchAgent.java:25
Method
execute
(PipelineState state)
java/src/main/java/com/ci/agents/MonitorAgent.java:39
Function
health
()
python/src/api/server.py:80
Method
health
(c *gin.Context)
go/internal/api/server.go:37
Method
health
()
java/src/main/java/com/ci/api/CIController.java:21
Function
job_search
Search for recent job postings of a given company.
python/src/tools/search_tool.py:81
Function
lifespan
(app: FastAPI)
python/src/api/server.py:51
Function
list_competitors
Return a list of pre-configured competitors (demo endpoint).
python/src/api/server.py:155
Function
main
()
go/cmd/server/main.go:10
Method
main
(String[] args)
java/src/main/java/com/ci/CIApplication.java:10
Function
quality_check
Score the generated battlecard and decide whether to loop back.
python/src/graph/workflow.py:98
next →
1–100 of 105, ranked by callers