You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<em>The open-source TypeScript platform for autonomous AI agents and LLM based workflows </em>
6
+
<em>The open TypeScript platform for autonomous AI agents and LLM based workflows </em><br/>
7
+
<small>The Ancient Greek word <em><b>sophía (σοφία)</b></em> variously translates to "clever, skillful, intelligent, wise"</small>
7
8
</p>
8
-
The Ancient Greek word <em><b>sophía (σοφία)</b></em> is the abstract noun of σοφός (sophós), which variously translates to "clever, skillful, intelligent, wise"
Sophia is a full-featured platform for developing and running agents, LLM based workflows and chatbots.
20
20
21
-
Sophia started from a simple goal: to harness AI's potential to enhance real-world productivity, born in DevOps and Platform Engineering space. We envisioned a tool that could:
21
+
Included are capable software engineering agents, which have assisted building the platform.
22
22
23
-
- Automate various processes and support requests, and triage build failures.
24
-
- Review code for compliance with standards and best practices.
25
-
- Assist with large refactorings, and more.
23
+
## Key features
26
24
27
-
At TrafficGuard we process billions of events a month for our global clients, [increasing their ad spend ROI](https://www.trafficguard.ai/case-studies?ref=gh) by protecting against bots and other forms of invalid traffic.
28
-
Our SaaS on GCP comprises projects developed in TypeScript, Python, GoogleSQL, PHP and Terraform, deployed from GitLab.
- Run locally or deployed on the cloud with multi-user/SSO
36
+
- OpenTelemetry based observability
37
+
- Leverages the extensive Python AI ecosystem through executing Python scripts/packages
29
38
30
-
With open source projects typically Python/GitHub focused, and the vendor AI tools being focused in their silos,
31
-
we saw a need for TypeScript based tooling which can work across our entire tech stack, and understand the overall architecture.
39
+
## Autonomous agents
32
40
33
-
Through its evolution we've designed sophia as a flexible platform for the TypeScript community to expand and support the use cases and integrations of your choice.
34
-
35
-
Our design choice of Firestore for the initial database implementation, with Cloud Run, provides a scale-to-zero solution with zero-cost using the free tier.
36
-
With the intention to support uses cases such as your own custom personal assistant, always available via mobile.
41
+
- Reasoning/planning inspired from Google's [Self-Discover](https://arxiv.org/abs/2402.03620) and other papers
42
+
- Memory and function call history for complex workflows
43
+
- Iterative planning with hierarchical task decomposition
44
+
- Sandboxed execution of generated code for multi-step function calling and logic
45
+
- LLM function schemas auto-generated from source code
46
+
- Human-in-the-loop for budget control, agent initiated questions and error handling
37
47
38
-
## Features
48
+
More details at the [Autonomous agent docs](https://sophia.dev/autonomous-agents)
39
49
40
-
Key features include:
50
+
## Software developer agents
41
51
42
-
- Advanced autonomous agents
43
-
- Reasoning/planning inspired from Google's [Self-Discover](https://arxiv.org/abs/2402.03620) paper
44
-
- Memory and function call history for complex, multi-step workflows
45
-
- Adaptive iterative planning with hierarchical task decomposition
46
-
- Two control-loop function calling options (LLM-independent):
47
-
- Custom XML-based function calling
48
-
- Dynamic code generation with sandboxed execution for multistep function calling and logic
49
-
- Opportunistically can significantly reduce cost and latency over LLM-native/XML function calling
50
-
- LLM function schemas auto-generated from source code
51
-
- Function callable integrations:
52
-
- Filesystem, Jira, Slack, Perplexity, Gitlab, GitHub and more
Default values can also be set from environment variables.
106
121
107
122
## Code Examples
108
123
109
124
### Sophia vs LangChain
110
125
111
-
Sophia doesn't use LangChain, for [many reasons](https://www.octomind.dev/blog/why-we-no-longer-use-langchain-for-building-our-ai-agents) that [you](https://www.google.com/search?q=langchain+site%3Anews.ycombinator.com) can [read online](https://www.google.com/search?q=langchain+sucks+site%3Areddit.com)
126
+
Sophia doesn't use LangChain, for [many reasons](https://www.octomind.dev/blog/why-we-no-longer-use-langchain-for-building-our-ai-agents) that [you](https://www.google.com/search?q=langchain+site%3Anews.ycombinator.com) can [read](https://www.reddit.com/r/LangChain/comments/1gmfyi2/why_are_people_hating_langchain_so_much/)[online](https://www.google.com/search?q=langchain+sucks+site%3Areddit.com)
127
+
128
+
The scope of the Sophia platform covers functionality found in LangChain and LangSmith.
112
129
113
130
Let's compare the LangChain document example for Multiple Chains to the equivalent Sophia implementation.
We warmly welcome contributions to the project through [issues](https://github.com/TrafficGuard/nous/issues), [pull requests](https://github.com/TrafficGuard/nous/pulls) or [discussions](https://github.com/TrafficGuard/nous/discussions)
194
-
195
-
Contributed by [TrafficGuard](https://www.trafficguard.ai) - Increasing the ROI on your ad spend.
196
-
197
-
Reach out to us as nous@trafficguard.ai if you'd like support to ramp up as a contributor.
0 commit comments